Move a deal to a stage
move_dealMove a deal to another stage of its pipeline. A won or lost stage closes it (give lost_reason for lost); moving a closed deal to an open stage reopens it. Entering the stage creates its task and starts any journey switched ON for it, which can message the contact. Pass the version you read; a conflict means read it again.
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": {
"site_id": "<site_id>",
"deal_id": "<deal_id>",
"expected_version": "<expected_version>",
"stage_key": "<stage_key>"
},
"name": "move_deal"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| deal_id | Yes | Deal id, from list_deals | |
| site_id | Yes | The site, from list_sites | |
| stage_key | Yes | The stage to move it to | |
| user_goal | No | Optional: the user's goal behind this call, in one short sentence of plain words (e.g. "add a page so customers can book tables"). No names, emails or other personal details. | |
| lost_reason | No | When moving to a lost stage: why | |
| expected_version | Yes | The deal's version from list_deals / get_deal |