Link to swap a pair
get_swap_linkA link that opens the Changerella calculator on the pair (and amount), where the user compares offers and completes the swap themselves. Validates that the pair can be exchanged. Cheap: no live request.
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": "get_swap_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | ||
| from | Yes | ||
| amount | No | ||
| to_network | No | ||
| from_network | No |