generate_trade_link
Generates a secure URL that opens the Citadelle web UI with the selected market and action, enabling the user to execute an option trade directly.
Instructions
Generates a URL that redirects the user to the web UI to securely execute an option trade.
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": {
"marketId": "<marketId>",
"action": "<action>"
},
"name": "generate_trade_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | The action to perform: 'buy_call', 'sell_call', 'buy_put', 'sell_put' | |
| marketId | Yes | The EVM address of the Market |