McpClient.cacheToolSchema

Record a tool's inputSchema (keyed by tool name) so the draft client can mirror its x-mcp-header-annotated arguments into Mcp-Param-* headers on a later tools/call. Normally populated automatically by listTools; exposed so callers that obtain a Tool descriptor by other means (e.g. a cached tools/list result, or a notifications/tools/list_changed refresh) can register it too. A non-object schema is ignored.

class McpClient
@safe
void
cacheToolSchema
(
string name
,)