register_price_alert
Register a webhook URL to receive notifications when a model's price changes by more than a specified percentage. Optionally scope the alert to a specific provider or model. Returns the alert ID and a one-time alert_token needed to view or delete it via manage_price_alert.
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": {
"url": "<url>"
},
"name": "register_price_alert"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Public https webhook URL to POST when the alert fires (no private, internal or loopback hosts; redirects are not followed) | |
| provider | No | Limit to a specific provider (e.g. 'openai'). Omit for all. | |
| model_name | No | Limit to a specific model name. Omit for all models. | |
| threshold_pct | No | Minimum absolute % price change to trigger the alert (default: 5.0) |