prediction_market
LIVE prediction-market data from Polymarket (the biggest prediction market). For a TOPIC (an election, a coin price target, a sports or world event), returns the matching market's current implied ODDS for each outcome, its trading volume, liquidity, and resolution date, plus related markets on the topic. Use for 'what are the odds of X', 'what's the market pricing for Y', 'is X likely', or 'what's being predicted about Z'. Set history=true for a PAST/SETTLED question (who won, how it resolved, a past event) to include resolved markets with their final odds. ALWAYS pass the subject the user named as query (a sport, league, team, person, coin, election, country). 'nba markets' -> query='NBA', not an empty call. Only OMIT query when the user asks generically what's trending/biggest with no subject. For a broad topic (a league, a season) this returns EVERY open market it can find (futures, awards, season/game markets), not a top slice, so present the full set the user asked for.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | the subject the user named -> pass it. e.g. 'NBA', 'trump 2028', 'bitcoin 100k'. Only omit when the user names NO subject and asks what's biggest/trending overall. | |
| history | No | true when the user asks about a PAST or SETTLED market (who won, how it resolved, a past date/event). Includes resolved events with their final outcome. Default false = only live/open markets. |