(name: string)
| 472 | } |
| 473 | |
| 474 | export function stripCustomToolPrefix(name: string): string { |
| 475 | return name.startsWith(AGENT.CUSTOM_TOOL_PREFIX) |
| 476 | ? name.slice(AGENT.CUSTOM_TOOL_PREFIX.length) |
| 477 | : name |
| 478 | } |
| 479 | |
| 480 | export function stripMcpToolPrefix(name: string): string { |
| 481 | return name.startsWith(MCP.TOOL_PREFIX) ? name.slice(MCP.TOOL_PREFIX.length) : name |
no outgoing calls
no test coverage detected