GetAllMcpToolsOptions
type GetAllMcpToolsOptions<TContext> = object;Options for fetching MCP tools.
Type Parameters
Section titled “Type Parameters”| Type Parameter |
|---|
|
|
Properties
Section titled “Properties”agent?
Section titled “agent?”optional agent?: Agent<TContext, any>;convertSchemasToStrict?
Section titled “convertSchemasToStrict?”optional convertSchemasToStrict?: boolean;errorFunction?
Section titled “errorFunction?”optional errorFunction?: | MCPToolErrorFunction | null;generateMCPToolCacheKey?
Section titled “generateMCPToolCacheKey?”optional generateMCPToolCacheKey?: MCPToolCacheKeyGenerator;includeServerInToolNames?
Section titled “includeServerInToolNames?”optional includeServerInToolNames?: boolean;mcpServers
Section titled “mcpServers”mcpServers: MCPServer[];reservedToolNames?
Section titled “reservedToolNames?”optional reservedToolNames?: Set<string>;runContext?
Section titled “runContext?”optional runContext?: RunContext<TContext>;