Skip to content

Fix JSON-RPC tool call response example in README - #68

Merged
mattt merged 2 commits into
mainfrom
mattt/fix-readme-jsonrpc-example
Jul 4, 2026
Merged

Fix JSON-RPC tool call response example in README#68
mattt merged 2 commits into
mainfrom
mattt/fix-readme-jsonrpc-example

Conversation

@mattt

@mattt mattt commented Jul 4, 2026

Copy link
Copy Markdown
Owner

Cherry-picked from #66.

Nest content under result so the sample matches the MCP wire format.

Nest content under result so the sample matches the MCP wire format. Cherry-picked from #66.

Co-authored-by: kriptoburak <kriptoburak@users.noreply.github.com>
@mattt
mattt requested a review from Copilot July 4, 2026 11:31
Repository owner deleted a comment from cursor Bot Jul 4, 2026

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the README鈥檚 JSON-RPC tools/call response example to align with MCP鈥檚 JSON-RPC wire format by nesting content under the top-level result field.

Changes:

  • Nest content under result in the documented JSON-RPC response example.
  • Adjust the example鈥檚 indentation/structure to remain valid JSONC.

馃挕 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread README.md Outdated
Replace the JSONC comment placeholder with a string value and drop the annotations field, which emcee does not populate in successful tools/call results.
@mattt
mattt merged commit ecfde54 into main Jul 4, 2026
1 check passed
@mattt
mattt deleted the mattt/fix-readme-jsonrpc-example branch July 4, 2026 11:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants