Skip to content

fix(mcp): sanitize tool schemas for codex#4

Merged
nnemirovsky merged 3 commits into
mainfrom
fix/codex-schema-sanitize
May 3, 2026
Merged

fix(mcp): sanitize tool schemas for codex#4
nnemirovsky merged 3 commits into
mainfrom
fix/codex-schema-sanitize

Conversation

@nnemirovsky
Copy link
Copy Markdown
Owner

Summary

  • generate explicit MCP input schemas before tool registration
  • add missing object properties fields for Codex compatibility
  • replace loose array items schemas with explicit schema objects

Test plan

  • make fmt
  • make lint
  • go test ./...
  • make build

@nnemirovsky nnemirovsky merged commit 7ca767f into main May 3, 2026
4 checks passed
@nnemirovsky nnemirovsky deleted the fix/codex-schema-sanitize branch May 3, 2026 13:03
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