Search the documentation
8 pages for enable_tool_search.
Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.
Scale to many tools with tool search
Claude Code CLI · in the page
agent-sdk/tool-search
…ion and loads tool definitions upfront for that deployment instead. [`ENABLE_TOOL_SEARCH`](#configure-tool-search) can't override this, since the rejection comes from the deployment itself. </Note> #…
Explore the context window
Claude Code CLI · in the page
context-window
…specific ones on demand via tool search when a task needs them. Set `ENABLE_TOOL_SEARCH=auto` to load schemas upfront when they fit within 10% of the context window, or `ENABLE_TOOL_SEARCH=false` to…
Environment variables
Claude Code CLI · in the page
env-vars
…/docs/en/mcp#scale-with-mcp-tool-search) is disabled by default. Set `ENABLE_TOOL_SEARCH=true` if your proxy forwards `tool_reference` blocks. As of v2.1.196, [Remote Control](/docs/en/remote-control#…
Claude Code on Google Cloud's Agent Platform
Claude Code CLI · in the page
google-vertex-ai
…ent Platform serving stacks reject the required beta header. Setting `ENABLE_TOOL_SEARCH=true` doesn't override this. Set `ENABLE_TOOL_SEARCH=false` to disable tool search on every model. Before v2.1…
Connect Claude Code to tools via MCP
Claude Code CLI · in the page
mcp
…gurations without tool search include a custom `ANTHROPIC_BASE_URL`, `ENABLE_TOOL_SEARCH=false`, and a model earlier than the Claude 4.5 generation on Google Cloud's Agent Platform. * **On a Microsoft…
Customize sessions in self-hosted environments
Claude Code CLI · in the page
self-hosted-environments-configuration
…settings schema. Sessions inherit the runner's environment, so set [`ENABLE_TOOL_SEARCH`](/docs/en/mcp#scale-with-mcp-tool-search) there to control MCP tool search for every session a runner spawns;…
Configuration reference
Claude Documentation · in the page
third-party/claude-desktop/configuration
…level Claude Code managed settings that set that kill switch or turn `ENABLE_TOOL_SEARCH` off, those win; set `ENABLE_TOOL_SEARCH` to `force` there instead (with `parentSettingsBehavior: "merge"` so t…
Deploy Claude Desktop on 3P with an LLM gateway
Claude Documentation · in the page
third-party/claude-desktop/gateway
…ields those features add. This suppression takes precedence over the `ENABLE_TOOL_SEARCH` environment variable, so setting that variable has no effect on Claude Desktop sessions. The variable applies…