A voice agent that books the job into the real diary
The agent is only useful if it can commit. This one checks live technician availability, holds the slot, confirms it aloud, writes the booking into the scheduling system and texts the customer. Anything outside its brief goes to the on-call mobile with a summary already written.
[
{
"name": "find_available_slot",
"description": "Next free technician slot for a suburb and job type.",
"parameters": {
"suburb": "string",
"jobType": "string",
"urgency": "standard|emergency"
}
},
{
"name": "book_job",
"description": "Commit the slot. Returns a job number to read back.",
"parameters": {
"slotId": "string", "caller": "string", "notes": "string"
}
},
{
"name": "escalate_to_oncall",
"description": "Ring the on-call mobile, pass the transcript summary.",
"parameters": { "reason": "string", "summary": "string" }
}
]