Delete a price alert
delete_price_alertDeletes a price alert, as the alerts list on the page does. The signals it fired stay. The stop and target alerts that follow a holding's plan are refused: clearing the level with set_stop_target removes them. 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": "delete_price_alert"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The alert id, from get_price_alerts or create_price_alert. | |
| 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 | ||
| deleted | No | ||
| done_at | No | ||
| warnings | No | ||
| preview_id | No | ||
| confirm_on_card | No |