Create, update or move a deal
manage_dealPipeline deals. action=create (pipeline_id, stage_id, title; optional contact_id, value, owner_id, expected_close_date YYYY-MM-DD, notes), update (deal_id + fields), move (deal_id + stage_id; lost_reason when moving to a lost stage). Pipeline and stage ids come from whoami.
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": {
"action": "<action>"
},
"name": "manage_deal"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | No | Free notes about the deal. | |
| title | No | Deal title. | |
| value | No | Deal value in the account's currency. | |
| action | Yes | create = new deal; update = change its fields; move = move it to another stage. | |
| deal_id | No | For update/move. | |
| dry_run | No | true = run every check and return what WOULD happen, without doing it. | |
| owner_id | No | Owner (user id). | |
| stage_id | No | For create/move. | |
| contact_id | No | Contact of the deal. | |
| lost_reason | No | Why the deal was lost (when moving to a lost stage). | |
| pipeline_id | No | For create. | |
| expected_close_date | No | YYYY-MM-DD |