Follow Discord
Sweep 22 Oct 2026 · 04:32Z Build v2.1.308 527 read Stable v2.1.308 Latest v2.1.308 Next v2.1.308 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.9 ·

ENABLE_TOOL_SEARCH Percentage Control

Entry
JSON All of v2.1.9
EntryKind: in v2.1.9,
ChangesSection of the release
What

The ENABLE_TOOL_SEARCH environment variable now supports percentage-based control with the auto:N syntax.

Usage
ENABLE_TOOL_SEARCH=auto:50  # 50% tool search probability
ENABLE_TOOL_SEARCH=auto:0   # Equivalent to "tst" (always tool search)
ENABLE_TOOL_SEARCH=auto:100 # Equivalent to standard/mcp-cli modes
Details
  • Values are clamped between 0-100
  • Invalid values log a warning and fall back to defaults
  • Provides fine-grained control over tool search behavior
Evidence

DX0() at line 292496 (auto percentage parser, contains "Invalid ENABLE_TOOL_SEARCH value", "expected auto:N where N is a number")

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

How sure we are
One source agreesOne thing we can check says the same as this entry.
Anthropic's release notes agreeAdded auto:N syntax for configuring the MCP tool search auto-enable threshold, where N is the context window percentage (0-100)

See this entry in the whole of v2.1.9 →

Feedback