FX Convert
fx-convertConvert an amount using a rate supplied by the caller (units of target currency per unit of source). No rate is ever looked up.
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": {
"amount": "<amount>",
"rate": "<rate>"
},
"name": "fx-convert"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rate | Yes | Rate: target units per source unit. | |
| amount | Yes | Amount to convert. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | No | Result value. |