mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-22 03:02:20 +00:00
fix: repeat MCP tool data as JSON text for clients without structured content
This commit is contained in:
1 parent
df0e0f32e8
commit
2e071b62d3
4 files changed
+10
-3
No files matched your search
@@ -125,7 +125,10 @@ test('tool results carry text and structured content; failures stay generic', as
|
||||
(await request('tools/call', { name: 'count', arguments: { n: 3 } }))
|
||||
.result,
|
||||
{
|
||||
content: [{ type: 'text', text: '3 things.' }],
|
||||
content: [
|
||||
{ type: 'text', text: '3 things.' },
|
||||
{ type: 'text', text: '{"n":3}' },
|
||||
],
|
||||
structuredContent: { n: 3 },
|
||||
isError: false,
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user