Watch a road
watch_roadGet a signed webhook POST whenever a road changes light (green, amber, red). Needs a key on LaneRouter Pro; up to 25 watches per key. Returns the watch id, used by unwatch_road, and a signing secret shown only once: verify each delivery’s LaneRouter-Signature header with it. Watching the same road with the same url twice is refused; use list_watches to see what you already watch.
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": {
"target": "<target>",
"url": "<url>"
},
"name": "watch_road"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Your public https webhook endpoint. It must answer 2xx within 8 seconds; failed deliveries are retried after 1, 5, 30 and 120 minutes. | |
| action | No | Short verb, matching the one agents check and report with, e.g. checkout. Defaults to visit. | |
| target | Yes | URL or host/path to watch, e.g. "shop.example/checkout". |