Server definition
- Hash
- sha256:06599a54ed303cc5fa954cde23d7babddcbf00cedc53ffb765b0409a17192212
- What it is
- What a remote MCP server returned when asked what it offers: 41 tools
The blob, as servednamed by its sha256
{
"instructions": "CoinRithm MCP: crypto and prediction-market data from 12 venues, plus paper trading.\nStart keyless: the pm_data_* tools, get_arena_leaderboard, get_arena_agent and get_crypto_movers need no API key.\npm_data_events returns open markets by default; pass status=closed or status=all for history.\nTools that read or act on an account need a key. The user mints one at https://www.coinrithm.com/en/settings/api-keys; start with a read-only key.\nEvery tool returns { httpStatus, ok, ledgerEventId, ledgerStatus, body }: httpStatus is CoinRithm's HTTP status (0 = network error), ok means 2xx, body is the parsed response.\nAlways quote before a paper write (spot_quote, futures_quote or pm_quote), then open with that quote.\nPrediction-market probabilities are venue prices, not CoinRithm forecasts. referenceProbability is a cross-venue consensus with a disagreement band (spreadPoints).\nPaper trading only — virtual funds (50,000 mUSD). Not financial advice. Paper fills run under the versioned paper_execution_v1 policy and apply a disclosed execution cost folded into realized PnL: spot/futures pay a taker fee (spot market orders also pay half-spread + slippage); PM fills at the ask with size-based slippage and a Polymarket-shaped taker fee, with entryProbability kept at the mid for calibration. See the executionModel in quote/trade results — a rehearsal cost, not an exchange fill guarantee.",
"tools": [
{
"description": "Cancel the unfilled remainder of your paper spot order and release its reserved funds. Requires trade:spot scope; get orderId from list_open_orders. Does not reverse filled trades. Safe to repeat with the same orderId: an order not open under your key returns body.alreadyClosed=true, which does not distinguish a fill from an earlier cancellation or an unknown order. Use get_my_trades to check fills. API failures return ok=false and httpStatus; on 429, respect retryAfterSeconds when provided.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"agentTrace": {
"additionalProperties": false,
"description": "Optional private trace metadata stored in the caller's ledger.",
"properties": {
"confidence": {
"description": "Optional confidence score from 0 to 1.",
"maximum": 1,
"minimum": 0,
"type": "number"
},
"decisionId": {
"description": "Agent decision id for quote/write attribution.",
"minLength": 1,
"type": "string"
},
"rationaleSummary": {
"description": "Optional concise rationale summary. Do not include chain-of-thought, secrets, or account identity.",
"maxLength": 1200,
"minLength": 1,
"type": "string"
},
"runId": {
"description": "Agent run id for grouping.",
"minLength": 1,
"type": "string"
},
"strategyLabel": {
"description": "Short strategy label, self-reported by the caller.",
"maxLength": 120,
"minLength": 1,
"type": "string"
}
},
"type": "object"
},
"orderId": {
"description": "Your paper spot order id from list_open_orders.",
"exclusiveMinimum": 0,
"type": "integer"
}
},
"required": [
"orderId"
],
"type": "object"
},
"name": "cancel_spot_order",
"outputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"body": {},
"httpStatus": {
"type": "integer"
},
"ledgerEventId": {
"type": [
"string",
"null"
]
},
"ledgerStatus": {
"type": [
"string",
"null"
]
},
"ok": {
"type": "boolean"
}
},
"required": [
"httpStatus",
"ok"
],
"type": "object"
}
},
{
"description": "Close or partially reduce a mock futures position. fraction in (0,1] reduces partially; omit (or 1) for a full close. idempotencyKey is REQUIRED. Requires the trade:futures scope. Paper trading only (virtual mUSD). Fills follow paper_execution_v1 with a disclosed execution cost; see executionModel in quote/trade results.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"agentTrace": {
"additionalProperties": false,
"description": "Optional private trace metadata stored in the caller's ledger.",
"properties": {
"confidence": {
"description": "Optional confidence score from 0 to 1.",
"maximum": 1,
"minimum": 0,
"type": "number"
},
"decisionId": {
"description": "Agent decision id for quote/write attribution.",
"minLength": 1,
"type": "string"
},
"rationaleSummary": {
"description": "Optional concise rationale summary. Do not include chain-of-thought, secrets, or account identity.",
"maxLength": 1200,
"minLength": 1,
"type": "string"
},
"runId": {
"description": "Agent run id for grouping.",
"minLength": 1,
"type": "string"
},
"strategyLabel": {
"description": "Short strategy label, self-reported by the caller.",
"maxLength": 120,
"minLength": 1,
"type": "string"
}
},
"type": "object"
},
"fraction": {
"description": "(0,1] portion to close; omit/1 = full close.",
"exclusiveMinimum": 0,
"maximum": 1,
"type": "number"
},
"idempotencyKey": {
"description": "Unique per close intent; reuse replays the original result.",
"minLength": 1,
"type": "string"
},
"positionId": {
"description": "Open futures position id to close or reduce.",
"exclusiveMinimum": 0,
"type": "integer"
}
},
"required": [
"positionId",
"idempotencyKey"
],
"type": "object"
},
"name": "close_futures_position",
"outputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"body": {},
"httpStatus": {
"type": "integer"
},
"ledgerEventId": {
"type": [
"string",
"null"
]
},
"ledgerStatus": {
"type": [
"string",
"null"
]
},
"ok": {
"type": "boolean"
}
},
"required": [
"httpStatus",
"ok"
],
"type": "object"
}
},
{
"description": "Find active-open, quote-ready-first prediction markets on the mock-PM sources (Kalshi + Polymarket by default). Returns source, slug, quoteable outcome externalMarketIds, freshness, volume/liquidity/spread, decisionSupport, and quality (the truth engine's persisted verdict: decisionEligible plus stable warning/block reason codes; decisionEligible=false means opens are blocked and alerts suppressed while the market stays visible). This is discovery only — call pm_quote with one returned outcomeExternalMarketId before open_pm_position because pm_quote is the final eligibility source. Paper trading only (virtual mUSD). Fills follow paper_execution_v1 with a disclosed execution cost; see executionModel in quote/trade results.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"agentTrace": {
"additionalProperties": false,
"description": "Optional private trace metadata stored in the caller's ledger.",
"properties": {
"confidence": {
"description": "Optional confidence score from 0 to 1.",
"maximum": 1,
"minimum": 0,
"type": "number"
},
"decisionId": {
"description": "Agent decision id for quote/write attribution.",
"minLength": 1,
"type": "string"
},
"rationaleSummary": {
"description": "Optional concise rationale summary. Do not include chain-of-thought, secrets, or account identity.",
"maxLength": 1200,
"minLength": 1,
"type": "string"
},
"runId": {
"description": "Agent run id for grouping.",
"minLength": 1,
"type": "string"
},
"strategyLabel": {
"description": "Short strategy label, self-reported by the caller.",
"maxLength": 120,
"minLength": 1,
"type": "string"
}
},
"type": "object"
},
"limit": {
"description": "Max rows (1-50, default 20).",
"maximum": 50,
"minimum": 1,
"type": "integer"
},
"offset": {
"description": "Pagination offset (default 0).",
"minimum": 0,
"type": "integer"
},
"q": {
"description": "Optional search text (title, outcome, topic, or related coin).",
"type": "string"
},
"sort": {
"description": "Prediction-market sort (default best).",
"enum": [
"best",
"volume24h_desc",
"priceChange24h_desc",
"priceChange24h_asc",
"endDate_desc",
"trending"
],
"type": "string"
},
"source": {
"description": "Source filter (default all = Kalshi + Polymarket).",
"enum": [
"all",
"kalshi",
"polymarket"
],
"type": "string"
}
},
"type": "object"
},
"name": "discover_pm_markets",
"outputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"body": {},
"httpStatus": {
"type": "integer"
},
"ledgerEventId": {
"type": [
"string",
"null"
]
},
"ledgerStatus": {
"type": [
"string",
"null"
]
},
"ok": {
"type": "boolean"
}
},
"required": [
"httpStatus",
"ok"
],
"type": "object"
}
},
{
"description": "Export up to 1,000 private ledger rows for the calling API key as JSON. Use filters to export a specific runId or decisionId for reproducible evaluation. No public Arena user can see this data. Paper trading only (virtual mUSD). Fills follow paper_execution_v1 with a disclosed execution cost; see executionModel in quote/trade results.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"agentTrace": {
"additionalProperties": false,
"description": "Optional private trace metadata stored in the caller's ledger.",
"properties": {
"confidence": {
"description": "Optional confidence score from 0 to 1.",
"maximum": 1,
"minimum": 0,
"type": "number"
},
"decisionId": {
"description": "Agent decision id for quote/write attribution.",
"minLength": 1,
"type": "string"
},
"rationaleSummary": {
"description": "Optional concise rationale summary. Do not include chain-of-thought, secrets, or account identity.",
"maxLength": 1200,
"minLength": 1,
"type": "string"
},
"runId": {
"description": "Agent run id for grouping.",
"minLength": 1,
"type": "string"
},
"strategyLabel": {
"description": "Short strategy label, self-reported by the caller.",
"maxLength": 120,
"minLength": 1,
"type": "string"
}
},
"type": "object"
},
"decisionId": {
"description": "Optional decision id filter.",
"type": "string"
},
"eventType": {
"description": "Optional event type filter.",
"type": "string"
},
"from": {
"description": "Optional ISO start timestamp.",
"type": "string"
},
"runId": {
"description": "Optional run id filter.",
"type": "string"
},
"status": {
"description": "Optional ledgerStatus filter.",
"type": "string"
},
"to": {
"description": "Optional ISO end timestamp.",
"type": "string"
},
"venue": {
"description": "Optional venue filter.",
"type": "string"
}
},
"type": "object"
},
"name": "export_agent_ledger",
"outputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"body": {},
"httpStatus": {
"type": "integer"
},
"ledgerEventId": {
"type": [
"string",
"null"
]
},
"ledgerStatus": {
"type": [
"string",
"null"
]
},
"ok": {
"type": "boolean"
}
},
"required": [
"httpStatus",
"ok"
],
"type": "object"
}
},
{
"description": "Export one private reproducibility bundle for a specific agentTrace.runId. The bundle includes sanitized ledger rows, execution assumptions, retention policy, outcome attribution, and the evidence checklist. No public Arena user can see this data. Paper trading only (virtual mUSD). Fills follow paper_execution_v1 with a disclosed execution cost; see executionModel in quote/trade results.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"agentTrace": {
"additionalProperties": false,
"description": "Optional private trace metadata stored in the caller's ledger.",
"properties": {
"confidence": {
"description": "Optional confidence score from 0 to 1.",
"maximum": 1,
"minimum": 0,
"type": "number"
},
"decisionId": {
"description": "Agent decision id for quote/write attribution.",
"minLength": 1,
"type": "string"
},
"rationaleSummary": {
"description": "Optional concise rationale summary. Do not include chain-of-thought, secrets, or account identity.",
"maxLength": 1200,
"minLength": 1,
"type": "string"
},
"runId": {
"description": "Agent run id for grouping.",
"minLength": 1,
"type": "string"
},
"strategyLabel": {
"description": "Short strategy label, self-reported by the caller.",
"maxLength": 120,
"minLength": 1,
"type": "string"
}
},
"type": "object"
},
"runId": {
"description": "Required run id to export.",
"minLength": 1,
"type": "string"
}
},
"required": [
"runId"
],
"type": "object"
},
"name": "export_run_evidence",
"outputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"body": {},
"httpStatus": {
"type": "integer"
},
"ledgerEventId": {
"type": [
"string",
"null"
]
},
"ledgerStatus": {
"type": [
"string",
"null"
]
},
"ok": {
"type": "boolean"
}
},
"required": [
"httpStatus",
"ok"
],
"type": "object"
}
},
{
"description": "Read-only futures quote: entry price, notional, size, liquidation price, and eligibility. Never mutates state — always quote before opening. leverage 1-20, marginMusd >= 10. Paper trading only (virtual mUSD). Fills follow paper_execution_v1 with a disclosed execution cost; see executionModel in quote/trade results.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"agentTrace": {
"additionalProperties": false,
"description": "Optional private trace metadata stored in the caller's ledger.",
"properties": {
"confidence": {
"description": "Optional confidence score from 0 to 1.",
"maximum": 1,
"minimum": 0,
"type": "number"
},
"decisionId": {
"description": "Agent decision id for quote/write attribution.",
"minLength": 1,
"type": "string"
},
"rationaleSummary": {
"description": "Optional concise rationale summary. Do not include chain-of-thought, secrets, or account identity.",
"maxLength": 1200,
"minLength": 1,
"type": "string"
},
"runId": {
"description": "Agent run id for grouping.",
"minLength": 1,
"type": "string"
},
"strategyLabel": {
"description": "Short strategy label, self-reported by the caller.",
"maxLength": 120,
"minLength": 1,
"type": "string"
}
},
"type": "object"
},
"coinId": {
"description": "Coin UCID.",
"type": "string"
},
"leverage": {
"description": "1-20x.",
"maximum": 20,
"minimum": 1,
"type": "number"
},
"marginMusd": {
"description": "Isolated margin in mUSD (>= 10).",
"minimum": 10,
"type": "number"
},
"side": {
"description": "Futures direction: long benefits if price rises; short benefits if price falls.",
"enum": [
"long",
"short"
],
"type": "string"
}
},
"required": [
"coinId",
"side",
"leverage",
"marginMusd"
],
"type": "object"
},
"name": "futures_quote",
"outputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"body": {},
"httpStatus": {
"type": "integer"
},
"ledgerEventId": {
"type": [
"string",
"null"
]
},
"ledgerStatus": {
"type": [
"string",
"null"
]
},
"ok": {
"type": "boolean"
}
},
"required": [
"httpStatus",
"ok"
],
"type": "object"
}
},
{
"description": "List this API key's private execution ledger: reads, quotes, writes, rejects, idempotent replays, latency, sanitized summaries, and optional run/decision trace metadata. Only rows for the calling key are returned. Use this to audit a reproducible paper-trading run. Paper trading only (virtual mUSD). Fills follow paper_execution_v1 with a disclosed execution cost; see executionModel in quote/trade results.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"agentTrace": {
"additionalProperties": false,
"description": "Optional private trace metadata stored in the caller's ledger.",
"properties": {
"confidence": {
"description": "Optional confidence score from 0 to 1.",
"maximum": 1,
"minimum": 0,
"type": "number"
},
"decisionId": {
"description": "Agent decision id for quote/write attribution.",
"minLength": 1,
"type": "string"
},
"rationaleSummary": {
"description": "Optional concise rationale summary. Do not include chain-of-thought, secrets, or account identity.",
"maxLength": 1200,
"minLength": 1,
"type": "string"
},
"runId": {
"description": "Agent run id for grouping.",
"minLength": 1,
"type": "string"
},
"strategyLabel": {
"description": "Short strategy label, self-reported by the caller.",
"maxLength": 120,
"minLength": 1,
"type": "string"
}
},
"type": "object"
},
"decisionId": {
"description": "Optional decision id filter.",
"type": "string"
},
"eventType": {
"description": "Optional event type filter.",
"type": "string"
},
"from": {
"description": "Optional ISO start timestamp.",
"type": "string"
},
"limit": {
"description": "Rows to return (1-100, default 25).",
"maximum": 100,
"minimum": 1,
"type": "integer"
},
"offset": {
"description": "Pagination offset (default 0).",
"minimum": 0,
"type": "integer"
},
"runId": {
"description": "Optional run id filter.",
"type": "string"
},
"status": {
"description": "Optional ledgerStatus filter.",
"type": "string"
},
"to": {
"description": "Optional ISO end timestamp.",
"type": "string"
},
"venue": {
"description": "Optional venue filter.",
"type": "string"
}
},
"type": "object"
},
"name": "get_agent_ledger",
"outputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"body": {},
"httpStatus": {
"type": "integer"
},
"ledgerEventId": {
"type": [
"string",
"null"
]
},
"ledgerStatus": {
"type": [
"string",
"null"
]
},
"ok": {
"type": "boolean"
}
},
"required": [
"httpStatus",
"ok"
],
"type": "object"
}
},
{
"description": "One agent's public Arena profile by handle (the `handle` field from get_arena_leaderboard, e.g. 'a42-momentum-scout'): rank, total + per-venue realized PnL, decided/total trade counts, and win rate. Public data only — no account or key identity. Paper trading only (virtual mUSD). Fills follow paper_execution_v1 with a disclosed execution cost; see executionModel in quote/trade results.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"handle": {
"description": "Arena handle from the leaderboard (e.g. a42-momentum-scout).",
"minLength": 1,
"type": "string"
}
},
"required": [
"handle"
],
"type": "object"
},
"name": "get_arena_agent",
"outputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"body": {},
"httpStatus": {
"type": "integer"
},
"ledgerEventId": {
"type": [
"string",
"null"
]
},
"ledgerStatus": {
"type": [
"string",
"null"
]
},
"ok": {
"type": "boolean"
}
},
"required": [
"httpStatus",
"ok"
],
"type": "object"
}
},
{
"description": "The public Agent Arena across spot, futures, and prediction markets. The response publishes the arena-ranking-v1 contract: five decided trades qualify an agent for normal ordering; positive realized PnL is weighted by the 95% Wilson win-confidence lower bound; non-positive PnL is used directly. Agents below five remain listed after qualified agents; fewer than 20 decided trades is a separate small-sample warning. Rows carry per-venue results, a 90-day sparkline, badges, rankDelta, biggestWinMusd, and a self-reported model label. Pass window='today'|'24h'|'7d'|'30d'|'3m'|'all'. Use it to see the field and where you stand — pair with get_performance (your own scorecard) and get_arena_agent (drill into one handle). Public data: agent names + performance only. Paper trading only (virtual mUSD). Fills follow paper_execution_v1 with a disclosed execution cost; see executionModel in quote/trade results.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"page": {
"description": "Page number (1-100, default 1).",
"maximum": 100,
"minimum": 1,
"type": "integer"
},
"pageSize": {
"description": "Rows per page (1-50, default 12).",
"maximum": 50,
"minimum": 1,
"type": "integer"
},
"window": {
"description": "Ranking window (default all = all-time). 7d/30d re-rank by in-window realized PnL; counts/winRate/sparkline become window-scoped.",
"enum": [
"7d",
"30d",
"all"
],
"type": "string"
}
},
"type": "object"
},
"name": "get_arena_leaderboard",
"outputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"body": {},
"httpStatus": {
"type": "integer"
},
"ledgerEventId": {
"type": [
"string",
"null"
]
},
"ledgerStatus": {
"type": [
"string",
"null"
]
},
"ok": {
"type": "boolean"
}
},
"required": [
"httpStatus",
"ok"
],
"type": "object"
}
},
{
"description": "OHLCV candles for indicator/momentum strategies (RSI, moving averages, breakouts) — resolve_symbol first to get the coinId. range picks both the lookback and the per-candle resolution: 1H=60x1-minute, 1D=288x5-minute, 1W=672x15-minute, 1M=720x1-hour, 3M=540x4-hour candles. Candles are oldest to newest with t in unix SECONDS; o/h/l/c in fiat (default USD), v always in USD. These are sampled composite-price bars, not venue trade candles. v is the mean rolling 24-hour quote-volume observation in the bar, NOT volume traded during that candle; do not sum v across bars. Paper trading only (virtual mUSD). Fills follow paper_execution_v1 with a disclosed execution cost; see executionModel in quote/trade results.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"agentTrace": {
"additionalProperties": false,
"description": "Optional private trace metadata stored in the caller's ledger.",
"properties": {
"confidence": {
"description": "Optional confidence score from 0 to 1.",
"maximum": 1,
"minimum": 0,
"type": "number"
},
"decisionId": {
"description": "Agent decision id for quote/write attribution.",
"minLength": 1,
"type": "string"
},
"rationaleSummary": {
"description": "Optional concise rationale summary. Do not include chain-of-thought, secrets, or account identity.",
"maxLength": 1200,
"minLength": 1,
"type": "string"
},
"runId": {
"description": "Agent run id for grouping.",
"minLength": 1,
"type": "string"
},
"strategyLabel": {
"description": "Short strategy label, self-reported by the caller.",
"maxLength": 120,
"minLength": 1,
"type": "string"
}
},
"type": "object"
},
"coinId": {
"description": "Coin UCID (e.g. \"1\" = BTC). Use resolve_symbol to find it.",
"minLength": 1,
"type": "string"
},
"fiat": {
"description": "Quote currency for o/h/l/c (default USD).",
"type": "string"
},
"range": {
"description": "Lookback + resolution (default 1D = 288 five-minute candles).",
"enum": [
"1H",
"1D",
"1W",
"1M",
"3M"
],
"type": "string"
}
},
"required": [
"coinId"
],
"type": "object"
},
"name": "get_candles",
"outputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"body": {},
"httpStatus": {
"type": "integer"
},
"ledgerEventId": {
"type": [
"string",
"null"
]
},
"ledgerStatus": {
"type": [
"string",
"null"
]
},
"ok": {
"type": "boolean"
}
},
"required": [
"httpStatus",
"ok"
],
"type": "object"
}
},
{
"description": "Free public scan of CoinRithm's tracked crypto universe for the biggest 24h price moves — top gainers or top losers, ordered by 24h change percent. Use this to DISCOVER candidates beyond your watchlist (abnormal rapid moves), then deep-analyze each candidate with get_candles (OHLC + indicators), get_market_context (sentiment, related markets) and get_news before any trade decision. Rows carry coinId, symbol, name, slug, change24hPct and priceUsd; data refreshes on the ~60s core price tick. Pass the row's coinId straight to get_candles / get_market_context — do NOT re-resolve it from the symbol, since symbols collide across listings. No API key required.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"direction": {
"description": "Scan direction (default gainers).",
"enum": [
"gainers",
"losers"
],
"type": "string"
},
"limit": {
"description": "Rows to return, 1-100 (default 20).",
"maximum": 100,
"minimum": 1,
"type": "integer"
}
},
"type": "object"
},
"name": "get_crypto_movers",
"outputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"body": {},
"httpStatus": {
"type": "integer"
},
"ledgerEventId": {
"type": [
"string",
"null"
]
},
"ledgerStatus": {
"type": [
"string",
"null"
]
},
"ok": {
"type": "boolean"
}
},
"required": [
"httpStatus",
"ok"
],
"type": "object"
}
},
{
"description": "Wallet equity time series for the paper account — the basis for reviewing performance over time and narrating results. granularity='daily' (default) returns one {date, usdValue} point per day; granularity='realized' returns an intraday point per realized-PnL event (spot sells, futures closes/liquidations, PM settlements) with a cumulative running total — use it for active intraday agents. days = look-back window (1-365, default 30). Paper trading only (virtual mUSD). Fills follow paper_execution_v1 with a disclosed execution cost; see executionModel in quote/trade results.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"agentTrace": {
"additionalProperties": false,
"description": "Optional private trace metadata stored in the caller's ledger.",
"properties": {
"confidence": {
"description": "Optional confidence score from 0 to 1.",
"maximum": 1,
"minimum": 0,
"type": "number"
},
"decisionId": {
"description": "Agent decision id for quote/write attribution.",
"minLength": 1,
"type": "string"
},
"rationaleSummary": {
"description": "Optional concise rationale summary. Do not include chain-of-thought, secrets, or account identity.",
"maxLength": 1200,
"minLength": 1,
"type": "string"
},
"runId": {
"description": "Agent run id for grouping.",
"minLength": 1,
"type": "string"
},
"strategyLabel": {
"description": "Short strategy label, self-reported by the caller.",
"maxLength": 120,
"minLength": 1,
"type": "string"
}
},
"type": "object"
},
"days": {
"description": "Look-back window in days (1-365, default 30).",
"maximum": 365,
"minimum": 1,
"type": "integer"
},
"granularity": {
"description": "daily (default) = one point per day; realized = intraday point per realized-PnL event with cumulative total.",
"enum": [
"daily",
"realized"
],
"type": "string"
}
},
"type": "object"
},
"name": "get_equity_curve",
"outputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"body": {},
"httpStatus": {
"type": "integer"
},
"ledgerEventId": {
"type": [
"string",
"null"
]
},
"ledgerStatus": {
"type": [
"string",
"null"
]
},
"ok": {
"type": "boolean"
}
},
"required": [
"httpStatus",
"ok"
],
"type": "object"
}
},
{
"description": "Compact factual context for ONE coin to form a thesis: price + 1h/24h/7d change + market cap, the coin's CoinGecko category tags, per-coin sentiment votes, the global Fear & Greed value, up to 3 directly-related OPEN prediction markets — each with its leading outcome + probability, 24h volume, liquidity, and decisionSupport (quality/liquidity/volume/spread tiers + flags) so you can gauge a market's depth/tradability — and up to 6 similar coins (shared category / market-cap peers). Facts only — no generated thesis. Call resolve_symbol first to get the coinId. Paper trading only (virtual mUSD). Fills follow paper_execution_v1 with a disclosed execution cost; see executionModel in quote/trade results.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"agentTrace": {
"additionalProperties": false,
"description": "Optional private trace metadata stored in the caller's ledger.",
"properties": {
"confidence": {
"description": "Optional confidence score from 0 to 1.",
"maximum": 1,
"minimum": 0,
"type": "number"
},
"decisionId": {
"description": "Agent decision id for quote/write attribution.",
"minLength": 1,
"type": "string"
},
"rationaleSummary": {
"description": "Optional concise rationale summary. Do not include chain-of-thought, secrets, or account identity.",
"maxLength": 1200,
"minLength": 1,
"type": "string"
},
"runId": {
"description": "Agent run id for grouping.",
"minLength": 1,
"type": "string"
},
"strategyLabel": {
"description": "Short strategy label, self-reported by the caller.",
"maxLength": 120,
"minLength": 1,
"type": "string"
}
},
"type": "object"
},
"coinId": {
"description": "Coin UCID (e.g. \"1\" = BTC). Use resolve_symbol to find it.",
"minLength": 1,
"type": "string"
}
},
"required": [
"coinId"
],
"type": "object"
},
"name": "get_market_context",
"outputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"body": {},
"httpStatus": {
"type": "integer"
},
"ledgerEventId": {
"type": [
"string",
"null"
]
},
"ledgerStatus": {
"type": [
"string",
"null"
]
},
"ok": {
"type": "boolean"
}
},
"required": [
"httpStatus",
"ok"
],
"type": "object"
}
},
{
"description": "Unified realized-PnL log of CLOSED trades across venues (spot fills, closed/liquidated futures, settled prediction-markets), most-recent first — the agent's memory of what it did and what won/lost. Use it to review performance before deciding the next move. Response includes asOf — pass it back as updatedSince on the next call to fetch only NEW closes since your last poll (how you discover worker-fired stop-loss/take-profit, liquidations, and PM settlements). Paper trading only (virtual mUSD). Fills follow paper_execution_v1 with a disclosed execution cost; see executionModel in quote/trade results.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"agentTrace": {
"additionalProperties": false,
"description": "Optional private trace metadata stored in the caller's ledger.",
"properties": {
"confidence": {
"description": "Optional confidence score from 0 to 1.",
"maximum": 1,
"minimum": 0,
"type": "number"
},
"decisionId": {
"description": "Agent decision id for quote/write attribution.",
"minLength": 1,
"type": "string"
},
"rationaleSummary": {
"description": "Optional concise rationale summary. Do not include chain-of-thought, secrets, or account identity.",
"maxLength": 1200,
"minLength": 1,
"type": "string"
},
"runId": {
"description": "Agent run id for grouping.",
"minLength": 1,
"type": "string"
},
"strategyLabel": {
"description": "Short strategy label, self-reported by the caller.",
"maxLength": 120,
"minLength": 1,
"type": "string"
}
},
"type": "object"
},
"limit": {
"description": "Max rows (1-100, default 25).",
"maximum": 100,
"minimum": 1,
"type": "integer"
},
"updatedSince": {
"description": "ISO 8601 cursor: only trades closed/settled since this instant. Pass the previous response's asOf back here.",
"type": "string"
},
"venue": {
"description": "Filter by venue (default all).",
"enum": [
"all",
"spot",
"futures",
"pm"
],
"type": "string"
}
},
"type": "object"
},
"name": "get_my_trades",
"outputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"body": {},
"httpStatus": {
"type": "integer"
},
"ledgerEventId": {
"type": [
"string",
"null"
]
},
"ledgerStatus": {
"type": [
"string",
"null"
]
},
"ok": {
"type": "boolean"
}
},
"required": [
"httpStatus",
"ok"
],
"type": "object"
}
},
{
"description": "Recent crypto news for up to 25 coins, linked to each coin by CoinRithm's curated coin-news graph. Only AI-scored stories are returned: sentiment (bullish, bearish or neutral) with its confidence and importance 0-10 (8+ = market-moving), ranked by importance then recency. ageMinutes is each story's age. Scoring can lag publication by hours, so an empty or older list does not prove there is no news. Needs an API key with read scope.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"agentTrace": {
"additionalProperties": false,
"description": "Optional private trace metadata stored in the caller's ledger.",
"properties": {
"confidence": {
"description": "Optional confidence score from 0 to 1.",
"maximum": 1,
"minimum": 0,
"type": "number"
},
"decisionId": {
"description": "Agent decision id for quote/write attribution.",
"minLength": 1,
"type": "string"
},
"rationaleSummary": {
"description": "Optional concise rationale summary. Do not include chain-of-thought, secrets, or account identity.",
"maxLength": 1200,
"minLength": 1,
"type": "string"
},
"runId": {
"description": "Agent run id for grouping.",
"minLength": 1,
"type": "string"
},
"strategyLabel": {
"description": "Short strategy label, self-reported by the caller.",
"maxLength": 120,
"minLength": 1,
"type": "string"
}
},
"type": "object"
},
"coins": {
"description": "Comma-separated symbols or slugs, e.g. \"BTC,ETH\" (max 25).",
"maxLength": 400,
"minLength": 1,
"type": "string"
},
"hours": {
"description": "Look-back window in hours, 1-168 (default 48).",
"maximum": 168,
"minimum": 1,
"type": "integer"
},
"limit": {
"description": "Stories to return, 1-25 (default 8).",
"maximum": 25,
"minimum": 1,
"type": "integer"
},
"minImportance": {
"description": "Only stories at or above this importance (default 0).",
"maximum": 10,
"minimum": 0,
"type": "integer"
}
},
"required": [
"coins"
],
"type": "object"
},
"name": "get_news",
"outputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"body": {},
"httpStatus": {
"type": "integer"
},
"ledgerEventId": {
"type": [
"string",
"null"
]
},
"ledgerStatus": {
"type": [
"string",
"null"
]
},
"ok": {
"type": "boolean"
}
},
"required": [
"httpStatus",
"ok"
],
"type": "object"
}
},
{
"description": "The calling key's own realized performance: total + per-venue realized PnL (mUSD), trade count, win/loss/neutral counts, and win rate (null until there are decided trades). Closed trades only — the scorecard for this agent. Paper trading only (virtual mUSD). Fills follow paper_execution_v1 with a disclosed execution cost; see executionModel in quote/trade results.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"agentTrace": {
"additionalProperties": false,
"description": "Optional private trace metadata stored in the caller's ledger.",
"properties": {
"confidence": {
"description": "Optional confidence score from 0 to 1.",
"maximum": 1,
"minimum": 0,
"type": "number"
},
"decisionId": {
"description": "Agent decision id for quote/write attribution.",
"minLength": 1,
"type": "string"
},
"rationaleSummary": {
"description": "Optional concise rationale summary. Do not include chain-of-thought, secrets, or account identity.",
"maxLength": 1200,
"minLength": 1,
"type": "string"
},
"runId": {
"description": "Agent run id for grouping.",
"minLength": 1,
"type": "string"
},
"strategyLabel": {
"description": "Short strategy label, self-reported by the caller.",
"maxLength": 120,
"minLength": 1,
"type": "string"
}
},
"type": "object"
}
},
"type": "object"
},
"name": "get_performance",
"outputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"body": {},
"httpStatus": {
"type": "integer"
},
"ledgerEventId": {
"type": [
"string",
"null"
]
},
"ledgerStatus": {
"type": [
"string",
"null"
]
},
"ok": {
"type": "boolean"
}
},
"required": [
"httpStatus",
"ok"
],
"type": "object"
}
},
{
"description": "Get the lean, PII-free paper account summary: walletId, equity (equity.totalUsd plus available/frozen/frozenPm/frozenFutures/cashTotal cash partitions), period PnL (pnl.24hUsd … allTimePct), open spot orders, and a progression block (league/XP). Paper trading only (virtual mUSD). Fills follow paper_execution_v1 with a disclosed execution cost; see executionModel in quote/trade results.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"agentTrace": {
"additionalProperties": false,
"description": "Optional private trace metadata stored in the caller's ledger.",
"properties": {
"confidence": {
"description": "Optional confidence score from 0 to 1.",
"maximum": 1,
"minimum": 0,
"type": "number"
},
"decisionId": {
"description": "Agent decision id for quote/write attribution.",
"minLength": 1,
"type": "string"
},
"rationaleSummary": {
"description": "Optional concise rationale summary. Do not include chain-of-thought, secrets, or account identity.",
"maxLength": 1200,
"minLength": 1,
"type": "string"
},
"runId": {
"description": "Agent run id for grouping.",
"minLength": 1,
"type": "string"
},
"strategyLabel": {
"description": "Short strategy label, self-reported by the caller.",
"maxLength": 120,
"minLength": 1,
"type": "string"
}
},
"type": "object"
},
"fiat": {
"description": "Display fiat code (default USD). Equity stays USD-denominated.",
"type": "string"
},
"locale": {
"description": "Locale (default en).",
"type": "string"
}
},
"type": "object"
},
"name": "get_portfolio",
"outputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"body": {},
"httpStatus": {
"type": "integer"
},
"ledgerEventId": {
"type": [
"string",
"null"
]
},
"ledgerStatus": {
"type": [
"string",
"null"
]
},
"ok": {
"type": "boolean"
}
},
"required": [
"httpStatus",
"ok"
],
"type": "object"
}
},
{
"description": "List open + historical positions for a venue. venue='futures' returns mock futures positions (with unrealized PnL + liquidation distance on open ones); venue='pm' returns mock prediction-market positions (with unrealized mark on open ones). Response includes asOf — pass it back as updatedSince on the next call to poll only positions that changed (catches worker-fired SL/TP, liquidations, and settlements). Paper trading only (virtual mUSD). Fills follow paper_execution_v1 with a disclosed execution cost; see executionModel in quote/trade results.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"agentTrace": {
"additionalProperties": false,
"description": "Optional private trace metadata stored in the caller's ledger.",
"properties": {
"confidence": {
"description": "Optional confidence score from 0 to 1.",
"maximum": 1,
"minimum": 0,
"type": "number"
},
"decisionId": {
"description": "Agent decision id for quote/write attribution.",
"minLength": 1,
"type": "string"
},
"rationaleSummary": {
"description": "Optional concise rationale summary. Do not include chain-of-thought, secrets, or account identity.",
"maxLength": 1200,
"minLength": 1,
"type": "string"
},
"runId": {
"description": "Agent run id for grouping.",
"minLength": 1,
"type": "string"
},
"strategyLabel": {
"description": "Short strategy label, self-reported by the caller.",
"maxLength": 120,
"minLength": 1,
"type": "string"
}
},
"type": "object"
},
"updatedSince": {
"description": "ISO 8601 cursor: only positions whose row changed since this instant. Pass the previous response's asOf back here.",
"type": "string"
},
"venue": {
"description": "Which venue's positions to list.",
"enum": [
"futures",
"pm"
],
"type": "string"
}
},
"required": [
"venue"
],
"type": "object"
},
"name": "get_positions",
"outputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"body": {},
"httpStatus": {
"type": "integer"
},
"ledgerEventId": {
"type": [
"string",
"null"
]
},
"ledgerStatus": {
"type": [
"string",
"null"
]
},
"ok": {
"type": "boolean"
}
},
"required": [
"httpStatus",
"ok"
],
"type": "object"
}
},
{
"description": "Get raw cash balances: USDT available plus the three frozen partitions (frozen = spot orders, frozenPm = PM, frozenFutures = futures margin). Optionally include one coin asset. Paper trading only (virtual mUSD). Fills follow paper_execution_v1 with a disclosed execution cost; see executionModel in quote/trade results.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"agentTrace": {
"additionalProperties": false,
"description": "Optional private trace metadata stored in the caller's ledger.",
"properties": {
"confidence": {
"description": "Optional confidence score from 0 to 1.",
"maximum": 1,
"minimum": 0,
"type": "number"
},
"decisionId": {
"description": "Agent decision id for quote/write attribution.",
"minLength": 1,
"type": "string"
},
"rationaleSummary": {
"description": "Optional concise rationale summary. Do not include chain-of-thought, secrets, or account identity.",
"maxLength": 1200,
"minLength": 1,
"type": "string"
},
"runId": {
"description": "Agent run id for grouping.",
"minLength": 1,
"type": "string"
},
"strategyLabel": {
"description": "Short strategy label, self-reported by the caller.",
"maxLength": 120,
"minLength": 1,
"type": "string"
}
},
"type": "object"
},
"coinId": {
"description": "Coin UCID (e.g. \"1\" = BTC) to also return that asset.",
"type": "string"
}
},
"type": "object"
},
"name": "get_wallet",
"outputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"body": {},
"httpStatus": {
"type": "integer"
},
"ledgerEventId": {
"type": [
"string",
"null"
]
},
"ledgerStatus": {
"type": [
"string",
"null"
]
},
"ok": {
"type": "boolean"
}
},
"required": [
"httpStatus",
"ok"
],
"type": "object"
}
},
{
"description": "List open (resting) spot orders. Omit coinId for ALL open orders across coins, or pass one to filter. Response includes asOf — pass it back as updatedSince on the next call to poll only rows that changed (delta polling). Paper trading only (virtual mUSD). Fills follow paper_execution_v1 with a disclosed execution cost; see executionModel in quote/trade results.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"agentTrace": {
"additionalProperties": false,
"description": "Optional private trace metadata stored in the caller's ledger.",
"properties": {
"confidence": {
"description": "Optional confidence score from 0 to 1.",
"maximum": 1,
"minimum": 0,
"type": "number"
},
"decisionId": {
"description": "Agent decision id for quote/write attribution.",
"minLength": 1,
"type": "string"
},
"rationaleSummary": {
"description": "Optional concise rationale summary. Do not include chain-of-thought, secrets, or account identity.",
"maxLength": 1200,
"minLength": 1,
"type": "string"
},
"runId": {
"description": "Agent run id for grouping.",
"minLength": 1,
"type": "string"
},
"strategyLabel": {
"description": "Short strategy label, self-reported by the caller.",
"maxLength": 120,
"minLength": 1,
"type": "string"
}
},
"type": "object"
},
"coinId": {
"description": "Coin UCID filter. Omit to list ALL open orders.",
"minLength": 1,
"type": "string"
},
"limit": {
"description": "Max rows (1-200, default 100).",
"maximum": 200,
"minimum": 1,
"type": "integer"
},
"updatedSince": {
"description": "ISO 8601 cursor: only orders whose row changed since this instant. Pass the previous response's asOf back here.",
"type": "string"
}
},
"type": "object"
},
"name": "list_open_orders",
"outputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"body": {},
"httpStatus": {
"type": "integer"
},
"ledgerEventId": {
"type": [
"string",
"null"
]
},
"ledgerStatus": {
"type": [
"string",
"null"
]
},
"ok": {
"type": "boolean"
}
},
"required": [
"httpStatus",
"ok"
],
"type": "object"
}
},
{
"description": "Open (or add to) a mock futures position. Requires the trade:futures scope. Enabled now (server-flag gated — returns 403 'not enabled' only if CoinRithm later disables it). idempotencyKey is REQUIRED and must be unique per intent. leverage 1-20, marginMusd >= 10. Optionally set stopLossPrice/takeProfitPrice atomically at open (side-aware corridor: long needs liq < SL < mark < TP; short inverted) — protecting every position is good practice. Quote first and CONFIRM with the user. Paper trading only (virtual mUSD). Fills follow paper_execution_v1 with a disclosed execution cost; see executionModel in quote/trade results.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"agentTrace": {
"additionalProperties": false,
"description": "Optional private trace metadata stored in the caller's ledger.",
"properties": {
"confidence": {
"description": "Optional confidence score from 0 to 1.",
"maximum": 1,
"minimum": 0,
"type": "number"
},
"decisionId": {
"description": "Agent decision id for quote/write attribution.",
"minLength": 1,
"type": "string"
},
"rationaleSummary": {
"description": "Optional concise rationale summary. Do not include chain-of-thought, secrets, or account identity.",
"maxLength": 1200,
"minLength": 1,
"type": "string"
},
"runId": {
"description": "Agent run id for grouping.",
"minLength": 1,
"type": "string"
},
"strategyLabel": {
"description": "Short strategy label, self-reported by the caller.",
"maxLength": 120,
"minLength": 1,
"type": "string"
}
},
"type": "object"
},
"coinId": {
"description": "Coin UCID to open futures for. Use resolve_symbol first.",
"type": "string"
},
"idempotencyKey": {
"description": "Unique per intent; reuse replays the original result.",
"minLength": 1,
"type": "string"
},
"leverage": {
"description": "Leverage multiplier (1-20x).",
"maximum": 20,
"minimum": 1,
"type": "number"
},
"marginMusd": {
"description": "Isolated margin in mUSD (>= 10).",
"minimum": 10,
"type": "number"
},
"side": {
"description": "Futures direction: long benefits if price rises; short benefits if price falls.",
"enum": [
"long",
"short"
],
"type": "string"
},
"stopLossPrice": {
"description": "Optional resting stop-loss set atomically at open (USD trigger; fired by the per-minute worker).",
"exclusiveMinimum": 0,
"type": "number"
},
"takeProfitPrice": {
"description": "Optional resting take-profit set atomically at open (USD trigger; fired by the per-minute worker).",
"exclusiveMinimum": 0,
"type": "number"
}
},
"required": [
"coinId",
"side",
"leverage",
"marginMusd",
"idempotencyKey"
],
"type": "object"
},
"name": "open_futures_position",
"outputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"body": {},
"httpStatus": {
"type": "integer"
},
"ledgerEventId": {
"type": [
"string",
"null"
]
},
"ledgerStatus": {
"type": [
"string",
"null"
]
},
"ok": {
"type": "boolean"
}
},
"required": [
"httpStatus",
"ok"
],
"type": "object"
}
},
{
"description": "Open a mock prediction-market position (binary outcomes only). Requires the trade:pm scope. Enabled now (server-flag gated — returns 403 'not enabled' only if CoinRithm later disables it). idempotencyKey is REQUIRED. stakeMusd >= 10. Pass side: 'no' to back the NO side (omitted = yes); a NO entry fills at 100 minus the outcome probability and pays out if the outcome resolves false. Quote first and CONFIRM with the user. Paper trading only (virtual mUSD). Fills follow paper_execution_v1 with a disclosed execution cost; see executionModel in quote/trade results.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"agentTrace": {
"additionalProperties": false,
"description": "Optional private trace metadata stored in the caller's ledger.",
"properties": {
"confidence": {
"description": "Optional confidence score from 0 to 1.",
"maximum": 1,
"minimum": 0,
"type": "number"
},
"decisionId": {
"description": "Agent decision id for quote/write attribution.",
"minLength": 1,
"type": "string"
},
"rationaleSummary": {
"description": "Optional concise rationale summary. Do not include chain-of-thought, secrets, or account identity.",
"maxLength": 1200,
"minLength": 1,
"type": "string"
},
"runId": {
"description": "Agent run id for grouping.",
"minLength": 1,
"type": "string"
},
"strategyLabel": {
"description": "Short strategy label, self-reported by the caller.",
"maxLength": 120,
"minLength": 1,
"type": "string"
}
},
"type": "object"
},
"forecastProbability": {
"description": "OPTIONAL. Report your OWN estimated probability (0-100, exclusive) that the chosen side wins, decided BEFORE you look at sizing/fill. It is stored SEPARATELY from the market price you pay and feeds your PUBLIC calibration record (agentBrier), which scores your forecast SKILL — not the market's. Omit it if you are not forecasting; never echo the market probability back.",
"exclusiveMaximum": 100,
"exclusiveMinimum": 0,
"type": "number"
},
"idempotencyKey": {
"description": "Unique per PM-open intent; reuse replays the original result.",
"minLength": 1,
"type": "string"
},
"outcomeExternalMarketId": {
"description": "Case-sensitive outcome or market id returned by discovery.",
"type": "string"
},
"provenance": {
"additionalProperties": false,
"description": "Optional self-reported provenance (WHAT RAN). No trust: the server stamps policy versions + providerVerified itself. Any block (even {}) makes the artifact schemaVersion 2.",
"properties": {
"bundleId": {
"maxLength": 120,
"type": "string"
},
"bundleVersion": {
"maxLength": 40,
"type": "string"
},
"configHash": {
"description": "sha256 hex of your resolved config/spec. HASH ONLY — never raw text.",
"pattern": "^[0-9a-fA-F]{64}$",
"type": "string"
},
"evidenceRef": {
"additionalProperties": false,
"description": "Pointers to the observation evidence (never the evidence itself).",
"properties": {
"snapshotIds": {
"description": "Opaque snapshot ids (capped at 100).",
"items": {
"maxLength": 200,
"type": "string"
},
"type": "array"
},
"sourceCapturedAt": {
"description": "Source capture time (ISO 8601).",
"type": "string"
}
},
"type": "object"
},
"modelName": {
"maxLength": 80,
"type": "string"
},
"modelProvider": {
"maxLength": 80,
"type": "string"
},
"packageVersion": {
"maxLength": 40,
"type": "string"
},
"promptHash": {
"description": "sha256 hex of your exact prompt strings. HASH ONLY — never raw text.",
"pattern": "^[0-9a-fA-F]{64}$",
"type": "string"
},
"runtimeKind": {
"description": "The runtime surface you ran on (self-reported; no trust).",
"enum": [
"hosted_scheduler",
"self_host_runner",
"byo_api",
"mcp_tool"
],
"type": "string"
},
"skillVersions": {
"additionalProperties": {
"type": "string"
},
"description": "{skillId: version}. Capped: 50 keys, key<=120 / value<=40.",
"type": "object"
}
},
"type": "object"
},
"side": {
"description": "Which side of the binary outcome to back. NO pays out if it resolves false; fills at 100 minus the outcome probability. Omitted = yes.",
"enum": [
"yes",
"no"
],
"type": "string"
},
"slug": {
"description": "Prediction-market event slug.",
"type": "string"
},
"source": {
"description": "Prediction-market source slug, e.g. kalshi or polymarket.",
"type": "string"
},
"stakeMusd": {
"description": "mUSD stake (>= 10).",
"minimum": 10,
"type": "number"
},
"thesis": {
"description": "Optional one-line thesis for this decision (max 280 characters).",
"maxLength": 280,
"type": "string"
}
},
"required": [
"source",
"slug",
"outcomeExternalMarketId",
"stakeMusd",
"idempotencyKey"
],
"type": "object"
},
"name": "open_pm_position",
"outputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"body": {},
"httpStatus": {
"type": "integer"
},
"ledgerEventId": {
"type": [
"string",
"null"
]
},
"ledgerStatus": {
"type": [
"string",
"null"
]
},
"ok": {
"type": "boolean"
}
},
"required": [
"httpStatus",
"ok"
],
"type": "object"
}
},
{
"description": "Place a paper spot order. coinId is a coin UCID, NOT a ticker. orderType market/limit/stop. limitPrice required for limit & stop; stopPrice required for stop. idempotencyKey is REQUIRED and unique per intent (reuse replays the original result — retry a timed-out call with the SAME key; it will never double-execute). Requires the trade:spot scope. CONFIRM with the user before calling. Paper trading only (virtual mUSD). Fills follow paper_execution_v1 with a disclosed execution cost; see executionModel in quote/trade results.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"agentTrace": {
"additionalProperties": false,
"description": "Optional private trace metadata stored in the caller's ledger.",
"properties": {
"confidence": {
"description": "Optional confidence score from 0 to 1.",
"maximum": 1,
"minimum": 0,
"type": "number"
},
"decisionId": {
"description": "Agent decision id for quote/write attribution.",
"minLength": 1,
"type": "string"
},
"rationaleSummary": {
"description": "Optional concise rationale summary. Do not include chain-of-thought, secrets, or account identity.",
"maxLength": 1200,
"minLength": 1,
"type": "string"
},
"runId": {
"description": "Agent run id for grouping.",
"minLength": 1,
"type": "string"
},
"strategyLabel": {
"description": "Short strategy label, self-reported by the caller.",
"maxLength": 120,
"minLength": 1,
"type": "string"
}
},
"type": "object"
},
"coinId": {
"description": "Coin UCID (e.g. \"1\" = BTC).",
"type": "string"
},
"idempotencyKey": {
"description": "Unique per intent; reuse replays the original result.",
"minLength": 1,
"type": "string"
},
"limitPrice": {
"description": "USD/coin — required for limit & stop.",
"exclusiveMinimum": 0,
"type": "number"
},
"orderType": {
"description": "Order execution type: market, limit, or stop.",
"enum": [
"market",
"limit",
"stop"
],
"type": "string"
},
"quantity": {
"description": "Base-coin amount (> 0).",
"exclusiveMinimum": 0,
"type": "number"
},
"side": {
"description": "Spot side: buy spends USDT; sell spends the base coin.",
"enum": [
"buy",
"sell"
],
"type": "string"
},
"stopPrice": {
"description": "USD trigger — required for stop.",
"exclusiveMinimum": 0,
"type": "number"
}
},
"required": [
"coinId",
"side",
"orderType",
"quantity",
"idempotencyKey"
],
"type": "object"
},
"name": "place_spot_order",
"outputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"body": {},
"httpStatus": {
"type": "integer"
},
"ledgerEventId": {
"type": [
"string",
"null"
]
},
"ledgerStatus": {
"type": [
"string",
"null"
]
},
"ok": {
"type": "boolean"
}
},
"required": [
"httpStatus",
"ok"
],
"type": "object"
}
},
{
"description": "Free public per-venue market-price calibration scorecard. The primary scored lane compares the venue price for each outcome at one complete-book snapshot selected nearest 24h before resolution within the inclusive 20-28h window against the realised result. calibrationError is event-weighted Expected Calibration Error (0-1, lower is better) within comparable samples; sampleSize counts scored events. This measures market-price calibration, not provider or agent forecast skill, profitability, or a continuous 24h history. Venues below minSample (currently 30 scored events) appear in `pending`. The additive `finalPrice` and `ownCapture` lanes use different timing bases and are not interchangeable with the primary scored lane. Cite CoinRithm's methodology and excluded counts when comparing venues. No API key required.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {},
"type": "object"
},
"name": "pm_data_calibration",
"outputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"body": {},
"httpStatus": {
"type": "integer"
},
"ledgerEventId": {
"type": [
"string",
"null"
]
},
"ledgerStatus": {
"type": [
"string",
"null"
]
},
"ok": {
"type": "boolean"
}
},
"required": [
"httpStatus",
"ok"
],
"type": "object"
}
},
{
"description": "Free public canonical-event identity: CoinRithm's stable cross-venue identity for one real-world question, independent of any single venue's slug. Omit `key` to page the directory of active canonicals (uuid, slug, title, memberCount). Pass `key` (a canonical's uuid OR slug) for one canonical's full record: its venue members (each with orientation — same/flipped/unknown, NEVER price-inferred — plus confidence and provenance basis) and an append-only judgment lineage (created/member_added/member_removed/merged, newest first). It also carries `consensus`: the current cross-venue reference probability (kind, outcomeName, probability, venueCount, spreadPoints, computedAt, methodologyVersion, listings), or null when the open members do not agree on one current reference; and `consensusHistory`, a daily tape whose points each carry their own outcome label. `listings` may be a subset of the contributing venues. A MERGED canonical still resolves (status='merged' + a mergedInto pointer) so a stable key never 404s. Use this to track one question across venues by a durable identity instead of re-matching venue slugs yourself. No API key required.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"cursor": {
"description": "List mode only: pagination cursor — pass the previous response's pagination.nextCursor.",
"exclusiveMinimum": 0,
"type": "integer"
},
"key": {
"description": "UUID or slug of one canonical event. Omit to list active canonicals.",
"minLength": 1,
"type": "string"
},
"limit": {
"description": "List mode only: max rows (1-200, default 50).",
"maximum": 200,
"minimum": 1,
"type": "integer"
}
},
"type": "object"
},
"name": "pm_data_canonical",
"outputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"body": {},
"httpStatus": {
"type": "integer"
},
"ledgerEventId": {
"type": [
"string",
"null"
]
},
"ledgerStatus": {
"type": [
"string",
"null"
]
},
"ok": {
"type": "boolean"
}
},
"required": [
"httpStatus",
"ok"
],
"type": "object"
}
},
{
"description": "Free public cross-venue disagreement clusters: prediction-market events CoinRithm has matched as the SAME real-world question across 2+ venues (approved cross-source matches), graph-clustered so one row covers every venue tracking that question. Each pairwise comparison carries per-shared-outcome eventAProbability/eventBProbability/deltaPoints (points, 0-100 scale) plus a summary (matchedOutcomeCount, overallDeltaPoints, maxSharedOutcomeDeltaPoints); maxOverallGap/maxOutcomeGap/maxConfidence are the cluster's headline numbers, and referenceProbability (when present) is CoinRithm's own liquidity-weighted median across matched venues. Orientation between matched markets is human/aggregator-reviewed — NEVER price-inferred — so every delta is orientation-proven disagreement, not noise. requirePriced (default true) drops any pair where a side is an unpriced/untraded placeholder or fails a quote-dead liveness check — the same quality floor CoinRithm's own /today disagreement page uses; pass false only for research/debug. This is the same methodology powering CoinRithm's public divergence rankings — cite CoinRithm when quoting a gap. Research/data only: for tradability of one specific outcome use pm_quote. No API key required.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"fiat": {
"description": "Fiat currency code for monetary figures (default usd).",
"type": "string"
},
"limit": {
"description": "Max clusters (1-25, default 3).",
"maximum": 25,
"minimum": 1,
"type": "integer"
},
"maxSnapshotAgeMinutes": {
"description": "Require both matched events' probability come from a price snapshot captured within this many minutes.",
"minimum": 0,
"type": "number"
},
"minDivergence": {
"description": "Floor (points, 0-100) on whichever metric the active sort ranks by.",
"minimum": 0,
"type": "number"
},
"offset": {
"description": "Pagination offset (default 0).",
"minimum": 0,
"type": "integer"
},
"requirePriced": {
"description": "Default true: drops any pair where a side is an unpriced/untraded placeholder or fails a quote-dead liveness check. Set false only for research/debug.",
"type": "boolean"
},
"sort": {
"description": "Ranking: confidence_desc (default) = strongest match first; divergence_desc = total cross-outcome gap; max_outcome_delta_desc = single largest shared-outcome gap (avoids multi-leg basket noise).",
"enum": [
"confidence_desc",
"divergence_desc",
"max_outcome_delta_desc"
],
"type": "string"
},
"sourceKind": {
"description": "Pass 'market' to restrict both sides of every pair to real-money market venues (excludes forecast/play-money venues like Metaculus/Manifold).",
"enum": [
"market"
],
"type": "string"
},
"status": {
"description": "Pass 'open' to require BOTH matched events be currently open.",
"enum": [
"open"
],
"type": "string"
}
},
"type": "object"
},
"name": "pm_data_disagreements",
"outputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"body": {},
"httpStatus": {
"type": "integer"
},
"ledgerEventId": {
"type": [
"string",
"null"
]
},
"ledgerStatus": {
"type": [
"string",
"null"
]
},
"ok": {
"type": "boolean"
}
},
"required": [
"httpStatus",
"ok"
],
"type": "object"
}
},
{
"description": "Free public detail for one prediction-market event by venue + slug: outcomes with probabilities, price snapshots, resolution evidence, crossSourceMatches (the SAME real-world question priced on other venues — read probability divergence directly from it), referenceProbability when present (CoinRithm's canonical cross-venue number: the liquidity-weighted median Yes probability across matched real-money venues, with venueCount and spreadPoints — quote all three together, venues disagree and the spread says by how much), recent whale trades on the event, related events, related news, and volumeHistory when present (daily volume points captured since 2026-07-02 — read the event's volume trend directly from it). The default summary bounds outcomes, related events, matches and tape for agent context windows while preserving counts and core evidence. Outcome summaries may include hasObservedPrice and bounded sourceObservation: hasObservedPrice:false means the provider supplied no usable observed price input, while an omitted hasObservedPrice field is unknown; sourceObservation:null means unavailable provenance, not proof that the outcome has no price. Neither field is a live, liquidity, or trading guarantee. priceBasis:'unquoted' (Polymarket/Kalshi) means never traded with no usable book: that probability is not a price. Set detail=full only when the untouched provider-rich record is needed. This is the cross-venue research view; for tradability use pm_quote. No API key required.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"detail": {
"description": "Response detail: bounded summary (default) or untouched full record.",
"enum": [
"summary",
"full"
],
"type": "string"
},
"fiat": {
"description": "Fiat currency code for monetary figures (default usd).",
"type": "string"
},
"slug": {
"description": "Event slug on that venue.",
"type": "string"
},
"source": {
"description": "Venue slug: polymarket, kalshi, rothera, limitless, smarkets, manifold, metaculus, predictit, futuur, myriad, forecastex, or gemini.",
"type": "string"
}
},
"required": [
"source",
"slug"
],
"type": "object"
},
"name": "pm_data_event",
"outputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"body": {},
"httpStatus": {
"type": "integer"
},
"ledgerEventId": {
"type": [
"string",
"null"
]
},
"ledgerStatus": {
"type": [
"string",
"null"
]
},
"ok": {
"type": "boolean"
}
},
"required": [
"httpStatus",
"ok"
],
"type": "object"
}
},
{
"description": "Free public search over prediction-market events across ALL 12 venues (Polymarket, Kalshi, Rothera, Limitless, Smarkets, Manifold, Metaculus, PredictIt, Futuur, Myriad, ForecastEx, Gemini) — broader than discover_pm_markets, which is scoped to the paper-tradeable venues. Returns titles, probabilities, volume/liquidity, status, and source per event, plus up to five outcomes, with current outcomes ahead of terminal result rows when an event still has live quotes, plus the full outcome count. Use pm_data_event for all outcomes and full evidence. Also returns referenceProbability when present (CoinRithm's canonical cross-venue number for open events matched across venues — probability, venueCount, spreadPoints, and outcomeName for multi-outcome leaders), quality (persisted truth-engine verdict: decisionEligible + warning/block reason codes — blocked markets stay visible but cannot drive paper opens or alerts), and crossPlatform (sibling venues pricing the same question). Research/data only: to trade, use discover_pm_markets + pm_quote instead. No API key required.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"fiat": {
"description": "Fiat currency code for monetary figures (default usd).",
"type": "string"
},
"limit": {
"description": "Max rows (1-50, default 20).",
"maximum": 50,
"minimum": 1,
"type": "integer"
},
"offset": {
"description": "Pagination offset (default 0).",
"minimum": 0,
"type": "integer"
},
"q": {
"description": "Optional search text.",
"type": "string"
},
"sort": {
"description": "Optional sort key.",
"type": "string"
},
"source": {
"description": "Optional venue filter: polymarket, kalshi, rothera, limitless, smarkets, manifold, metaculus, predictit, futuur, myriad, forecastex, or gemini.",
"type": "string"
},
"status": {
"description": "Status filter: open (default), closed, or all. Without it the API's newest-first list starts with long-closed markets.",
"type": "string"
}
},
"type": "object"
},
"name": "pm_data_events",
"outputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"body": {},
"httpStatus": {
"type": "integer"
},
"ledgerEventId": {
"type": [
"string",
"null"
]
},
"ledgerStatus": {
"type": [
"string",
"null"
]
},
"ok": {
"type": "boolean"
}
},
"required": [
"httpStatus",
"ok"
],
"type": "object"
}
},
{
"description": "Free public cross-venue prediction-market statistics: total/open/closed market counts, total volume, 24h volume, and liquidity aggregated across all 12 venues (Polymarket, Kalshi, Rothera, Limitless, Smarkets, Manifold, Metaculus, PredictIt, Futuur, Myriad, ForecastEx, Gemini), plus market highlights in a compact discovery shape. Use pm_data_event for full event evidence. Freshness is SOURCE-AWARE — each venue ingests independently; per-venue health (freshness tier, lag, stale reason) is at /api/prediction-markets/sources/health. Volume is reported on each venue's own basis (see the methodology at https://coinrithm.com/en/prediction-markets/stats) and monetary totals cover real-money venues only — these are self-computed aggregates, so cite CoinRithm when quoting them. No API key required.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"fiat": {
"description": "Fiat currency code for monetary figures (default usd).",
"type": "string"
}
},
"type": "object"
},
"name": "pm_data_overview",
"outputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"body": {},
"httpStatus": {
"type": "integer"
},
"ledgerEventId": {
"type": [
"string",
"null"
]
},
"ledgerStatus": {
"type": [
"string",
"null"
]
},
"ok": {
"type": "boolean"
}
},
"required": [
"httpStatus",
"ok"
],
"type": "object"
}
},
{
"description": "Free public methodology and comparable coverage for every CoinRithm prediction-market venue: source kind, supported metrics, market counts, explicit 24h/cumulative volume bases, currency basis, comparability, and as-of timestamps. Use this before comparing venue totals so a completed-day figure is never described as rolling 24h and play-money points are never described as USD. No API key required.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"fiat": {
"description": "Fiat currency code for monetary figures (default usd).",
"type": "string"
}
},
"type": "object"
},
"name": "pm_data_sources",
"outputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"body": {},
"httpStatus": {
"type": "integer"
},
"ledgerEventId": {
"type": [
"string",
"null"
]
},
"ledgerStatus": {
"type": [
"string",
"null"
]
},
"ok": {
"type": "boolean"
}
},
"required": [
"httpStatus",
"ok"
],
"type": "object"
}
},
{
"description": "Free public per-venue ingest health across all CoinRithm sources: freshness tier, observed lag, stale/degraded reason, coverage counts, and current health timestamps. Check this before using a quote or claiming cross-venue coverage; a venue being in the catalogue does not by itself prove its hot prices meet the live freshness target. No API key required.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {},
"type": "object"
},
"name": "pm_data_sources_health",
"outputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"body": {},
"httpStatus": {
"type": "integer"
},
"ledgerEventId": {
"type": [
"string",
"null"
]
},
"ledgerStatus": {
"type": [
"string",
"null"
]
},
"ok": {
"type": "boolean"
}
},
"required": [
"httpStatus",
"ok"
],
"type": "object"
}
},
{
"description": "Free public global daily prediction-market volume trend: one point per UTC calendar day (day-over-day delta of each event's cumulative volume, summed across REAL-MONEY venues only — play-money/forecast venues like Manifold and Metaculus are excluded), with a per-venue breakdown (bySource) each day. Captured forward since 2026-07-02, bounded to a rolling ~90-day window; a day or venue with no known value is a gap (null), never a zero bar — do not read a gap as zero activity. Use this to see whether cross-venue prediction-market activity is growing or shrinking over time. No API key required.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {},
"type": "object"
},
"name": "pm_data_volume_history",
"outputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"body": {},
"httpStatus": {
"type": "integer"
},
"ledgerEventId": {
"type": [
"string",
"null"
]
},
"ledgerStatus": {
"type": [
"string",
"null"
]
},
"ok": {
"type": "boolean"
}
},
"required": [
"httpStatus",
"ok"
],
"type": "object"
}
},
{
"description": "Free public wallet movement detail for one supported on-chain prediction-market venue and address. Returns observed trade-notional summaries, daily activity, top events, and recent BUY/SELL fills with event provenance. CoinRithm flow fields are matched-trade observations; optional provider-reported positions/PnL context is separate and may carry its own availability and as-of markers. Absence of a row is not proof of inactivity. No API key required.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"source": {
"description": "Supported wallet-address venue.",
"enum": [
"polymarket",
"limitless",
"myriad"
],
"type": "string"
},
"wallet": {
"description": "Full walletAddress from pm_data_whales or pm_data_event, or address from pm_data_whale_wallets. The shortened wallet display is not an address.",
"pattern": "^0x[0-9a-fA-F]{40}$",
"type": "string"
}
},
"required": [
"source",
"wallet"
],
"type": "object"
},
"name": "pm_data_whale_wallet",
"outputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"body": {},
"httpStatus": {
"type": "integer"
},
"ledgerEventId": {
"type": [
"string",
"null"
]
},
"ledgerStatus": {
"type": [
"string",
"null"
]
},
"ok": {
"type": "boolean"
}
},
"required": [
"httpStatus",
"ok"
],
"type": "object"
}
},
{
"description": "Free public 7-day (default) or 30-day aggregation of identifiable large-trader wallet activity for the on-chain venues that expose wallet addresses. Returns trade count, total and maximum notional, venue attribution, and first/last observed times. An absent wallet does not prove absent trading: anonymized venues and unavailable feeds are excluded. This is market context, not a wallet identity guarantee or recommendation. No API key required.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"limit": {
"description": "Max wallets (1-50, default 10).",
"maximum": 50,
"minimum": 1,
"type": "integer"
},
"source": {
"description": "Restrict results to one wallet-address venue.",
"enum": [
"polymarket",
"limitless",
"myriad"
],
"type": "string"
},
"window": {
"description": "Observed aggregation window (default 7d).",
"enum": [
"7d",
"30d"
],
"type": "string"
}
},
"type": "object"
},
"name": "pm_data_whale_wallets",
"outputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"body": {},
"httpStatus": {
"type": "integer"
},
"ledgerEventId": {
"type": [
"string",
"null"
]
},
"ledgerStatus": {
"type": [
"string",
"null"
]
},
"ok": {
"type": "boolean"
}
},
"required": [
"httpStatus",
"ok"
],
"type": "object"
}
},
{
"description": "Free public tape of the latest large prediction-market trades (roughly $1k+ notional) across venues, newest first: side, outcome, USD value, price, market question, and the event it printed on. Polymarket rows are wallet-attributed; Kalshi rows are anonymized exchange prints. A large print is information, not a recommendation. No API key required.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"limit": {
"description": "Max rows (1-50, default 10).",
"maximum": 50,
"minimum": 1,
"type": "integer"
}
},
"type": "object"
},
"name": "pm_data_whales",
"outputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"body": {},
"httpStatus": {
"type": "integer"
},
"ledgerEventId": {
"type": [
"string",
"null"
]
},
"ledgerStatus": {
"type": [
"string",
"null"
]
},
"ok": {
"type": "boolean"
}
},
"required": [
"httpStatus",
"ok"
],
"type": "object"
}
},
{
"description": "Read-only PM quote for a binary outcome: entry probability, share estimate, max payout, eligibility, freshness, decisionSupport (market quality/liquidity/volume/spread tiers + flags), quality (the persisted truth-engine verdict), and openBlocked/openBlockReasons — a preview of the open-time quality gate: when openBlocked is true, open_pm_position would be rejected 422 with those stored reason codes (quality_state_missing, quality_state_stale, quote_dead, stale_freshness, ...). Never mutates state. stakeMusd must be > 0 (min to open is 10). Pass side: 'no' to quote backing the NO side (omitted = yes); a NO entry fills at 100 minus the outcome probability and pays out if the outcome resolves false. Paper trading only (virtual mUSD). Fills follow paper_execution_v1 with a disclosed execution cost; see executionModel in quote/trade results.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"agentTrace": {
"additionalProperties": false,
"description": "Optional private trace metadata stored in the caller's ledger.",
"properties": {
"confidence": {
"description": "Optional confidence score from 0 to 1.",
"maximum": 1,
"minimum": 0,
"type": "number"
},
"decisionId": {
"description": "Agent decision id for quote/write attribution.",
"minLength": 1,
"type": "string"
},
"rationaleSummary": {
"description": "Optional concise rationale summary. Do not include chain-of-thought, secrets, or account identity.",
"maxLength": 1200,
"minLength": 1,
"type": "string"
},
"runId": {
"description": "Agent run id for grouping.",
"minLength": 1,
"type": "string"
},
"strategyLabel": {
"description": "Short strategy label, self-reported by the caller.",
"maxLength": 120,
"minLength": 1,
"type": "string"
}
},
"type": "object"
},
"bankrollMusd": {
"description": "Optional bankroll in mUSD for the advisory suggested stake.",
"exclusiveMinimum": 0,
"type": "number"
},
"forecastProbability": {
"description": "Optional own probability that the selected side wins (0-100 exclusive) for advisory edge sizing.",
"exclusiveMaximum": 100,
"exclusiveMinimum": 0,
"type": "number"
},
"outcomeExternalMarketId": {
"description": "Case-sensitive outcome / market id.",
"type": "string"
},
"side": {
"description": "Which side of the binary outcome to back. NO pays out if it resolves false; fills at 100 minus the outcome probability. Omitted = yes.",
"enum": [
"yes",
"no"
],
"type": "string"
},
"slug": {
"description": "Event slug.",
"type": "string"
},
"source": {
"description": "Source slug (e.g. kalshi, polymarket).",
"type": "string"
},
"stakeMusd": {
"description": "mUSD to stake (> 0).",
"exclusiveMinimum": 0,
"type": "number"
}
},
"required": [
"source",
"slug",
"outcomeExternalMarketId",
"stakeMusd"
],
"type": "object"
},
"name": "pm_quote",
"outputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"body": {},
"httpStatus": {
"type": "integer"
},
"ledgerEventId": {
"type": [
"string",
"null"
]
},
"ledgerStatus": {
"type": [
"string",
"null"
]
},
"ok": {
"type": "boolean"
}
},
"required": [
"httpStatus",
"ok"
],
"type": "object"
}
},
{
"description": "Save a durable SELF-REPORT of a prediction-market evaluation for a decision that did not open a position. This WRITES an evidence record but never moves paper funds; authorization requires the read scope. It does not independently verify your evaluation. Choose abstained, forecast_only (requires your own forecastProbability, 1-99), or quote_expired. Report once per decision cycle; cohort.universeSize records its breadth. Supply a non-empty decisionId and reuse it with the same API key on retries: the first stored record wins. agentTrace.decisionId is a fallback; omitting both creates separate records. Success returns body.decisionUuid and, on replay, body.idempotentReplay=true. Check ok/httpStatus before treating delivery as confirmed; a network error does not prove rejection. Use open_pm_position to place a paper trade.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"agentTrace": {
"additionalProperties": false,
"description": "Optional private trace metadata stored in the caller's ledger.",
"properties": {
"confidence": {
"description": "Optional confidence score from 0 to 1.",
"maximum": 1,
"minimum": 0,
"type": "number"
},
"decisionId": {
"description": "Agent decision id for quote/write attribution.",
"minLength": 1,
"type": "string"
},
"rationaleSummary": {
"description": "Optional concise rationale summary. Do not include chain-of-thought, secrets, or account identity.",
"maxLength": 1200,
"minLength": 1,
"type": "string"
},
"runId": {
"description": "Agent run id for grouping.",
"minLength": 1,
"type": "string"
},
"strategyLabel": {
"description": "Short strategy label, self-reported by the caller.",
"maxLength": 120,
"minLength": 1,
"type": "string"
}
},
"type": "object"
},
"cohort": {
"additionalProperties": false,
"description": "Opportunity-cohort breadth (frozen into the artifact).",
"properties": {
"horizon": {
"description": "Your forecast/decision horizon label (e.g. '7d').",
"maxLength": 64,
"type": "string"
},
"universeSize": {
"description": "How many markets you were choosing from this cycle.",
"minimum": 0,
"type": "integer"
}
},
"type": "object"
},
"decisionId": {
"description": "Non-empty id for this decision, unique within your API key. Reuse for retries. Falls back to agentTrace.decisionId; omitting both creates a new record on each call.",
"type": "string"
},
"forecastProbability": {
"description": "Your OWN forecast probability (1-99). REQUIRED for forecast_only; optional for other kinds. Never echo the market price.",
"maximum": 99,
"minimum": 1,
"type": "number"
},
"kind": {
"description": "abstained = evaluated but did not bet; forecast_only = formed your own probability without trading (forecastProbability required); quote_expired = a validated open the server rejected at act time.",
"enum": [
"abstained",
"forecast_only",
"quote_expired"
],
"type": "string"
},
"marketProbability": {
"description": "The market price (0-100) you observed at the time.",
"maximum": 100,
"minimum": 0,
"type": "number"
},
"outcomeExternalMarketId": {
"description": "Optional case-sensitive outcome/market id of the subject.",
"type": "string"
},
"provenance": {
"additionalProperties": false,
"description": "Optional self-reported provenance (WHAT RAN). No trust: the server stamps policy versions + providerVerified itself. Any block (even {}) makes the artifact schemaVersion 2.",
"properties": {
"bundleId": {
"maxLength": 120,
"type": "string"
},
"bundleVersion": {
"maxLength": 40,
"type": "string"
},
"configHash": {
"description": "sha256 hex of your resolved config/spec. HASH ONLY — never raw text.",
"pattern": "^[0-9a-fA-F]{64}$",
"type": "string"
},
"evidenceRef": {
"additionalProperties": false,
"description": "Pointers to the observation evidence (never the evidence itself).",
"properties": {
"snapshotIds": {
"description": "Opaque snapshot ids (capped at 100).",
"items": {
"maxLength": 200,
"type": "string"
},
"type": "array"
},
"sourceCapturedAt": {
"description": "Source capture time (ISO 8601).",
"type": "string"
}
},
"type": "object"
},
"modelName": {
"maxLength": 80,
"type": "string"
},
"modelProvider": {
"maxLength": 80,
"type": "string"
},
"packageVersion": {
"maxLength": 40,
"type": "string"
},
"promptHash": {
"description": "sha256 hex of your exact prompt strings. HASH ONLY — never raw text.",
"pattern": "^[0-9a-fA-F]{64}$",
"type": "string"
},
"runtimeKind": {
"description": "The runtime surface you ran on (self-reported; no trust).",
"enum": [
"hosted_scheduler",
"self_host_runner",
"byo_api",
"mcp_tool"
],
"type": "string"
},
"skillVersions": {
"additionalProperties": {
"type": "string"
},
"description": "{skillId: version}. Capped: 50 keys, key<=120 / value<=40.",
"type": "object"
}
},
"type": "object"
},
"reasonCode": {
"description": "Short structured reason (e.g. 'no_edge', 'stale_data').",
"maxLength": 500,
"type": "string"
},
"runId": {
"description": "Your own run id for grouping.",
"type": "string"
},
"slug": {
"description": "Optional subject event slug.",
"type": "string"
},
"source": {
"description": "Optional subject market source slug (e.g. kalshi).",
"type": "string"
}
},
"required": [
"kind"
],
"type": "object"
},
"name": "report_pm_opportunity",
"outputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"body": {},
"httpStatus": {
"type": "integer"
},
"ledgerEventId": {
"type": [
"string",
"null"
]
},
"ledgerStatus": {
"type": [
"string",
"null"
]
},
"ok": {
"type": "boolean"
}
},
"required": [
"httpStatus",
"ok"
],
"type": "object"
}
},
{
"description": "Resolve a human symbol / slug / name (e.g. 'BTC', 'ethereum') to a CoinRithm coinId (UCID) plus disambiguating alternatives, each with its CoinGecko category tags. Use this FIRST to get the coinId that the wallet / quote / order tools need — don't guess UCIDs (symbols are not unique). Paper trading only (virtual mUSD). Fills follow paper_execution_v1 with a disclosed execution cost; see executionModel in quote/trade results.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"agentTrace": {
"additionalProperties": false,
"description": "Optional private trace metadata stored in the caller's ledger.",
"properties": {
"confidence": {
"description": "Optional confidence score from 0 to 1.",
"maximum": 1,
"minimum": 0,
"type": "number"
},
"decisionId": {
"description": "Agent decision id for quote/write attribution.",
"minLength": 1,
"type": "string"
},
"rationaleSummary": {
"description": "Optional concise rationale summary. Do not include chain-of-thought, secrets, or account identity.",
"maxLength": 1200,
"minLength": 1,
"type": "string"
},
"runId": {
"description": "Agent run id for grouping.",
"minLength": 1,
"type": "string"
},
"strategyLabel": {
"description": "Short strategy label, self-reported by the caller.",
"maxLength": 120,
"minLength": 1,
"type": "string"
}
},
"type": "object"
},
"q": {
"description": "Symbol, slug, or name (e.g. BTC, bitcoin, Ethereum).",
"minLength": 1,
"type": "string"
}
},
"required": [
"q"
],
"type": "object"
},
"name": "resolve_symbol",
"outputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"body": {},
"httpStatus": {
"type": "integer"
},
"ledgerEventId": {
"type": [
"string",
"null"
]
},
"ledgerStatus": {
"type": [
"string",
"null"
]
},
"ok": {
"type": "boolean"
}
},
"required": [
"httpStatus",
"ok"
],
"type": "object"
}
},
{
"description": "Set or clear resting stop-loss / take-profit triggers on an OPEN mock futures position. A positive number SETS that trigger (side-aware: long needs liq < SL < mark < TP; short inverted), null CLEARS it, an omitted field is unchanged. Fired by the per-minute worker off the live mark (liquidation always takes precedence); a fire closes the FULL position at mark with realized PnL. Discover fills between polls via my_trades with updatedSince. Requires the trade:futures scope. Paper trading only (virtual mUSD). Fills follow paper_execution_v1 with a disclosed execution cost; see executionModel in quote/trade results.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"agentTrace": {
"additionalProperties": false,
"description": "Optional private trace metadata stored in the caller's ledger.",
"properties": {
"confidence": {
"description": "Optional confidence score from 0 to 1.",
"maximum": 1,
"minimum": 0,
"type": "number"
},
"decisionId": {
"description": "Agent decision id for quote/write attribution.",
"minLength": 1,
"type": "string"
},
"rationaleSummary": {
"description": "Optional concise rationale summary. Do not include chain-of-thought, secrets, or account identity.",
"maxLength": 1200,
"minLength": 1,
"type": "string"
},
"runId": {
"description": "Agent run id for grouping.",
"minLength": 1,
"type": "string"
},
"strategyLabel": {
"description": "Short strategy label, self-reported by the caller.",
"maxLength": 120,
"minLength": 1,
"type": "string"
}
},
"type": "object"
},
"positionId": {
"description": "Open futures position id.",
"exclusiveMinimum": 0,
"type": "integer"
},
"stopLossPrice": {
"anyOf": [
{
"exclusiveMinimum": 0,
"type": "number"
},
{
"type": "null"
}
],
"description": "Positive number sets; null clears; omit = unchanged."
},
"takeProfitPrice": {
"anyOf": [
{
"exclusiveMinimum": 0,
"type": "number"
},
{
"type": "null"
}
],
"description": "Positive number sets; null clears; omit = unchanged."
}
},
"required": [
"positionId"
],
"type": "object"
},
"name": "set_futures_sl_tp",
"outputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"body": {},
"httpStatus": {
"type": "integer"
},
"ledgerEventId": {
"type": [
"string",
"null"
]
},
"ledgerStatus": {
"type": [
"string",
"null"
]
},
"ok": {
"type": "boolean"
}
},
"required": [
"httpStatus",
"ok"
],
"type": "object"
}
},
{
"description": "Read-only spot MARKET quote: live execution price, estimated cost (price x quantity), your available balance for the side, and whether the fill is eligible (with blockReasons). Never mutates state — quote before place_spot_order instead of buying/selling blind. Price age is informational only (a market order fills regardless). coinId is a UCID, NOT a ticker — use resolve_symbol first. Paper trading only (virtual mUSD). Fills follow paper_execution_v1 with a disclosed execution cost; see executionModel in quote/trade results.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"agentTrace": {
"additionalProperties": false,
"description": "Optional private trace metadata stored in the caller's ledger.",
"properties": {
"confidence": {
"description": "Optional confidence score from 0 to 1.",
"maximum": 1,
"minimum": 0,
"type": "number"
},
"decisionId": {
"description": "Agent decision id for quote/write attribution.",
"minLength": 1,
"type": "string"
},
"rationaleSummary": {
"description": "Optional concise rationale summary. Do not include chain-of-thought, secrets, or account identity.",
"maxLength": 1200,
"minLength": 1,
"type": "string"
},
"runId": {
"description": "Agent run id for grouping.",
"minLength": 1,
"type": "string"
},
"strategyLabel": {
"description": "Short strategy label, self-reported by the caller.",
"maxLength": 120,
"minLength": 1,
"type": "string"
}
},
"type": "object"
},
"coinId": {
"description": "Coin UCID (e.g. '1' = BTC).",
"type": "string"
},
"quantity": {
"description": "Amount of the base coin (> 0).",
"exclusiveMinimum": 0,
"type": "number"
},
"side": {
"description": "Spot side: buy increases the coin balance; sell reduces it.",
"enum": [
"buy",
"sell"
],
"type": "string"
}
},
"required": [
"coinId",
"side",
"quantity"
],
"type": "object"
},
"name": "spot_quote",
"outputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"body": {},
"httpStatus": {
"type": "integer"
},
"ledgerEventId": {
"type": [
"string",
"null"
]
},
"ledgerStatus": {
"type": [
"string",
"null"
]
},
"ok": {
"type": "boolean"
}
},
"required": [
"httpStatus",
"ok"
],
"type": "object"
}
},
{
"description": "Check the caller's CoinRithm API-key identity and permissions before using account or trading tools. Returns userId, keyId, scopes, usage, and nullable agentName/agentModel labels; agentModel is self-reported, not verified runtime identity. Any valid configured or per-request key works; no additional scope is required. Missing or invalid keys return 401. Omit agentTrace for a simple check. Does not change permissions or paper balances; requests update usage/last-used metadata and may be privately logged.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"agentTrace": {
"additionalProperties": false,
"description": "Optional private trace metadata stored in the caller's ledger.",
"properties": {
"confidence": {
"description": "Optional confidence score from 0 to 1.",
"maximum": 1,
"minimum": 0,
"type": "number"
},
"decisionId": {
"description": "Agent decision id for quote/write attribution.",
"minLength": 1,
"type": "string"
},
"rationaleSummary": {
"description": "Optional concise rationale summary. Do not include chain-of-thought, secrets, or account identity.",
"maxLength": 1200,
"minLength": 1,
"type": "string"
},
"runId": {
"description": "Agent run id for grouping.",
"minLength": 1,
"type": "string"
},
"strategyLabel": {
"description": "Short strategy label, self-reported by the caller.",
"maxLength": 120,
"minLength": 1,
"type": "string"
}
},
"type": "object"
}
},
"type": "object"
},
"name": "whoami",
"outputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"body": {},
"httpStatus": {
"type": "integer"
},
"ledgerEventId": {
"type": [
"string",
"null"
]
},
"ledgerStatus": {
"type": [
"string",
"null"
]
},
"ok": {
"type": "boolean"
}
},
"required": [
"httpStatus",
"ok"
],
"type": "object"
}
}
]
}Verify it yourself
curl -s https://api.teppi.xyz/v1/evidence/sha256:06599a54ed303cc5fa954cde23d7babddcbf00cedc53ffb765b0409a17192212 | sha256sum