pub fn to_canonical_json(schema: &McpSchema) -> Result<String, Error>
Serialize MCP schema to canonical JSON.
Uses sorted keys and consistent formatting for byte-identical output.