mirror of
https://github.com/PrefectHQ/fastmcp.git
synced 2026-08-09 07:09:11 +02:00
Use the snake_case field name in the task return-type test (#4657)
This commit is contained in:
parent
a42faab783
commit
6c4ba6b420
1 changed files with 1 additions and 1 deletions
|
|
@ -50,7 +50,7 @@ def _sync_result_to_wire(result: ToolResult) -> dict[str, Any]:
|
|||
content, structured_content = mcp_result
|
||||
call_tool_result = mcp_types.CallToolResult(
|
||||
content=content,
|
||||
structuredContent=structured_content,
|
||||
structured_content=structured_content,
|
||||
)
|
||||
else:
|
||||
call_tool_result = mcp_types.CallToolResult(content=mcp_result)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue