claude-code-system-prompts/system-prompts/tool-description-toolsearch-second-part.md
2026-06-15 18:28:45 -06:00

14 lines
852 B
Markdown

<!--
name: 'Tool Description: ToolSearch (second part)'
description: The bulk of the tool description.
ccVersion: 2.1.178
-->
This tool takes a query, matches it against the deferred tool list, and returns the matched tools' complete JSONSchema definitions inside a <functions> 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 <function>{"description": "...", "name": "...", "parameters": {...}}</function> line inside the <functions> 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