Skip to content

fix: handle JSON Schema in additionalProperties for MCP tools - #4454

Merged
gpeal merged 1 commit into
openai:mainfrom
neoeinstein:mcp-additional-properties
Oct 2, 2025
Merged

gpeal merged 1 commit into
openai:mainfrom
neoeinstein:mcp-additional-properties

Conversation

@neoeinstein

@neoeinstein neoeinstein commented Sep 29, 2025 •

Copy link
Copy Markdown
Contributor

Fixes #4176

Some common tools provide a schema (even if just an empty object schema) as the value for additionalProperties. The parsing as it currently stands fails when it encounters this. This PR updates the schema to accept a schema object in addition to a boolean value, per the JSON Schema spec.

@neoeinstein

Copy link
Copy Markdown
Contributor Author

I have read the CLA Document and I hereby sign the CLA

@github-actions

github-actions Bot commented Sep 29, 2025 •

Copy link
Copy Markdown
Contributor

All contributors have signed the CLA ✍️ ✅
Posted by the CLA Assistant Lite bot.

@gpeal gpeal left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks!

@gpeal
gpeal merged commit b727d3f into openai:main Oct 2, 2025
@github-actions github-actions Bot locked and limited conversation to collaborators Oct 2, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

MCP tools silently excluded due to errors

2 participants