Start a swap (deposit address)
create_swapStart a swap from a quote_swap quoteId and get a deposit address, exact amount and expiry. REAL FUNDS ON MAINNET: whoever sends that amount to that address swaps it; the output goes to recipient and a refund to refundTo. Confirm both addresses with the user first. Screened as on intents.fi/swap.
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": {
"quoteId": "<quoteId>",
"recipient": "<recipient>",
"refundTo": "<refundTo>"
},
"name": "create_swap"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| quoteId | Yes | ||
| refundTo | Yes | Where a refund goes, on the source chain | |
| recipient | Yes | Where the swapped funds go, on the destination chain |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| order | Yes | ||
| status | Yes | ||
| deposit | No | ||
| orderId | Yes | ||
| summary | Yes | ||
| refundTo | No | ||
| recipient | Yes |