fix: repeat MCP tool data as JSON text for clients without structured content

This commit is contained in:
Sameh Khamis committed 2026-10-02 15:21:36 -07:00
1 parent df0e0f32e8
commit 2e071b62d3
4 files changed
+10 -3

No files matched your search

+2 -1
View File
@@ -32,7 +32,8 @@ checks completely; unsupported keywords are rejected at definition time.
`run(args, { services, signal })` resolves to `{ summary, data }`: one sentence
for people and a structured object for programs. A tool may also return `images`,
each `{ mimeType, data }` with base64 data; the MCP adapter sends them as image
content.
content. MCP results carry the summary and the data as JSON text, plus the data
as `structuredContent`, for clients that read only one of them.
`composeCatalog({ tools, services, replace, interceptors })` builds a catalog: