Skip to content

Preserve MCP tool metadata in tools/list - #1

Merged
SpectralDragon merged 1 commit into
mainfrom
codex/tool-metadata-compatibility
Oct 23, 2026
Merged

SpectralDragon merged 1 commit into
mainfrom
codex/tool-metadata-compatibility

Conversation

@SpectralDragon

Copy link
Copy Markdown
Contributor

Studio declares build, test and run verification metadata, but AdaMCP's Tool initializer and wire model did not accept it, preventing Studio from compiling. Add an optional _meta property and a Metadata JSON object that preserves arbitrary fields without wrapping them in additionalFields.

Validated with four Swift Testing tests against the production MCP sources: JSON wire format, legacy tools, invalid metadata and a real client/server tools/list round trip. Existing Tool initializers remain source compatible.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 23, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-23T12:09:08.762025Z ed7bb90 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@SpectralDragon
SpectralDragon merged commit 8cddd1b into main Oct 23, 2026
0 of 2 checks passed
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.

1 participant