monitor_wallet
Watch a wallet for drain threats. If a single transaction drops the balance beyond a set threshold, it alerts your callback URL and auto-freezes all linked agent wallets.
Instructions
Watch a wallet for drain threats. When balance drops beyond threshold in a single transaction, fires an alert to your callback URL and auto-freezes all linked agent wallets.
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": {
"wallet": "<wallet>",
"callback_url": "<callback_url>"
},
"name": "monitor_wallet"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chains | No | Chains to monitor (default: ['ethereum', 'base']) | |
| wallet | Yes | Wallet address to monitor (0x...) | |
| agent_id | No | Agent identifier for grouping monitored wallets | |
| callback_url | Yes | Public HTTPS URL to POST drain alerts to | |
| threshold_pct | No | Balance drop percentage to trigger alert (default: 20) |