Convert an amount (تبدیل ارز)
convertConvert an amount between any two currencies, Toman (IRT) or Rial (IRR; 1 Toman = 10 Rial), through the board's dollar rate. side=mid (default), buy or sell. تبدیل مبلغ بین دو ارز، تومان یا ریال با نرخ تابلو.
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>",
"from": "<from>",
"to": "<to>"
},
"name": "convert"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Currency code, or IRT (Toman) / IRR (Rial). | |
| from | Yes | Currency code, or IRT (Toman) / IRR (Rial). | |
| side | No | mid | |
| amount | Yes | Amount of ONE unit of `from` (not the board's quote unit). |