fix(core): restore the v1 content default for tools/call results on the legacy era (#2456)

This commit is contained in:
Felix Weinberger 2026-07-09 14:02:08 +01:00 • committed by GitHub
commit 44797d7779
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1828,8 +1828,6 @@ describe('outputSchema validation', () => {
server.setRequestHandler('tools/call', async request => {
if (request.params.name === 'test-tool') {
return {
// content is spec-required (the wire default([]) was removed
// - ledgered; changeset codec-split-wire-break)
content: [],
structuredContent: { result: 'success', count: 42 }
};