Change a price alert
edit_price_alertChanges a price alert's threshold or note, or re-arms one that fired so it watches again, as the alerts list on the page does. A new threshold or a re-arm counts only prices after it. The stop and target alerts that follow a holding's plan can be re-armed; their level changes with set_stop_target. Sent without preview_id, it changes nothing and returns a preview of the change with a preview_id; sent again with the same arguments and that preview_id, it makes the change.
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": {
"id": "<id>"
},
"name": "edit_price_alert"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The alert id, from get_price_alerts or create_price_alert. | |
| note | No | The new note; null or "" clears it. | |
| rearm | No | true: a fired alert watches again. | |
| threshold | No | The new price. | |
| preview_id | No | The preview_id that the same call without it returned. Without it, nothing is changed. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | ||
| tool | No | ||
| alert | No | ||
| error | No | ||
| trade | No | ||
| change | No | ||
| status | No | ||
| done_at | No | ||
| warnings | No | ||
| unchanged | No | ||
| preview_id | No | ||
| confirm_on_card | No |