desk_wrap_call
Files a wrap-up for a finished call: notes, an outcome (which may open a follow-up task), a category. An outcome that escalates also takes escalate_user_id or escalate_queue_id: the ticket stays open and goes to that teammate or queue. Answers the ticket as it now stands.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"call_id": "<call_id>"
},
"name": "desk_wrap_call"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | No | wrap-up note | |
| due_at | No | ISO-8601 follow-up due time, when the outcome creates a task | |
| call_id | Yes | the call leg's UUID | |
| outcome | No | one of the workspace's call outcomes (desk_list_outcomes kind=call) | |
| purpose | No | Required on tools that read data or reports; recommended on every tool. One sentence: what you are doing and why (for example "finding this caller's open ticket to answer them"). Building a report, dashboard, analytics or an export is a SautiDesk Pro feature done by the report tools, not by pulling records. | |
| category | No | ticket category name | |
| close_tasks | No | true to close the ticket's other open tasks when the outcome closes it (callback tasks close with the ticket on their own) | |
| escalate_user_id | No | when the outcome escalates: UUID of the teammate to hand the ticket to (desk_list_agents). Give this or escalate_queue_id | |
| escalate_queue_id | No | when the outcome escalates: UUID of the queue to put the ticket in, unassigned (desk_list_queues). Give this or escalate_user_id |