get_quote
Retrieve a Tinyman v2 swap quote with expected output, rate, fee, price impact, and minimum received before building any transaction.
Instructions
Get a swap quote from Tinyman v2 with expected output, rate, fee, price impact, and minimum received. No transaction is built.
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": {
"fromToken": "<fromToken>",
"toToken": "<toToken>",
"amount": "<amount>"
},
"name": "get_quote"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | Amount to swap in human-readable units (e.g. '100' for 100 ALGO) | |
| toToken | Yes | To token symbol or ASA ID | |
| slippage | No | Allowed slippage percentage (default 0.5) | |
| fromToken | Yes | From token symbol or ASA ID (e.g. 'ALGO', 'USDC', '31566704') |