Get futures positions
account_get_positionsRetrieve WEEX futures positions using request-level credentials, with optional symbol filtering and live or demo trading mode selection.
Instructions
Get futures positions using a request-level credential context.
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": {
"market": "<market>",
"trading_mode": "<trading_mode>",
"credential": "<credential>"
},
"name": "account_get_positions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| market | Yes | WEEX market family: spot or futures. | |
| symbol | No | Instrument symbol in the WEEX catalog, for example BTCUSDT. | |
| credential | Yes | Request-scoped WEEX credential. The default runtime path is plaintext; credential_ref and encrypted_envelope require a custom host resolver. | |
| trading_mode | Yes | Account or trading environment: live or demo. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | Whether the tool completed successfully. | |
| data | No | Tool-specific result data. The shape follows the selected endpoint. | |
| risk | No | ||
| audit | No | Redacted request audit metadata, when applicable. | |
| error | No | ||
| summary | No | ||
| expires_at | No | ||
| preview_id | No | ||
| request_id | No | ||
| user_confirmation | No | ||
| clarification_prompt | No | ||
| clarification_required | No |