Lighter Position Tool
AI-generatedSummary
Manage Lighter DEX positions - set TP/SL, update leverage, close positions
Inputs
None.
Output shape
ai_tool
Outputs a DynamicStructuredTool usable by n8n AI agents
Examples
Example 1: Set TP/SL
action: createTP|createSL, marketIndex: number, side: long|short, size: number, triggerPrice: number, optional: executionPrice, reduceOnly, slippage, marginMode