Lighter Position Tool icon

Lighter Position Tool

Manage Lighter DEX positions - set TP/SL, update leverage, close positions for AI agents

Lighter Position Tool

AI-generated

Summary

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

Links

Discussion