Provider-specific requirements
Use Polymarket for read-only prediction-market data: what a market asks, what it is priced at, how that price moved, and how it resolved. There is no trading. Identifiers differ by tool, and all of them come from a market record:id(numeric market id):polymarket_get_market.clobTokenIds(one token per outcome, in the same order asoutcomes):polymarket_get_price,polymarket_get_midpoint,polymarket_get_spread,polymarket_get_order_book,polymarket_get_price_history,polymarket_get_batch_price_history.conditionId(0x hash): themarketinput ofpolymarket_list_trades,polymarket_get_holders,polymarket_get_open_interest.- event
id:polymarket_get_live_volume.
- Find markets with
polymarket_search(keyword) orpolymarket_list_markets(filters). Search returns events with nestedmarkets. - A market record already carries current prices in
outcomePrices, so pricing many markets needs no per-token call. Usepolymarket_get_midpointorpolymarket_get_pricefor a fresh single quote, andpolymarket_get_spreadorpolymarket_get_order_bookto judge whether a thinly traded price is meaningful. - For past prices, call
polymarket_get_price_historywith the outcome token asmarket. Useinterval(1h,6h,1d,1w,1m,max) with afidelityin minutes. An explicitstartTs/endTswindow longer than a few weeks is rejected as too long, so preferinterval: "max"with a coarsefidelitysuch as1440for long ranges. History remains available after a market resolves. - For past results, call
polymarket_list_marketswithclosed: true. A resolved market hasumaResolutionStatus: "resolved"andoutcomePricesof1for the winning outcome and0for the others.
outcomes, outcomePrices, and clobTokenIds as JSON-encoded strings. Deepline results return them as arrays, index-aligned with each other. Prices are probabilities between 0 and 1, usually decimal strings. Timestamps in price history (t) are unix seconds.
In polymarket_get_holders the top-level token of each group is masked as [REDACTED] by Deepline’s generic secret filter. Read the outcome token id from holders[].asset instead, and the outcome from holders[].outcomeIndex.
Find an applicable action
Confirm your effective workspace, then search the live catalog:Inspect the selected contract
Replace<returned-tool-id> with the identifier returned by discovery:
Prepare one reviewed input
Use one authorized record that matches the inspected schema. Preserve its source identity and define the result you will accept. Open the action reference for its payload and response shape. Provider-backed execution can incur usage or external effects. For reusable logic, follow Write Plays. For direct-call recovery, use Tool execution recovery.Continue only when the workspace, provider, required fields, acceptance rule, and applicable price are understood. Keep unavailable access separate from no-result evidence.