get_swap_quote
Research or firm quote: without idempotencyKey, return a provider-neutral market estimate with zero trading-provider calls. With idempotencyKey plus a real wallet/destination and slippage, create or reuse a firm single-provider quote intent and return simulationRequirements.intent_id for simulate_swap_execution. Active selection is LI.FI/Relay; 0x remains blocked while operator-paused.
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": {
"fromChainId": "<fromChainId>",
"toChainId": "<toChainId>",
"fromToken": "<fromToken>",
"toToken": "<toToken>",
"fromAmount": "<fromAmount>"
},
"name": "get_swap_quote"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| grantId | No | ||
| toToken | Yes | Resolver-supported symbol, native identifier, token address, or chain-qualified asset; discovery resolves canonical assets server-side. | |
| protocol | No | ||
| slippage | No | ||
| fromToken | Yes | Resolver-supported symbol, native identifier, token address, or chain-qualified asset; discovery resolves canonical assets server-side. | |
| sessionId | No | ||
| toAddress | No | ||
| toChainId | Yes | ||
| fromAmount | Yes | ||
| safetyMode | No | ||
| fromChainId | Yes | ||
| healthFactor | No | ||
| sessionToken | No | ||
| executionMode | No | ||
| riskBufferUsd | No | ||
| walletAddress | No | ||
| continuationId | No | ||
| idempotencyKey | No | ||
| expectedUpsideUsd | No | ||
| executionTrialProof | No | Locally signed commercial owner challenge; no transaction or delegation authority. | |
| liquidationBufferPct | No |