Route alerts
wever_alert-routeStanding jobs: register one routing rule for the paying wallet. Watch fires and standing-job results for this wallet that match the filter also post to callback_url, byte for byte, with their own Idempotency-Key. filter.source_tool is wever_watch-fire or a schedulable tool name; filter.condition reads a field of the delivered report (for example /outcome equals failed, /result/report/verdict equals outside_window, or /observation/value above 120) with equals, not_equals, above, below, at_or_above, at_or_below or exists. Routing never changes the original delivery; it adds one. The rule ends at expires_at, up to 30 days ahead, or after max_deliveries. POST /api/alert-route. Standing jobs check and report: they run read-and-report Wever tools only and never move money, place orders or change state. Paid URL: 0.10 USDC per call on Base via x402 exact, with the shared 10 signed-wallet free calls per rolling 30 days. Every call carries X-Wever-Wallet-Proof bound to the exact JSON arguments and the tool route; a paid call adds Payment-Signature from the same wallet. Returns a report with an Ed25519 signed receipt. Contract: /api/standing-jobs-contract. Human page: https://weverlabs.com/standing-jobs/.
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": {
"callback_url": "<callback_url>",
"filter": "<filter>",
"expires_at": "<expires_at>"
},
"name": "wever_alert-route"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | No | Optional name shown in lists, reports and digests. | |
| filter | Yes | source_tool, condition or both. Both must match. | |
| expires_at | Yes | When the rule ends, up to 30 days ahead. | |
| callback_url | Yes | Public HTTPS URL that receives a copy of each matching delivery, byte for byte. | |
| max_deliveries | No | Optional delivery count after which the rule completes. |