Archive a deal
archive_dealArchive a deal: it leaves every board, list and total. Its history is kept. Use when the owner asks to remove a deal (a duplicate or a mistake); a deal that simply did not close belongs in a lost stage (move_deal).
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>"
},
"name": "archive_deal"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| deal_id | Yes | Deal id, from list_deals | |
| site_id | Yes | The site, from list_sites | |
| 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. |