McpToolFilterCallback
type McpToolFilterCallback = (tool) => boolean;Defined in: src/mcp/client.ts:79
Decides whether a tool matches a filter. Receives the tool under its agent-facing name.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
tool | McpTool |
Returns
Section titled “Returns”boolean