Skip to content

Conversation

bhouston
Copy link
Member

@bhouston bhouston commented Mar 3, 2025

Fixes #56. This PR converts from JsonSchema7Type to ZodSchema for tool parameters and returns, which is required for Vercel AI SDK integration. We maintain backward compatibility by keeping the JsonSchema7Type format available through parametersJsonSchema and returnsJsonSchema properties.

@bhouston bhouston merged commit 462cff6 into main Mar 4, 2025
0 of 2 checks passed
@bhouston bhouston deleted the issue-56-convert-to-zod-schema branch March 12, 2025 02:08
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.

Convert from JsonSchema7Type for tool parameters and returns to ZodSchema

1 participant