One prediction market
get_prediction_marketOne Bodega prediction market by its id: the question, current YES and NO probability (percent), shares outstanding per side, funds in the market, volume, deadline, outcome, how the YES probability moved (first, lowest, highest, latest and the last points of its history) and the most recent buys, sales and claims with what was paid per share. Get the id from list_prediction_markets. Trading is not done here: tradeUrl is the market on Bodega.
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": {
"marketId": "<marketId>"
},
"name": "get_prediction_market"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| marketId | Yes | Market id as `list_prediction_markets` returns it, e.g. "FC1B_BTC_REACHES_9000". |