Add Tinker MCP tool (opt-in via config)#807
Conversation
|
Thanks. Going to switch to this branch.
|
|
which model are you using ? @TonsiTT |
|
@pushpak1300 where does that configuration go in boost.php?
Is it nested under another key? |
|
nope @rforced |
|
@pushpak1300 can you comment on why the setting isn't nested under the MCP settings? Right now we have this. Having this setting at top level is starting to make boost's configuration feel very inconsistent |
|
both can work. this is experimental feature. so i haven't documented anything. |
|
I understand, thank you |
Currently the
tinkerMCP tool is gone (removed in #629), so agents have to usephp artisan tinker --execute '...'via shell. That round-trips through shell escaping and bites pretty consistently. As #667 points out, agents tend to fail 2-3 times on quoting before they get a snippet right.This PR brings the tool back, but opt-in so it stays off by default. Flip it on with:
```php
// config/boost.php
'tinker_tool_enabled' => true,
```
core.blade.phpswaps the guidance to prefer the MCP tool when the flag is on, and keeps the existing--executeinstructions otherwise.Closes #667.