Convert a unit
convert_unitsConvert inside wei/gwei/eth, sats/btc, usdc_atomic/usdc, or unix/iso. amount is a decimal string. Paid like hash_text. POST https://api.agentpaywire.com/v1/tools/convert. 1000 sats = 1 USDC here, with no live FX.
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_units"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | ||
| from | Yes | ||
| amount | Yes |