* Checks if a tool is a search/read operation (for backwards compatibility).
( toolName: string, toolInput: unknown, tools: Tools, )
| 296 | * Checks if a tool is a search/read operation (for backwards compatibility). |
| 297 | */ |
| 298 | function isToolSearchOrRead( |
| 299 | toolName: string, |
| 300 | toolInput: unknown, |
| 301 | tools: Tools, |
| 302 | ): boolean { |
| 303 | return getToolSearchOrReadInfo(toolName, toolInput, tools).isCollapsible |
| 304 | } |
| 305 | |
| 306 | /** |
| 307 | * Get the tool name, input, and search/read info from a message if it's a collapsible tool use. |
no test coverage detected