Create Condition Watch Alert
watch_create_alertSet a background watch on a public webpage, live data feed, page availability, or NOAA coastal water gauge and get alerted automatically when your condition happens ($0.02).
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": {
"condition_type": "<condition_type>"
},
"name": "watch_create_alert"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Public https:// URL to monitor (required for URL condition types). | |
| label | No | Optional short human-readable name for this alert. | |
| negate | No | Flip the trigger so it fires when text disappears or status stops matching. | |
| operator | No | Comparison operator for JSON values or NOAA water levels. | |
| json_path | No | Dot path inside JSON response (for example: "data.price" or "status.open"). | |
| spend_key | No | Optional prepaid API key for paid lookups. Can also be sent in the x-atlas-spend-key or Authorization header. | |
| threshold | No | Target value or water height in feet that triggers the alert. | |
| ttl_hours | No | How many hours to keep this watch active before automatic expiry (1 to 24, default 6). | |
| match_text | No | Text phrase to watch for on the page (for url_text_contains). | |
| station_id | No | 7-digit NOAA water station ID (for example: "8575512" Annapolis or "8570283" Ocean City Inlet). | |
| webhook_url | No | Optional public https:// webhook URL to notify with a signed POST when triggered. | |
| builder_code | No | Optional partner referral code for revenue sharing. | |
| case_sensitive | No | Match text with exact letter casing (default false). | |
| condition_type | Yes | Type of condition to watch: webpage text match, HTTP status change, JSON value threshold, or NOAA station water height. | |
| expected_status | No | Expected HTTP status code (for url_status_change, default 200). | |
| idempotency_key | No | Optional unique request ID to prevent duplicate billing on retries. | |
| payment_signature | No | Optional direct payment header when paying per request without a prepaid API key. | |
| run_initial_check | No | Run one check immediately on creation (default true). | |
| check_interval_seconds | No | Target polling interval in seconds (60 to 3600, default 300). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No |