List my bets
get_user_betsLists wagers with pagination, newest first, defaulting to the authenticated user's own positions and filtering by open or settled status, event, following, or currency mode.
Instructions
Lists wagers (positions) with pagination, newest first; by default the authenticated user's own. Each wager has its wager id, status (purchased = open, sold, won, lost, cancelled, disabled), position (long or short), shares, currency, the cost basis, the current sale value (amount_on_sell), plus the market (id, title) and event (id, title, order_book_enabled) it belongs to. Use active for open positions or past_bets for settled ones; pass a wager id to get_wager_details for the purchase and sale history. At most 20 wagers per page.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_user_bets"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user | No | Another user's id, to read their public play-money wagers. Omit for the authenticated user's own wagers. | |
| event | No | Only wagers on this event id. | |
| limit | No | Wagers per page, 1 to 20 (default 20). | |
| active | No | true: only open wagers (status purchased). Omit for no status filter. Cannot be combined with past_bets. | |
| offset | No | Number of wagers to skip, for paging (default 0, maximum 10000). | |
| following | No | true: only wagers by users you follow. Only works together with `event`. | |
| past_bets | No | true: only finished wagers (status won, lost, sold or disabled). Omit for no status filter. Cannot be combined with active. | |
| currency_mode | No | play_money = OOM wagers, real_money = USDC/USDT/USD wagers, all = both (default). | all |