data_get_positions
Fetch current positions for a wallet to identify market exposure and directional footprint.
Instructions
Fetch current positions for one wallet.
Use this tool when the user wants to know what a wallet currently holds, which markets it is exposed to, or its current directional footprint.
Prefer this tool over get_activity when the question is about present
state rather than historical actions. Do not use this tool if you still
need to discover which market exists; that belongs to Gamma tools.
The input should be a wallet address, typically in 0x... format. A
common next step is get_activity for recent changes or CLOB/Gamma tools
for deeper inspection of the markets referenced by the positions.
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": {
"args": "<args>"
},
"name": "data_get_positions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | Yes | Wallet query arguments. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user | Yes | ||
| positions | No | ||
| count | Yes | Return the number of positions. Returns: int: Number of returned positions. |