getAllMcpTools
function getAllMcpTools<TContext>( mcpServersOrOpts, runContext?, agent?,convertSchemasToStrict?): 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 | Default value |
|---|---|---|
|
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
Returns
Section titled “Returns”Promise<Tool<TContext>[]>