(toolName: string)
| 72 | * @returns true if the tool name starts with "mcp--" or "mcp__", false otherwise |
| 73 | */ |
| 74 | export function isMcpTool(toolName: string): boolean { |
| 75 | const normalized = normalizeForComparison(toolName) |
| 76 | return normalized.startsWith(`${MCP_TOOL_PREFIX}__`) |
| 77 | } |
| 78 | |
| 79 | /** |
| 80 | * Sanitize a name to be safe for use in API function names. |
no test coverage detected