Support a simple JSON Schema Object
dosco opened this issue · comments
Spacy commented
Feature Description
when creating a tool entry please support just a simple object that implements a json schema in addition to zod or whatever.
Use Case
Zod has limitations it is not easy to work with when dynamic schema's need to be generated such as with agents etc.
Additional context
No response
Lars Grammel commented
It is support by using the jsonSchema
function: https://sdk.vercel.ai/docs/reference/ai-sdk-core/json-schema