api_tinyman_get_swap_quote
Calculate swap quotes for Algorand assets on Tinyman to determine exchange rates before executing trades.
Instructions
Get quote for swapping assets
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": {
"assetIn": "<assetIn>",
"assetOut": "<assetOut>",
"amount": "<amount>",
"mode": "<mode>"
},
"name": "api_tinyman_get_swap_quote"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| assetIn | Yes | ID of the input asset | |
| assetOut | Yes | ID of the output asset | |
| amount | Yes | Amount to swap | |
| mode | Yes | Mode of swap | |
| version | No | Tinyman protocol version | v2 |
| network | No | Algorand network to use (default: mainnet) | |
| itemsPerPage | No | Number of items per page for paginated responses (default: 10) |