isMcpTool function

bool isMcpTool(
  1. String toolName
)

Check if a tool name corresponds to an MCP tool.

Implementation

bool isMcpTool(String toolName) => toolName.startsWith('mcp__');