fx_history
$0.002 via x402: Daily ECB reference rate history for a pair over the last N business days (up to 365): {from, to, days, series:[{date, rate}]}. Pay 0.002 USDC through https://store.agentexchange.work/gw/fx/history?from=EUR&to=USD&days=30. Via the Agent Exchange store gateway; settled by Coinbase.
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>"
},
"name": "fx_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | to | |
| days | No | 1..365, default 30 | |
| from | Yes | from | |
| x_payment | No | Signed x402 payment payload (optional; without it the answer is the price) |