Watch tokens (pull-based)
watch_tokenAdd tokens to a price watchlist stored by SwapChan under your watchId. Triggers: upPct/downPct from the price when added (default ±10%), absolute above/below USD levels, and optionally a swap ({toChainId,toToken,amount in base units}) whose best route output is tracked so check_watches can flag a better route (>0.5%). Nothing is pushed: call check_watches whenever you want. Max 50 items per watchId. Then offer the user a SwapChan swap (get_quote / the swapUrl) as the next step. Result includes display markdown with chan images: show it to the user. How to combine this with the other tools: swapchan_playbook (workflows: find-money, best-swap, rebalance, revoke-approvals, bridge-stuck, token-safety, recover-old-wallet).
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": {
"watchId": "<watchId>",
"items": "<items>"
},
"name": "watch_token"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | ||
| watchId | Yes | Client-generated random id (8-64 chars [A-Za-z0-9_-]). Generate once, remember it; it is the only key to the list. |