| 25 | * A registered tool with its rich description for system prompt injection. |
| 26 | */ |
| 27 | export interface RegisteredTool { |
| 28 | /** Tool name (must match the tool's name property) */ |
| 29 | name: string; |
| 30 | /** The actual tool instance */ |
| 31 | tool: StructuredToolInterface; |
| 32 | /** Rich description for system prompt (includes when to use, when not to use, etc.) */ |
| 33 | description: string; |
| 34 | /** 1-2 sentence description for token-optimized system prompts. */ |
| 35 | compactDescription: string; |
| 36 | /** Whether this tool can safely execute concurrently with other concurrent-safe tools. */ |
| 37 | concurrencySafe: boolean; |
| 38 | } |
| 39 | |
| 40 | /** |
| 41 | * Get all registered tools with their descriptions. |
nothing calls this directly
no outgoing calls
no test coverage detected