Skip to content

getAllMcpTools

function getAllMcpTools<TContext>(mcpServers, convertSchemasToStrict?): Promise<Tool<TContext>[]>

Returns all MCP tools from the provided servers, using the function tool conversion.

Type Parameter Default type

TContext

unknown

Parameter Type

mcpServers

MCPServer[]

convertSchemasToStrict?

boolean

Promise<Tool<TContext>[]>