Change a price alert
update_alertChange one of the signed-in user's price targets: its level and/or direction (above / below). A target that already fired is re-armed. Returns the distance from the current price and a warning when the level looks far off (≥ 25 % away) or is already crossed. Take the id from list_alerts. Example: "move my NVDA alert to 150".
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": "update_alert"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| alert_id | Yes | The price target's id (from list_alerts). | |
| direction | No | Fire when the price goes above or below the level. | |
| target_price | No | New level, in the listing's own currency. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | false on an error; then `error` says what happened and what to do. | |
| card | No | The in-chat InvestIQ card, in English and French. | |
| data | No | The tool's own result fields. | |
| tool | Yes | ||
| as_of | Yes | ISO time the data was computed (a stored analysis: when it was computed). | |
| error | No | ||
| links | No | InvestIQ pages for this result. | |
| degraded | No | true when part of the data was missing. | |
| viz_spec | No | The recommended chart's series (data only). | |
| disclaimer | Yes | ||
| data_quality | No | What was requested, what was used, and why anything was left out. |