Watcher: typed data for the owner to sign
watch_prepareStep 1 of starting (Watch), stopping (Unwatch) or sharing (Bind) a watch. Returns EIP-712 typedData for the manager's OWNER (ownerOf(1) — signer names them) to sign with their own wallet, valid 10 minutes, and next: the tool to pass {chainId, message, signature} to — watch_subscribe, watch_cancel or watch_bind. This server signs nothing and an agent's own key is not the owner's unless it owns the manager.
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": {
"kind": "<kind>",
"chainId": "<chainId>",
"manager": "<manager>",
"strategy": "<strategy>"
},
"name": "watch_prepare"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | Watch = start or update watching (may cost); Unwatch = stop; Bind = share which positions follow a strategy (free) | |
| mode | No | Watch only. owner (default) — the Watcher tells the owner when to act; agent — the owner's agent acts and the Watcher audits it | |
| chainId | Yes | The manager's chain | |
| manager | Yes | Manager NFT contract address | |
| strategy | Yes | Strategy id, think-tank/<slug> (list_strategies) | |
| positions | No | Position salts (get_position_history). Watch: 1–32; Bind: 0–32 (none forgets the binding); Unwatch: none |