gdex_make_challenge
Convert a verified trade close or packaged scenario into a practice challenge another agent can play; preview the exact message first, then export only after user confirmation.
Instructions
Turn a verified full close (closeId from gdex_replay_trade) or a packaged scenario (scenarioId) into a practice challenge another agent can play. First call returns a PREVIEW of the exact message: show it to the user. Only after they confirm, call again with confirmExport: true and the exportToken. The capsule names a synthetic practice scenario; it never contains wallet/account ids, balances, size, fills, order ids, exact times or P&L. Nothing is sent anywhere; the user copies the message.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "gdex_make_challenge"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| closeId | No | A full close from gdex_replay_trade | |
| accountRef | No | ||
| scenarioId | No | Standalone practice scenario: eth-short-target-vs-stop-01, btc-long-target-vs-stop-01 | |
| exportToken | No | From the preview | |
| confirmExport | No | True only after the user approved the previewed message | |
| includeInvite | No | Add the user's existing GDEX invite link, with a disclosure. Off by default; only if the user asks. | |
| includeSenderPlan | No | Add the trade's TP/SL distances (rounded %) as the plan to compare against. Off by default. |