get_user_positions
Fetches current positions for an Ethereum address from Polymarket's Slimmed P&L subgraph, with graceful fallback when indexers lag.
Instructions
Get a user's current positions from the Slimmed P&L subgraph. Falls back gracefully if indexers are behind.
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": {
"account": "<account>"
},
"name": "get_user_positions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account | Yes | Ethereum address of the user (lowercase) |