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