update_deal
Update an existing deal by passing only the fields you want to change. Provide the deal ID, type, and a non-empty settings object.
Instructions
Update an existing deal. Pass only the fields you want to change. Settings object must be non-empty.
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": {
"dealType": "<dealType>",
"dealId": "<dealId>",
"settings": "<settings>"
},
"name": "update_deal"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dealType | Yes | Deal type | |
| dealId | Yes | Deal identifier. Accepts EITHER the deal's 24-character hex MongoDB ObjectId (e.g. "65f000000000000000000001") OR the deal's UUID. Either form resolves to the same deal — use whichever the deal record exposes. Get both from list_deals (the `_id` and `uuid` fields). | |
| paperContext | No | Paper trading context (true = paper, false = real). Default: false | |
| settings | Yes | Settings object with fields to update. Only include changed fields. |