Skip to content

Make tool metadata stateless#67

Merged
Gabriel-Darbord merged 2 commits into
mainfrom
codex/stateless-tool-metadata
Jun 24, 2026
Merged

Make tool metadata stateless#67
Gabriel-Darbord merged 2 commits into
mainfrom
codex/stateless-tool-metadata

Conversation

@Gabriel-Darbord

Copy link
Copy Markdown
Member

Summary

  • move tool metadata to immutable class-side contracts
  • keep schema construction memoized on tool instances via buildInputSchema/buildOutputSchema
  • avoid instantiating tools for icon lookup

Verification

  • P13: full concrete MCP-Tests suite, 39 test classes passed; existing repository fallback-signature skip remains
  • git diff --check

Gabriel-Darbord and others added 2 commits June 24, 2026 16:08
Co-authored-by: Codex <codex@openai.com>
Co-authored-by: Codex <codex@openai.com>
@Gabriel-Darbord Gabriel-Darbord merged commit d3fdc6d into main Jun 24, 2026
3 checks passed
@Gabriel-Darbord Gabriel-Darbord deleted the codex/stateless-tool-metadata branch June 24, 2026 15:01
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