McpClient.callTool

tools/call for a tool whose descriptor (and therefore outputSchema) is known — typically one returned by listTools. When the client has output- schema validation enabled (see enableOutputSchemaValidation) and tool carries an outputSchema, the returned structuredContent is validated against it: per the spec, "Clients SHOULD validate structured results against this schema." A non-conforming result raises a clear McpException rather than being accepted silently.