Watch a rate across conversations
watch_rateRemember a rate the user cares about and a condition on it — above a level, below a level, or a move of some percent — so a later conversation can ask what changed. Returns a watchlist id: give it to the user and keep it, because check_watches needs it and it is the only key to the list. Pass an existing watchlist to add to it; omit it to start a new one. The rate is resolved the same way as convert (direct, inverse, cross through USD). There is no push notification: a watch fires when check_watches is called and finds the condition holds. To set several watches, set one first and pass its watchlist id to the rest: calls made in parallel without an id each start a separate list.
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": {
"from": "<from>",
"to": "<to>",
"condition": "<condition>",
"value": "<value>"
},
"name": "watch_rate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Quote currency, e.g. ZWG | |
| from | Yes | Base currency, e.g. USD | |
| value | Yes | The level (for above/below) or the percent (for moves_pct) | |
| country | No | Only use sources from this country, e.g. ZW | |
| condition | Yes | above: fire when the rate rises above value. below: when it falls below value. moves_pct: when it moves at least value percent either way from today. | |
| watchlist | No | Watchlist id from an earlier watch_rate, e.g. wl_k3x9p2m7qa. Holding the id is what grants access. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rate | Yes | ||
| as_of | Yes | ||
| watch | Yes | ||
| age_days | Yes | ||
| watchlist | Yes | ||
| watch_count | Yes | ||
| already_holds | Yes |