From 106d363fb19b18871eeb8ea55b6de98ca9a3d77e Mon Sep 17 00:00:00 2001 From: Mattt Zmuda Date: Sat, 4 Jul 2026 04:29:35 -0700 Subject: [PATCH 1/2] Fix JSON-RPC tool call response example in README Nest content under result so the sample matches the MCP wire format. Cherry-picked from #66. Co-authored-by: kriptoburak --- README.md | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index c095e7b..11327b8 100644 --- a/README.md +++ b/README.md @@ -330,15 +330,17 @@ by sending JSON-RPC requests. ```jsonc { "jsonrpc":"2.0", - "content": [ - { - "type": "text", - "text": /* Weather forecast in GeoJSON format */, - "annotations": { - "audience": ["assistant"] + "result": { + "content": [ + { + "type": "text", + "text": /* Weather forecast in GeoJSON format */, + "annotations": { + "audience": ["assistant"] + } } - } - ] + ] + }, "id": 1 } ``` From 01f6f47eaeeb14655889a2ccec0943e0d439bd10 Mon Sep 17 00:00:00 2001 From: Mattt Zmuda Date: Sat, 4 Jul 2026 04:40:03 -0700 Subject: [PATCH 2/2] Make README tool call response example valid JSON Replace the JSONC comment placeholder with a string value and drop the annotations field, which emcee does not populate in successful tools/call results. --- README.md | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 11327b8..ae50298 100644 --- a/README.md +++ b/README.md @@ -327,17 +327,14 @@ by sending JSON-RPC requests. Response -```jsonc +```json { - "jsonrpc":"2.0", + "jsonrpc": "2.0", "result": { "content": [ { "type": "text", - "text": /* Weather forecast in GeoJSON format */, - "annotations": { - "audience": ["assistant"] - } + "text": "/* Weather forecast in GeoJSON format */" } ] },