desk_update_lead
Updates a SautiDesk lead: stage (Won or Lost closes it and cancels its follow-ups; Lost needs a lost reason), value, currency, temperature, source, owner or queue. A closed lead cannot be changed.
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": {
"lead_id": "<lead_id>"
},
"name": "desk_update_lead"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lead_id | Yes | lead UUID | |
| 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. | |
| currency | No | ISO 4217 currency | |
| owner_id | No | owner user UUID, or empty string to give it back to the queue (Supervisor licence) | |
| queue_id | No | queue UUID, or empty string for no queue (Supervisor licence) | |
| stage_id | No | move to this stage (Won or Lost closes the lead) | |
| lost_note | No | required when the lost reason is Other | |
| source_id | No | lead source UUID | |
| temperature | No | hot, warm or cold | |
| value_minor | No | deal value in minor units | |
| lost_reason_id | No | required when moving to Lost |