Skip to content

Conversation

rm-openai
Copy link
Collaborator

@rm-openai rm-openai commented Apr 7, 2025

Resolves #449 - TLDR, OpenAI's API expects the properties field to be present, whereas the MCP schema explicitly allows omitting the properties field. MCP Spec

@rm-openai rm-openai merged commit 50bbfdd into main Apr 7, 2025
10 checks passed
@rm-openai rm-openai deleted the rm/pr454 branch April 7, 2025 22:38
Lightblues pushed a commit to Lightblues/openai-agents-python that referenced this pull request Apr 13, 2025
Resolves openai#449 - TLDR, [OpenAI's
API](https://platform.openai.com/docs/api-reference/responses/create)
expects the properties field to be present, whereas the MCP schema
explicitly allows omitting the properties field. [MCP
Spec](https://github.com/modelcontextprotocol/specification/blob/main/schema/2025-03-26/schema.json)
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.

OpenAI Agents SDK calls OpenAI API with invalid schema when MCP tool definitions have no properties field
2 participants