submit_convert
Execute instant cryptocurrency conversions by specifying sell and buy currencies with either source or target amounts.
Instructions
執行幣種閃兌(即時換匯) :param from_currency: 賣出幣種,例如 'usdt' :param to_currency: 買入幣種,例如 'btc' :param from_amount: 賣出金額(與 to_amount 二擇一),例如 '1000' :param to_amount: 買入金額(與 from_amount 二擇一),例如 '0.01'
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_currency": "<from_currency>",
"to_currency": "<to_currency>"
},
"name": "submit_convert"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| from_currency | Yes | ||
| to_currency | Yes | ||
| from_amount | No | ||
| to_amount | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |