* Checks if a tool is a search/read operation (for backwards compatibility).
( toolName: string, toolInput: unknown, tools: Tools, )
| 276 | * Checks if a tool is a search/read operation (for backwards compatibility). |
| 277 | */ |
| 278 | function isToolSearchOrRead( |
| 279 | toolName: string, |
| 280 | toolInput: unknown, |
| 281 | tools: Tools, |
| 282 | ): boolean { |
| 283 | return getToolSearchOrReadInfo(toolName, toolInput, tools).isCollapsible |
| 284 | } |
| 285 | |
| 286 | /** |
| 287 | * Get the tool name, input, and search/read info from a message if it's a collapsible tool use. |
no test coverage detected