Structured output schema
{
"outcome": "Plumbers Emergency Call Triage AI phone script outcome",
"fields": [
{
"description": "ai disclosure acknowledged captured during the call.",
"name": "ai_disclosure_acknowledged",
"required": true,
"type": "text"
},
{
"description": "caller name captured during the call.",
"name": "caller_name",
"required": true,
"type": "text"
},
{
"description": "job address captured during the call.",
"name": "job_address",
"required": true,
"type": "text"
},
{
"description": "issue type captured during the call.",
"name": "issue_type",
"required": true,
"type": "text"
},
{
"description": "active leak captured during the call.",
"name": "active_leak",
"required": true,
"type": "text"
},
{
"description": "shutoff status captured during the call.",
"name": "shutoff_status",
"required": false,
"type": "text"
},
{
"description": "urgency captured during the call.",
"name": "urgency",
"required": false,
"type": "text"
},
{
"description": "access notes captured during the call.",
"name": "access_notes",
"required": false,
"type": "text"
},
{
"description": "phone number from caller id captured during the call.",
"name": "phone_number_from_caller_id",
"required": false,
"type": "text"
},
{
"description": "location captured during the call.",
"name": "location",
"required": false,
"type": "text"
},
{
"description": "risk type captured during the call.",
"name": "risk_type",
"required": false,
"type": "text"
},
{
"description": "danger present captured during the call.",
"name": "danger_present",
"required": false,
"type": "text"
}
]
}