Skip to content

Conversation

@alok87
Copy link
Member

@alok87 alok87 commented Aug 10, 2025

Fix invalid array parameter schema: ensure arrays include an items schema and propagate items to MCP. This resolves OpenAI/Azure 400 invalid_function_parameters for tools using expand arrays (e.g., fetch_all_orders). Closes #43.

…ix invalid function schema for expand arrays (issue #43)
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.

[BUG] API status error from OpenAI API: Error code: 400 - Invalid schema for function 'fetch_all_orders'

5 participants