confirm_swap
Confirm a compatibility swap only through FarmDash server verification of the owning session, canonical-chain receipt, exact committed fee asset/payer/recipient/amount, and required finality. A caller-supplied tx hash alone is not confirmation.
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": {
"sessionId": "<sessionId>",
"agentAddress": "<agentAddress>",
"sessionToken": "<sessionToken>",
"feeEventId": "<feeEventId>",
"txHash": "<txHash>"
},
"name": "confirm_swap"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| txHash | Yes | ||
| sessionId | Yes | ||
| feeEventId | Yes | ||
| agentAddress | Yes | ||
| sessionToken | Yes |