Rafael
01/28/2026, 1:51 PMChiranjeet Mishra
01/28/2026, 1:59 PMtype is set to object or array as appropriate. For example, in your last failed request, the schema.type was set to "string", but it should be "object" if you intend to define properties.
For reference, please review the following documentation for the correct formats:
• [https://docs.vapi.ai/assistants/structured-outputs-quickstart](https://docs.vapi.ai/assistants/structured-outputs-quickstart)
• [https://docs.vapi.ai/assistants/structured-outputs-examples](https://docs.vapi.ai/assistants/structured-outputs-examples)Rafael
01/28/2026, 2:07 PMChiranjeet Mishra
01/28/2026, 2:10 PMRafael
01/28/2026, 2:21 PMChiranjeet Mishra
01/28/2026, 2:27 PM{
"name": "call_summary",
"description": "Summarizes the call in 2–3 sentences.",
"schema": {
"type": "object",
"properties": {
"summary": {
"type": "string",
"description": "Concise summary of the call"
}
},
"required": [
"summary"
]
}
}Rafael
01/28/2026, 2:37 PMGyanendra
01/28/2026, 3:16 PMChiranjeet Mishra
01/28/2026, 6:37 PM{
"name": "test schema 2",
"schema": {
"type": "object",
"required": [
"test"
],
"properties": {
"test": {
"type": "string",
"description": "test"
}
}
},
"type": "ai"
}Rafael
01/28/2026, 7:48 PM