AI SDK with Bedrock
Answered
American posted this in #help-forum
AmericanOP
I'm having this error when using generateObject:
Error [AI_APICallError]: The value at toolConfig.tools.0.toolSpec.inputSchema.json.type must be one of the following: object.
Do you know what does that means?
Error [AI_APICallError]: The value at toolConfig.tools.0.toolSpec.inputSchema.json.type must be one of the following: object.
Do you know what does that means?
1 Reply
AmericanOP
It was because zod 4.....
Answer