Files
LangBot/tests/unit_tests/api
b33237107f fix(plugin): serialize call_tool results to JSON (#2999) (#3008)
MCP tools return list[ContentElement] Pydantic models. The CALL_TOOL
handler passed them through unserialized for both Runner (`result`) and
plugin (`tool_response`) calls, so the Execution API's strict JsonValue
output check failed with "Output does not match call_tool". Serialize
with _serialize_plugin_api_result, as the platform-tool branch already did.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: multica-agent <github@multica.ai>
2026-11-12 16:59:26 +08:00
..