oneinch_swap_quote MCP tool; your backend signs approval and swap transactions with the agent wallet accessKey.
Supported chains
ethereum, base, polygon, arbitrum-one, bsc
Dashboard setup
- Open Agentic Stack → Integrations for your application.
- Enable 1inch and enter your API key from portal.1inch.dev.
- Save — credentials are encrypted server-side and included in agent validation for MCP calls.
MCP tool: oneinch_swap_quote
| Parameter | Required | Description |
|---|---|---|
chain | Yes | EVM network slug |
input_token | Yes | Symbol (ETH, USDC) or 0x address |
output_token | Yes | Symbol or address |
amount | Yes | Human-readable sell amount |
slippage_bps | No | Default 50 (0.5%) |
1inch specialist chat
Open chat with?serviceAgent=oneinch (or pick the 1inch category). The backend filters tools to 1inch-relevant MCP calls and routes swap requests to oneinch_swap_quote.
Execution modes
TRANSFER_REQUIRE_CONFIRMATION | Behavior |
|---|---|
true (default) | User sees a swap confirmation card — Confirm / Cancel before signing |
false | Backend auto-signs approval (if needed) and the swap transaction |
Transaction history
Confirmed swaps are recorded aschat_oneinch_swap (and approvals as chat_oneinch_approval).
Related
Third-party integrations
BYOK overview and deployment.
Uniswap integration
Uniswap Trading API swaps via
uniswap_swap_quote.LiFi integration
Cross-chain routes via
lifi_swap_quote.