[client] Add call_tool_raw method to get the full tool response to help get structuredContent

This commit is contained in:
Justin Harris 2025-10-01 14:48:39 -04:00
commit ae60e2d904
No known key found for this signature in database
GPG key ID: 53B754229FA77746

View file

@ -53,8 +53,9 @@ module MCP
client = Client.new(transport: transport)
result = client.call_tool(tool: tool, arguments: arguments)
content = result.dig("result", "content")
assert_equal("result", result)
assert_equal("result", content)
end
end
end