-
https://sdk.vercel.ai/docs/ai-core/tools says:
But how do I pass tools to generateObject? There doesn't seem to be an option for it |
Beta Was this translation helpful? Give feedback.
Replies: 9 comments 9 replies
-
|
Beta Was this translation helpful? Give feedback.
-
I hope this behavior can be improved in the future, especially for providers like OpenAI. These providers offer built-in tool support along with object generation which could be useful when switching to vercel's sdk. |
Beta Was this translation helpful? Give feedback.
-
We have added a |
Beta Was this translation helpful? Give feedback.
-
Could somebody please explain the difference between
|
Beta Was this translation helpful? Give feedback.
-
will |
Beta Was this translation helpful? Give feedback.
-
whenever i add |
Beta Was this translation helpful? Give feedback.
-
Having support for tools in We're building an agentic application that makes many tools available to users. We also have follow up prompts that are being generated based on previous messages, which tools were used and also what tools are available. While we've previously used |
Beta Was this translation helpful? Give feedback.
-
Would love to be able to use tools with generateObject too. |
Beta Was this translation helpful? Give feedback.
-
me too generateObject and tool calling getting a bit stuck here. what is the recommended aproach for both generate object and tool calling? experimental_output doesnt seem to work for me. |
Beta Was this translation helpful? Give feedback.
We have added a
experimental_output
feature togenerateText
that allows you to create structured information while calling (openai) tools.https://sdk.vercel.ai/docs/ai-sdk-core/generating-structured-data#structured-output-with-generatetext