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 Default value

mcpServers

MCPServer[]

undefined

convertSchemasToStrict

boolean

false

Promise<Tool<TContext>[]>