Dump CallToolResult structured_content with outputSchema aliases
Closed
GY
1mo ago+29+29+01234567890123456789-2-2-0123456789
Fixes #3467
A tool that returns CallToolResult skipped the alias dump used for a plain return value. structuredContent then used Python field names while outputSchema advertised aliases.
convert_result now validates that path with by_alias=True, by_name=True, dumps by_alias=True, and model_copys the result.
Test: tests/server/mcpserver/test_func_metadata.py::test_call_tool_result_structured_content_uses_aliases.