Skip to content

Conversation

@sd2k
Copy link
Collaborator

@sd2k sd2k commented Nov 14, 2025

When a tool's input param struct is empty, the JSON schema generated by the
tool handler was incorrect, since it excluded the 'properties' key from the
schema. This commit fixes the issue by generating the correct JSON schema.

Fixes #390.
Fixes #278.

When a tool's input param struct is empty, the JSON schema generated by the
tool handler was incorrect, since it excluded the 'properties' key from the
schema. This commit fixes the issue by generating the correct JSON schema.

Fixes #390.
Fixes #278.
@sd2k sd2k requested a review from a team as a code owner November 14, 2025 12:24
@sd2k sd2k merged commit 5b28181 into main Nov 14, 2025
10 of 13 checks passed
@sd2k sd2k deleted the fix-empty-tool-param-jsonschemas branch November 14, 2025 13:26
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.

Invalid schema for function 'list_users_by_org': OpenAI function calling compatibility issue Unauthorized when using service account token

2 participants