[client] Add call_tool_raw method to get the full tool response to help get structuredContent
This commit is contained in:
parent
010ae74edc
commit
ae60e2d904
1 changed files with 7 additions and 7 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue