Description
AI SDK currently supports json based tools well, but does not provide a first class way to define OpenAI custom/freeform
tools (type: "custom").
Please add support for passing OpenAI custom tools through AI SDK, including:
- type: "custom"
- name, description
- optional format:
- { type: "grammar", syntax: "lark" | "regex", definition: string }
This is needed for tools like freeform patching/editing where JSON schemas are too restrictive.
AI SDK Version
No response
Code of Conduct
Description
AI SDK currently supports json based tools well, but does not provide a first class way to define OpenAI custom/freeform
tools (type: "custom").
Please add support for passing OpenAI custom tools through AI SDK, including:
This is needed for tools like freeform patching/editing where JSON schemas are too restrictive.
AI SDK Version
No response
Code of Conduct