MCPcopy Index your code
hub / github.com/simstudioai/sim / isMcpTool

Function isMcpTool

apps/sim/executor/constants.ts:470–472  ·  view source on GitHub ↗
(toolId: string)

Source from the content-addressed store, hash-verified

468}
469
470export function isMcpTool(toolId: string): boolean {
471 return toolId.startsWith(MCP.TOOL_PREFIX)
472}
473
474export function stripCustomToolPrefix(name: string): string {
475 return name.startsWith(AGENT.CUSTOM_TOOL_PREFIX)

Callers 6

executeToolFunction · 0.90
validateToolReferenceFunction · 0.90
createMcpToolIdFunction · 0.90
createMcpToolIdFunction · 0.90
executeMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected