(
tools: readonly { name: string }[],
)
| 328 | * @returns true if ToolSearchTool is in the tools list, false otherwise |
| 329 | */ |
| 330 | export function isToolSearchToolAvailable( |
| 331 | tools: readonly { name: string }[], |
| 332 | ): boolean { |
| 333 | return tools.some(tool => toolMatchesName(tool, TOOL_SEARCH_TOOL_NAME)) |
| 334 | } |
| 335 | |
| 336 | /** |
| 337 | * Calculate total deferred tool description size in characters. |
no test coverage detected