Skip to content

Fix empty MCP tool schemas for Codex#3

Merged
nnemirovsky merged 1 commit intomainfrom
fix/codex-empty-tool-schemas
May 3, 2026
Merged

Fix empty MCP tool schemas for Codex#3
nnemirovsky merged 1 commit intomainfrom
fix/codex-empty-tool-schemas

Conversation

@nnemirovsky
Copy link
Copy Markdown
Owner

Summary

  • wrap MCP tool registration to emit explicit properties: {} for no-argument tools
  • add an in-memory MCP tools/list test that fails if object input schemas omit properties
  • fixes Codex/OpenAI function schema rejection for tools such as animation_disable

Test plan

  • go test ./...
  • verified installed plugin binary returns {"type":"object","properties":{}} for no-arg tools

@nnemirovsky nnemirovsky force-pushed the fix/codex-empty-tool-schemas branch from 9c7289e to f4c248c Compare May 3, 2026 08:02
@nnemirovsky nnemirovsky merged commit 99b89a9 into main May 3, 2026
5 of 6 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