get_swap_quote
Get a live, read-only swap quote on ICPSwap (the deepest on-chain DEX on ICP): how much receive_token you would get for pay_amount of pay_token. No tokens move — this prices the intent; execution happens in the agent's own wallet/canister. Tokens can be symbols (ICP, ckUSDC, ckUSDT, ckBTC, ckETH) or ledger principals.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fee | No | Optional pool fee tier in hundredths of a bps (3000 = 0.3%). Defaults to trying 3000, then 10000, then 500. | |
| pay_token | Yes | Token to sell: symbol or ledger principal. | |
| pay_amount | Yes | Amount to sell, in base units as a decimal string (e.g. "100000000" = 1 ICP). | |
| receive_token | Yes | Token to buy: symbol or ledger principal. |