Cancel a Token Watch
cancel_watchUse to stop one Watch + Alert watch that was started with your RugRadar credit key; pass its watch_id (from watch_token or list_watches) and the same key (api_key or header X-RugRadar-Key). Alerts stop right away and the watch cannot be restarted. No refund: credits spent on the watch are not returned, even if hours remain. Free to call. Cancelling an already cancelled or expired watch returns its current status and changes nothing. A watch started with a different key, or paid per-call with x402, returns not_found.
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": {
"watch_id": "<watch_id>"
},
"name": "cancel_watch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api_key | No | RugRadar credit key that started the watch (or header X-RugRadar-Key) | |
| watch_id | Yes | Watch id (w_...) from watch_token or list_watches |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | payment_required, bad_input, or a failure code | |
| token | No | ||
| status | No | ||
| message | No | ||
| payWith | No | x402 payment requirement for the HTTP route, plus credit-key instructions when those apply | |
| watchId | No | ||
| priceUsd | No | USDC price to pay when error is payment_required | |
| refunded | No | true when a credit was taken and then returned because the call failed | |
| expiresAt | No |