Cancel a price alert
cancel_price_alertRemove a waiting price alert so it never fires. Use when the user no longer wants it or to make room (at most 20 wait). Not for orders (use cancel_order). Input: alert_id from get_my_price_alerts. An app can delete only the alerts it created. Next: get_my_price_alerts.
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": {
"alert_id": "<alert_id>"
},
"name": "cancel_price_alert"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| alert_id | Yes | From set_price_alert or get_my_price_alerts |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| price | Yes | The level, USD per coin | |
| venue | Yes | The exchange whose mark is watched; null: the reference price (median of the exchanges' marks; on the sandbox deployment the sandbox's real-market price) | |
| status | Yes | active (waiting), triggered (fired once, done) or deleted | |
| symbol | Yes | Base coin | |
| alert_id | Yes | Alert id, alr_… | |
| direction | Yes | above: fires when the price is at or above the level; below: at or below | |
| created_at | Yes | ISO 8601 UTC | |
| created_by | Yes | The agent that created it, or person | |
| deprecation | No | Present only while this tool is deprecated: replacement, removal_date, changelog | |
| triggered_at | No | When it fired, ISO 8601 UTC | |
| current_price | No | On creation: the price it is compared with now, USD per coin | |
| triggered_price | No | The price that fired it, USD per coin |