콘텐츠로 이동

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>[]>