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