コンテンツにスキップ

getAllMcpTools

このコンテンツはまだ日本語訳がありません。

function getAllMcpTools<TContext>(
mcpServers,
runContext,
agent,
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[]

runContext

RunContext<TContext>

agent

Agent<TContext, any>

convertSchemasToStrict?

boolean

Promise<Tool<TContext>[]>