agent_context
International context bundle for scheduling, invoicing and coordination across borders. Combines timezone conversion, holiday calendar and currency exchange in one call. Returns DST-correct local time with offset, upcoming public holidays and exchange rate. Sources: IANA TZDB, Nager.Date API, European Central Bank. Price $0.003 USDC per call via x402. Example output: {"country":"US","timezone":"America/New_York","local_time":{"datetime":"2026-03-15T08:00:00","utc_offset":"-04:00"},"holidays":{"year":2026,"count":11,"upcoming":[{"date":"2026-05-25","name":"Memorial Day"},{"date":"2026-07-04","name":"Independence Day"}]},"exchange_rate":{"from":"USD","to":"EUR","r
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": {
"country": "<country>",
"timezone": "<timezone>",
"from_currency": "<from_currency>",
"to_currency": "<to_currency>"
},
"name": "agent_context"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | No | Optional year for holidays, default current year | |
| country | Yes | ISO 3166 alpha-2, e.g. US | |
| timezone | Yes | IANA timezone, e.g. America/New_York | |
| timestamp | No | Optional ISO datetime or 'now', default now | |
| to_currency | Yes | Target currency code, e.g. EUR | |
| from_currency | Yes | Source currency code, e.g. USD |