create_alert
Hosted only, free, opt-in, poll-only (no webhook, no email, no account). Create a price alert on a stable rate_id (from compare_gpu_prices) OR a gpu filter (all words must match the model; optional vendor, vram_gb, tiers) with threshold_usd (USD per GPU-hour) and direction 'below' (default, at or below) or 'above' (at or above). Returns an alert_token ONCE when you do not pass one (store it; only its hash is kept) and expires_at (30 days; check_alerts renew=true extends it). Poll check_alerts after the feed refresh (daily ~10:23 UTC). Never fires on a held_stale row or a row whose last price verification is older than 48 hours (data_age_hours is measured from the row's verified_at, or checked_at if verified_at is missing, not from feed write time): those are listed in skipped_stale with would_have_crossed, and a crossing on stale data is not a fire. would_have_crossed is not stored; the next check_alerts re-evaluates the current feed, and a now-fresh row can fire then if the current price still crosses (that is not a delayed fire of the stale crossing).
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": {
"threshold_usd": "<threshold_usd>"
},
"name": "create_alert"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gpu | No | ||
| tiers | No | ||
| vendor | No | ||
| rate_id | No | ||
| vram_gb | No | ||
| direction | No | ||
| alert_token | No | ||
| threshold_usd | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| alert | Yes | ||
| error | No | ||
| limits | Yes | ||
| evaluation | No | ||
| shown_once | No | ||
| stale_rule | Yes | ||
| alert_token | No |