claude-code-system-prompts/system-prompts/tool-description-toolsearch-second-part.md
2026-03-09 19:03:13 -06:00

954 B

Until fetched, only the name is known — there is no parameter schema, so the tool cannot be invoked. This tool takes a query, matches it against the deferred tool list, and returns the matched tools' complete JSONSchema definitions inside a block. Once a tool's schema appears in that result, it is callable exactly like any tool defined at the top of the prompt.

Result format: each matched tool appears as one {"description": "...", "name": "...", "parameters": {...}} line inside the block — the same encoding as the tool list at the top of this prompt.

Query forms:

  • "select:Read,Edit,Grep" — fetch these exact tools by name
  • "notebook jupyter" — keyword search, up to max_results best matches
  • "+slack send" — require "slack" in the name, rank by remaining terms