Skip to content

GetAllMcpToolsOptions

type GetAllMcpToolsOptions<TContext> = object;

Options for fetching MCP tools.

Type Parameter

TContext

agent?: Agent<TContext, any>;

convertSchemasToStrict?: boolean;

errorFunction?:
| MCPToolErrorFunction
| null;

generateMCPToolCacheKey?: MCPToolCacheKeyGenerator;

includeServerInToolNames?: boolean;

mcpServers: MCPServer[];

reservedToolNames?: Set<string>;

runContext?: RunContext<TContext>;

tracingParent?: Span<any>;