Loading prediction market position
prediction_market_position_detailDetailed position breakdown for a Polymarket market.
Key fields:
Position Size (Shares)is the share quantity still held.Buy Cost USDandSell Proceeds USDare the cash paid and received for this outcome token.Unrealized Value USDis the marked value of shares still held;Redemption Value USDis the payout collected after settlement.Position PnL USDapplies to the displayed row only — not the wallet's total PM activity.
Pitfalls:
Each row is one outcome token of one wallet. A wallet holding both sides appears twice.
Prerequisites: If marketId is unknown, call
prediction_market_lookup first.
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": {
"request": "<request>"
},
"name": "prediction_market_position_detail"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| request | Yes | Request for detailed market positions. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |