feat: minimal deferred MCP tools in ToolExecutionOperation (#13378)
Co-authored-by: Douwe Osinga <douwe@squareup.com> Co-authored-by: Jack Amadeo <jackamadeo@squareup.com>
This commit is contained in:
@@ -51,6 +51,8 @@ The following settings can be configured at the root level of your config.yaml f
|
||||
| `GOOSE_CACHE_TTL` | Anthropic prompt-cache TTL; `1h` keeps the cached prefix alive across idle gaps at a higher cache-write rate. Headless runs always use `5m` | "5m", "1h" | "5m" | No |
|
||||
| `GOOSE_MODE` | [Tool execution behavior](/docs/guides/managing-tools/goose-permissions) | "auto", "approve", "chat", "smart_approve" | "auto" | No |
|
||||
| `GOOSE_MAX_TURNS` | [Maximum number of turns](/docs/guides/sessions/smart-context-management#maximum-turns) allowed without user input | Integer (e.g., 10, 50, 100) | 1000 | No |
|
||||
| `GOOSE_TOOL_DEFERRAL` | Publish MCP tool names up front; enable schemas on demand with `enable_tools` | "lookup" | Disabled when unset | No |
|
||||
| `GOOSE_TOOL_DEFERRAL_ALWAYS_LOAD` | Comma-separated exact model-visible tool names to keep eager when deferral is enabled | String (e.g., "serverA__toolA,serverB__toolC") | Empty | No |
|
||||
| `GOOSE_TOOLSHIM` | Enable tool interpretation | true/false | false | No |
|
||||
| `GOOSE_TOOLSHIM_OLLAMA_MODEL` | Model for tool interpretation | Model name (e.g., "llama3.2") | System default | No |
|
||||
| `GOOSE_INPUT_LIMIT` | Override input token limit for Ollama (maps to `num_ctx`) | Positive integer | Model default | No |
|
||||
@@ -74,6 +76,8 @@ The following settings can be configured at the root level of your config.yaml f
|
||||
|
||||
Additional [environment variables](/docs/guides/environment-variables) may also be supported in config.yaml.
|
||||
|
||||
With `GOOSE_TOOL_DEFERRAL: lookup`, the model calls `enable_tools` to load MCP tool schemas on demand; platform tools remain available immediately. `GOOSE_TOOL_DEFERRAL_ALWAYS_LOAD` keeps selected tools eager using their exact model-visible names, including extension prefixes. Whitespace around comma-separated entries is ignored. This list has no effect unless deferral is enabled and does not override availability, visibility, or permissions.
|
||||
|
||||
## Example Configuration
|
||||
|
||||
Here's a basic example of a config.yaml file:
|
||||
|
||||
Reference in New Issue
Block a user