( _serverName: string, toolName: string, )
| 592 | } |
| 593 | |
| 594 | export function classifyMcpToolForCollapse( |
| 595 | _serverName: string, |
| 596 | toolName: string, |
| 597 | ): { isSearch: boolean; isRead: boolean } { |
| 598 | const normalized = normalize(toolName) |
| 599 | return { |
| 600 | isSearch: SEARCH_TOOLS.has(normalized), |
| 601 | isRead: READ_TOOLS.has(normalized), |
| 602 | } |
| 603 | } |
no test coverage detected