(sourceId: string, toolId: string)
| 221 | const fullToolKey = (sourceId: string, toolName: string): string => `${sourceId}.${toolName}`; |
| 222 | |
| 223 | const stripToolPrefix = (sourceId: string, toolId: string): string => |
| 224 | toolId.startsWith(`${sourceId}.`) ? toolId.slice(sourceId.length + 1) : toolId; |
| 225 | |
| 226 | const legacyMcpToolBinding = (data: unknown): LegacyMcpToolBinding | null => { |
| 227 | if (!isRecord(data) || !isRecord(data.binding)) return null; |
no outgoing calls
no test coverage detected