コンテンツにスキップ

getAllMcpTools

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

function getAllMcpTools<TContext>(mcpServers): Promise<Tool<TContext>[]>;

Returns all MCP tools from the provided servers, using the function tool conversion. If runContext and agent are provided, callable tool filters will be applied.

Type Parameter Default type

TContext

unknown

Parameter Type

mcpServers

MCPServer[]

Promise<Tool<TContext>[]>

function getAllMcpTools<TContext>(opts): Promise<Tool<TContext>[]>;

Returns all MCP tools from the provided servers, using the function tool conversion. If runContext and agent are provided, callable tool filters will be applied.

Type Parameter Default type

TContext

unknown

Parameter Type

opts

GetAllMcpToolsOptions<TContext>

Promise<Tool<TContext>[]>