McpClient.listTools

tools/list, following pagination cursors to completion. Returns the drained ListToolsResult: tools aggregates every page's items, nextCursor is null, and cache carries the first page's parsed draft CacheableResult freshness hint (if any).

class McpClient
@safe
listTools
()