getAllMcpTools
このコンテンツはまだ日本語訳がありません。
Call Signature
Section titled “Call Signature”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 Parameters
Section titled “Type Parameters”Type Parameter | Default type |
---|---|
|
|
Parameters
Section titled “Parameters”Parameter | Type |
---|---|
|
Returns
Section titled “Returns”Promise
<Tool
<TContext
>[]>
Call Signature
Section titled “Call Signature”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 Parameters
Section titled “Type Parameters”Type Parameter | Default type |
---|---|
|
|
Parameters
Section titled “Parameters”Parameter | Type |
---|---|
|
|
Returns
Section titled “Returns”Promise
<Tool
<TContext
>[]>