gdex_execute_trade
Executes an approved trade preview within delegated authority, re-quoting first; if terms moved or expired, returns a revised preview instead of trading.
Instructions
Execute a preview within the user's authority: userApproved=true only after the user approved THIS preview's terms; otherwise the account's delegated policy must allow it (else status denied). Re-quotes first: moved or expired terms return status revised with a new preview instead of trading. Returns an operation; follow it with gdex_operation. Never call again for the same intent after submission_unknown.
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": {
"previewId": "<previewId>"
},
"name": "gdex_execute_trade"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| previewId | Yes | ||
| userApproved | No | True only if the user explicitly approved this exact preview |