(tool: Tool)
| 243 | * @returns True if the tool is from an MCP server |
| 244 | */ |
| 245 | export function isMcpTool(tool: Tool): boolean { |
| 246 | return tool.name?.startsWith('mcp__') || tool.isMcp === true |
| 247 | } |
| 248 | |
| 249 | /** |
| 250 | * Checks if a command belongs to any MCP server |
no outgoing calls
no test coverage detected