listMcpTools
function listMcpTools(options): Promise<McpToolRecord[]>;Defined in: agents/src/mcp.ts:478
Lists a server’s tools once, so a developer can save them in the app and pass them to
mcpTools as recorded. Run it when you add a server or want to take its changes.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
options |
McpServerOptions & object |
Returns
Section titled “Returns”Promise<McpToolRecord[]>