Move a deal, or mark it won or lost
crm_move_opportunityMove a deal to another stage (or another pipeline), and/or set its status: won, lost (with lost_reason), abandoned, or open again. The move is recorded in the deal's history.
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": {
"opportunity_id": "<opportunity_id>"
},
"name": "crm_move_opportunity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| stage | No | Stage name or id. New deals default to the first stage. | |
| status | No | ||
| pipeline | No | Only to move it to a different pipeline. | |
| lost_reason | No | Why it was lost, when status is lost. | |
| opportunity_id | Yes |