{
  "data": {
    "tool": {
      "category": "data-providers",
      "endpoint": "https://mcp.kellian.app",
      "jsonUrl": "https://www.anchorterminal.com/api/v1/tools/kellian.json",
      "kind": "mcp",
      "listed": "indexed",
      "liveUrl": "https://www.anchorterminal.com/api/v1/live/kellian.json",
      "markdownUrl": "https://www.anchorterminal.com/tools/kellian.md",
      "mcpTools": {
        "check": {
          "checker": "anchor-check/1.0",
          "totalTokens": 164337,
          "counts": {
            "error": 0,
            "note": 0,
            "warn": 137
          },
          "findings": [
            {
              "rule": "TC06",
              "severity": "warn",
              "tool": "kellian_get_claim_status",
              "message": "the description is \"Get claim status for a resolved market\"",
              "fix": "Add when to use it, what it returns and any side effect, in two or three sentences."
            },
            {
              "rule": "TC06",
              "severity": "warn",
              "tool": "kellian_get_orderbook",
              "message": "the description is \"Get orderbook depth for a market\"",
              "fix": "Add when to use it, what it returns and any side effect, in two or three sentences."
            },
            {
              "rule": "TC06",
              "severity": "warn",
              "tool": "kellian_get_proposal",
              "message": "the description is \"Get the current resolution proposal for a market\"",
              "fix": "Add when to use it, what it returns and any side effect, in two or three sentences."
            },
            {
              "rule": "TC11",
              "severity": "warn",
              "tool": "kellian_analyze_selected_makers",
              "message": "2 parameters without a description: marketAddress, scope",
              "fix": "Describe each one: format, units, an example, and what happens when it's left out."
            },
            {
              "rule": "TC11",
              "severity": "warn",
              "tool": "kellian_batch_get_trading_rules",
              "message": "1 parameter without a description: marketAddresses",
              "fix": "Describe each one: format, units, an example, and what happens when it's left out."
            },
            {
              "rule": "TC11",
              "severity": "warn",
              "tool": "kellian_batch_prepare_orders",
              "message": "2 parameters without a description: idempotencyKey, orders",
              "fix": "Describe each one: format, units, an example, and what happens when it's left out."
            },
            {
              "rule": "TC11",
              "severity": "warn",
              "tool": "kellian_batch_replace_quote_sets",
              "message": "none of its 6 parameters has a description",
              "fix": "Describe each one: format, units, an example, and what happens when it's left out."
            },
            {
              "rule": "TC11",
              "severity": "warn",
              "tool": "kellian_cancel_all_orders",
              "message": "2 parameters without a description: afterOrderHash, limit",
              "fix": "Describe each one: format, units, an example, and what happens when it's left out."
            },
            {
              "rule": "TC11",
              "severity": "warn",
              "tool": "kellian_check_market_exists",
              "message": "its one parameter, externalId, has no description",
              "fix": "Describe each one: format, units, an example, and what happens when it's left out."
            },
            {
              "rule": "TC11",
              "severity": "warn",
              "tool": "kellian_contest",
              "message": "none of its 2 parameters has a description",
              "fix": "Describe each one: format, units, an example, and what happens when it's left out."
            },
            {
              "rule": "TC11",
              "severity": "warn",
              "tool": "kellian_create_watch",
              "message": "1 parameter without a description: target",
              "fix": "Describe each one: format, units, an example, and what happens when it's left out."
            },
            {
              "rule": "TC11",
              "severity": "warn",
              "tool": "kellian_delete_canvas_update",
              "message": "1 parameter without a description: marketAddress",
              "fix": "Describe each one: format, units, an example, and what happens when it's left out."
            },
            {
              "rule": "TC11",
              "severity": "warn",
              "tool": "kellian_execute_trade_intent",
              "message": "1 parameter without a description: chainId",
              "fix": "Describe each one: format, units, an example, and what happens when it's left out."
            },
            {
              "rule": "TC11",
              "severity": "warn",
              "tool": "kellian_get_context_changes",
              "message": "3 parameters without a description: cursor, ids, types",
              "fix": "Describe each one: format, units, an example, and what happens when it's left out."
            },
            {
              "rule": "TC11",
              "severity": "warn",
              "tool": "kellian_get_market",
              "message": "2 parameters without a description: address, chainId",
              "fix": "Describe each one: format, units, an example, and what happens when it's left out."
            },
            {
              "rule": "TC11",
              "severity": "warn",
              "tool": "kellian_get_market_chart",
              "message": "3 parameters without a description: address, chainId, window",
              "fix": "Describe each one: format, units, an example, and what happens when it's left out."
            },
            {
              "rule": "TC11",
              "severity": "warn",
              "tool": "kellian_get_market_news",
              "message": "1 parameter without a description: chainId",
              "fix": "Describe each one: format, units, an example, and what happens when it's left out."
            },
            {
              "rule": "TC11",
              "severity": "warn",
              "tool": "kellian_get_market_research",
              "message": "1 parameter without a description: chainId",
              "fix": "Describe each one: format, units, an example, and what happens when it's left out."
            },
            {
              "rule": "TC11",
              "severity": "warn",
              "tool": "kellian_get_market_state",
              "message": "none of its 2 parameters has a description",
              "fix": "Describe each one: format, units, an example, and what happens when it's left out."
            },
            {
              "rule": "TC11",
              "severity": "warn",
              "tool": "kellian_get_market_trades",
              "message": "1 parameter without a description: limit",
              "fix": "Describe each one: format, units, an example, and what happens when it's left out."
            },
            {
              "rule": "TC11",
              "severity": "warn",
              "tool": "kellian_get_open_orders",
              "message": "1 parameter without a description: limit",
              "fix": "Describe each one: format, units, an example, and what happens when it's left out."
            },
            {
              "rule": "TC11",
              "severity": "warn",
              "tool": "kellian_get_participation_distribution",
              "message": "its one parameter, intentId, has no description",
              "fix": "Describe each one: format, units, an example, and what happens when it's left out."
            },
            {
              "rule": "TC11",
              "severity": "warn",
              "tool": "kellian_get_perp_index_bars",
              "message": "1 parameter without a description: symbol",
              "fix": "Describe each one: format, units, an example, and what happens when it's left out."
            },
            {
              "rule": "TC11",
              "severity": "warn",
              "tool": "kellian_get_positions",
              "message": "5 parameters without a description: chainId, cursor, limit, marketAddress, walletAddress",
              "fix": "Describe each one: format, units, an example, and what happens when it's left out."
            },
            {
              "rule": "TC11",
              "severity": "warn",
              "tool": "kellian_get_quote",
              "message": "2 parameters without a description: chainId, marketAddress",
              "fix": "Describe each one: format, units, an example, and what happens when it's left out."
            },
            {
              "rule": "TC11",
              "severity": "warn",
              "tool": "kellian_get_quotes_batch",
              "message": "its one parameter, items, has no description",
              "fix": "Describe each one: format, units, an example, and what happens when it's left out."
            },
            {
              "rule": "TC11",
              "severity": "warn",
              "tool": "kellian_get_season_standings",
              "message": "none of its 3 parameters has a description",
              "fix": "Describe each one: format, units, an example, and what happens when it's left out."
            },
            {
              "rule": "TC11",
              "severity": "warn",
              "tool": "kellian_get_trader_profile",
              "message": "1 parameter without a description: traderReference",
              "fix": "Describe each one: format, units, an example, and what happens when it's left out."
            },
            {
              "rule": "TC11",
              "severity": "warn",
              "tool": "kellian_get_transaction_status",
              "message": "4 parameters without a description: hash, idempotencyKey, operationId, submittedAt",
              "fix": "Describe each one: format, units, an example, and what happens when it's left out."
            },
            {
              "rule": "TC11",
              "severity": "warn",
              "tool": "kellian_list_canvas_updates",
              "message": "1 parameter without a description: marketAddress",
              "fix": "Describe each one: format, units, an example, and what happens when it's left out."
            },
            {
              "rule": "TC11",
              "severity": "warn",
              "tool": "kellian_list_claims",
              "message": "2 parameters without a description: cursor, limit",
              "fix": "Describe each one: format, units, an example, and what happens when it's left out."
            },
            {
              "rule": "TC11",
              "severity": "warn",
              "tool": "kellian_list_leaderboard",
              "message": "2 parameters without a description: limit, offset",
              "fix": "Describe each one: format, units, an example, and what happens when it's left out."
            },
            {
              "rule": "TC11",
              "severity": "warn",
              "tool": "kellian_list_market_comments",
              "message": "1 parameter without a description: limit",
              "fix": "Describe each one: format, units, an example, and what happens when it's left out."
            },
            {
              "rule": "TC11",
              "severity": "warn",
              "tool": "kellian_list_markets",
              "message": "3 parameters without a description: category, chainId, pageSize",
              "fix": "Describe each one: format, units, an example, and what happens when it's left out."
            },
            {
              "rule": "TC11",
              "severity": "warn",
              "tool": "kellian_list_my_reputation_events",
              "message": "2 parameters without a description: limit, offset",
              "fix": "Describe each one: format, units, an example, and what happens when it's left out."
            },
            {
              "rule": "TC11",
              "severity": "warn",
              "tool": "kellian_list_order_events",
              "message": "1 parameter without a description: limit",
              "fix": "Describe each one: format, units, an example, and what happens when it's left out."
            },
            {
              "rule": "TC11",
              "severity": "warn",
              "tool": "kellian_list_reputation_leaderboard",
              "message": "2 parameters without a description: limit, offset",
              "fix": "Describe each one: format, units, an example, and what happens when it's left out."
            },
            {
              "rule": "TC11",
              "severity": "warn",
              "tool": "kellian_list_scoring_cohort",
              "message": "1 parameter without a description: limit",
              "fix": "Describe each one: format, units, an example, and what happens when it's left out."
            },
            {
              "rule": "TC11",
              "severity": "warn",
              "tool": "kellian_orderbook_heartbeat",
              "message": "1 parameter without a description: disarm",
              "fix": "Describe each one: format, units, an example, and what happens when it's left out."
            },
            {
              "rule": "TC11",
              "severity": "warn",
              "tool": "kellian_plan_pm_order",
              "message": "2 parameters without a description: action, orderType",
              "fix": "Describe each one: format, units, an example, and what happens when it's left out."
            },
            {
              "rule": "TC11",
              "severity": "warn",
              "tool": "kellian_post_canvas_update",
              "message": "4 parameters without a description: data, label, marketAddress, renderer",
              "fix": "Describe each one: format, units, an example, and what happens when it's left out."
            },
            {
              "rule": "TC11",
              "severity": "warn",
              "tool": "kellian_prepare_claims",
              "message": "2 parameters without a description: markets, markets[].marketAddress",
              "fix": "Describe each one: format, units, an example, and what happens when it's left out."
            },
            {
              "rule": "TC11",
              "severity": "warn",
              "tool": "kellian_prepare_trade",
              "message": "3 parameters without a description: chainId, marketAddress, slippageBps",
              "fix": "Describe each one: format, units, an example, and what happens when it's left out."
            },
            {
              "rule": "TC11",
              "severity": "warn",
              "tool": "kellian_prepare_trades_batch",
              "message": "4 parameters without a description: items, items[].chainId, items[].marketAddress, items[].slippageBps",
              "fix": "Describe each one: format, units, an example, and what happens when it's left out."
            },
            {
              "rule": "TC11",
              "severity": "warn",
              "tool": "kellian_publish_market_surface",
              "message": "none of its 13 parameters has a description",
              "fix": "Describe each one: format, units, an example, and what happens when it's left out."
            },
            {
              "rule": "TC11",
              "severity": "warn",
              "tool": "kellian_publish_research",
              "message": "4 parameters without a description: caseNo, caseYes, chainId, watchNext",
              "fix": "Describe each one: format, units, an example, and what happens when it's left out."
            },
            {
              "rule": "TC11",
              "severity": "warn",
              "tool": "kellian_publish_take",
              "message": "3 parameters without a description: chainId, probability, reason",
              "fix": "Describe each one: format, units, an example, and what happens when it's left out."
            },
            {
              "rule": "TC11",
              "severity": "warn",
              "tool": "kellian_push_content",
              "message": "3 parameters without a description: data, label, marketAddress",
              "fix": "Describe each one: format, units, an example, and what happens when it's left out."
            },
            {
              "rule": "TC11",
              "severity": "warn",
              "tool": "kellian_quote_to_price",
              "message": "3 parameters without a description: chainId, marketAddress, targetPrice",
              "fix": "Describe each one: format, units, an example, and what happens when it's left out."
            },
            {
              "rule": "TC11",
              "severity": "warn",
              "tool": "kellian_replace_quote_set",
              "message": "5 parameters without a description: idempotencyKey, marketAddress, orders, suspendOrderHashes, walletAddress",
              "fix": "Describe each one: format, units, an example, and what happens when it's left out."
            },
            {
              "rule": "TC11",
              "severity": "warn",
              "tool": "kellian_simulate_claims",
              "message": "none of its 2 parameters has a description",
              "fix": "Describe each one: format, units, an example, and what happens when it's left out."
            },
            {
              "rule": "TC11",
              "severity": "warn",
              "tool": "kellian_simulate_trade",
              "message": "3 parameters without a description: chainId, marketAddress, slippageBps",
              "fix": "Describe each one: format, units, an example, and what happens when it's left out."
            },
            {
              "rule": "TC11",
              "severity": "warn",
              "tool": "kellian_sweep_claims",
              "message": "3 parameters without a description: cursor, includeIneligible, limit",
              "fix": "Describe each one: format, units, an example, and what happens when it's left out."
            },
            {
              "rule": "TC11",
              "severity": "warn",
              "tool": "kellian_trading_setup_permit",
              "message": "2 parameters without a description: deadline, signature",
              "fix": "Describe each one: format, units, an example, and what happens when it's left out."
            },
            {
              "rule": "TC11",
              "severity": "warn",
              "tool": "kellian_withdraw_research",
              "message": "1 parameter without a description: chainId",
              "fix": "Describe each one: format, units, an example, and what happens when it's left out."
            },
            {
              "rule": "TC15",
              "severity": "warn",
              "tool": "kellian_analyze_selected_makers",
              "message": "inputSchema uses $ref/$defs",
              "fix": "Inline the referenced schemas. Pydantic and zod-to-json-schema emit $defs for nested models; most can be told not to."
            },
            {
              "rule": "TC15",
              "severity": "warn",
              "tool": "kellian_batch_get_orderbooks",
              "message": "inputSchema uses $ref/$defs",
              "fix": "Inline the referenced schemas. Pydantic and zod-to-json-schema emit $defs for nested models; most can be told not to."
            },
            {
              "rule": "TC15",
              "severity": "warn",
              "tool": "kellian_batch_place_orders",
              "message": "inputSchema uses $ref/$defs",
              "fix": "Inline the referenced schemas. Pydantic and zod-to-json-schema emit $defs for nested models; most can be told not to."
            },
            {
              "rule": "TC15",
              "severity": "warn",
              "tool": "kellian_batch_prepare_orders",
              "message": "inputSchema uses $ref/$defs",
              "fix": "Inline the referenced schemas. Pydantic and zod-to-json-schema emit $defs for nested models; most can be told not to."
            },
            {
              "rule": "TC15",
              "severity": "warn",
              "tool": "kellian_batch_replace_quote_sets",
              "message": "inputSchema uses $ref/$defs",
              "fix": "Inline the referenced schemas. Pydantic and zod-to-json-schema emit $defs for nested models; most can be told not to."
            },
            {
              "rule": "TC15",
              "severity": "warn",
              "tool": "kellian_cancel_order",
              "message": "inputSchema uses $ref/$defs",
              "fix": "Inline the referenced schemas. Pydantic and zod-to-json-schema emit $defs for nested models; most can be told not to."
            },
            {
              "rule": "TC15",
              "severity": "warn",
              "tool": "kellian_create_watch",
              "message": "inputSchema uses $ref/$defs",
              "fix": "Inline the referenced schemas. Pydantic and zod-to-json-schema emit $defs for nested models; most can be told not to."
            },
            {
              "rule": "TC15",
              "severity": "warn",
              "tool": "kellian_estimate_market_order",
              "message": "inputSchema uses $ref/$defs",
              "fix": "Inline the referenced schemas. Pydantic and zod-to-json-schema emit $defs for nested models; most can be told not to."
            },
            {
              "rule": "TC15",
              "severity": "warn",
              "tool": "kellian_execute_trade_intent",
              "message": "inputSchema uses $ref/$defs",
              "fix": "Inline the referenced schemas. Pydantic and zod-to-json-schema emit $defs for nested models; most can be told not to."
            },
            {
              "rule": "TC15",
              "severity": "warn",
              "tool": "kellian_get_counterparty_reputation",
              "message": "inputSchema uses $ref/$defs",
              "fix": "Inline the referenced schemas. Pydantic and zod-to-json-schema emit $defs for nested models; most can be told not to."
            },
            {
              "rule": "TC15",
              "severity": "warn",
              "tool": "kellian_get_market_depth",
              "message": "inputSchema uses $ref/$defs",
              "fix": "Inline the referenced schemas. Pydantic and zod-to-json-schema emit $defs for nested models; most can be told not to."
            },
            {
              "rule": "TC15",
              "severity": "warn",
              "tool": "kellian_get_market_holders",
              "message": "inputSchema uses $ref/$defs",
              "fix": "Inline the referenced schemas. Pydantic and zod-to-json-schema emit $defs for nested models; most can be told not to."
            },
            {
              "rule": "TC15",
              "severity": "warn",
              "tool": "kellian_get_market_operability",
              "message": "inputSchema uses $ref/$defs",
              "fix": "Inline the referenced schemas. Pydantic and zod-to-json-schema emit $defs for nested models; most can be told not to."
            },
            {
              "rule": "TC15",
              "severity": "warn",
              "tool": "kellian_get_market_resolution_state",
              "message": "inputSchema uses $ref/$defs",
              "fix": "Inline the referenced schemas. Pydantic and zod-to-json-schema emit $defs for nested models; most can be told not to."
            },
            {
              "rule": "TC15",
              "severity": "warn",
              "tool": "kellian_get_market_trades",
              "message": "inputSchema uses $ref/$defs",
              "fix": "Inline the referenced schemas. Pydantic and zod-to-json-schema emit $defs for nested models; most can be told not to."
            },
            {
              "rule": "TC15",
              "severity": "warn",
              "tool": "kellian_get_pnl_history",
              "message": "inputSchema uses $ref/$defs",
              "fix": "Inline the referenced schemas. Pydantic and zod-to-json-schema emit $defs for nested models; most can be told not to."
            },
            {
              "rule": "TC15",
              "severity": "warn",
              "tool": "kellian_get_quotes_batch",
              "message": "inputSchema uses $ref/$defs",
              "fix": "Inline the referenced schemas. Pydantic and zod-to-json-schema emit $defs for nested models; most can be told not to."
            },
            {
              "rule": "TC15",
              "severity": "warn",
              "tool": "kellian_get_scoring_record",
              "message": "inputSchema uses $ref/$defs",
              "fix": "Inline the referenced schemas. Pydantic and zod-to-json-schema emit $defs for nested models; most can be told not to."
            },
            {
              "rule": "TC15",
              "severity": "warn",
              "tool": "kellian_get_trader_profile",
              "message": "inputSchema uses $ref/$defs",
              "fix": "Inline the referenced schemas. Pydantic and zod-to-json-schema emit $defs for nested models; most can be told not to."
            },
            {
              "rule": "TC15",
              "severity": "warn",
              "tool": "kellian_list_canvas_updates",
              "message": "inputSchema uses $ref/$defs",
              "fix": "Inline the referenced schemas. Pydantic and zod-to-json-schema emit $defs for nested models; most can be told not to."
            },
            {
              "rule": "TC15",
              "severity": "warn",
              "tool": "kellian_list_claims",
              "message": "inputSchema uses $ref/$defs",
              "fix": "Inline the referenced schemas. Pydantic and zod-to-json-schema emit $defs for nested models; most can be told not to."
            },
            {
              "rule": "TC15",
              "severity": "warn",
              "tool": "kellian_list_forecasters",
              "message": "inputSchema uses $ref/$defs",
              "fix": "Inline the referenced schemas. Pydantic and zod-to-json-schema emit $defs for nested models; most can be told not to."
            },
            {
              "rule": "TC15",
              "severity": "warn",
              "tool": "kellian_list_leaderboard",
              "message": "inputSchema uses $ref/$defs",
              "fix": "Inline the referenced schemas. Pydantic and zod-to-json-schema emit $defs for nested models; most can be told not to."
            },
            {
              "rule": "TC15",
              "severity": "warn",
              "tool": "kellian_list_market_comments",
              "message": "inputSchema uses $ref/$defs",
              "fix": "Inline the referenced schemas. Pydantic and zod-to-json-schema emit $defs for nested models; most can be told not to."
            },
            {
              "rule": "TC15",
              "severity": "warn",
              "tool": "kellian_list_markets",
              "message": "inputSchema uses $ref/$defs",
              "fix": "Inline the referenced schemas. Pydantic and zod-to-json-schema emit $defs for nested models; most can be told not to."
            },
            {
              "rule": "TC15",
              "severity": "warn",
              "tool": "kellian_list_order_events",
              "message": "inputSchema uses $ref/$defs",
              "fix": "Inline the referenced schemas. Pydantic and zod-to-json-schema emit $defs for nested models; most can be told not to."
            },
            {
              "rule": "TC15",
              "severity": "warn",
              "tool": "kellian_list_pending_resolution_markets",
              "message": "inputSchema uses $ref/$defs",
              "fix": "Inline the referenced schemas. Pydantic and zod-to-json-schema emit $defs for nested models; most can be told not to."
            },
            {
              "rule": "TC15",
              "severity": "warn",
              "tool": "kellian_list_related_markets",
              "message": "inputSchema uses $ref/$defs",
              "fix": "Inline the referenced schemas. Pydantic and zod-to-json-schema emit $defs for nested models; most can be told not to."
            },
            {
              "rule": "TC15",
              "severity": "warn",
              "tool": "kellian_place_limit_order",
              "message": "inputSchema uses $ref/$defs",
              "fix": "Inline the referenced schemas. Pydantic and zod-to-json-schema emit $defs for nested models; most can be told not to."
            },
            {
              "rule": "TC15",
              "severity": "warn",
              "tool": "kellian_post_comment",
              "message": "inputSchema uses $ref/$defs",
              "fix": "Inline the referenced schemas. Pydantic and zod-to-json-schema emit $defs for nested models; most can be told not to."
            },
            {
              "rule": "TC15",
              "severity": "warn",
              "tool": "kellian_prepare_claims",
              "message": "inputSchema uses $ref/$defs",
              "fix": "Inline the referenced schemas. Pydantic and zod-to-json-schema emit $defs for nested models; most can be told not to."
            },
            {
              "rule": "TC15",
              "severity": "warn",
              "tool": "kellian_prepare_trade",
              "message": "inputSchema uses $ref/$defs",
              "fix": "Inline the referenced schemas. Pydantic and zod-to-json-schema emit $defs for nested models; most can be told not to."
            },
            {
              "rule": "TC15",
              "severity": "warn",
              "tool": "kellian_prepare_trades_batch",
              "message": "inputSchema uses $ref/$defs",
              "fix": "Inline the referenced schemas. Pydantic and zod-to-json-schema emit $defs for nested models; most can be told not to."
            },
            {
              "rule": "TC15",
              "severity": "warn",
              "tool": "kellian_publish_forecast",
              "message": "inputSchema uses $ref/$defs",
              "fix": "Inline the referenced schemas. Pydantic and zod-to-json-schema emit $defs for nested models; most can be told not to."
            },
            {
              "rule": "TC15",
              "severity": "warn",
              "tool": "kellian_publish_forecasts",
              "message": "inputSchema uses $ref/$defs",
              "fix": "Inline the referenced schemas. Pydantic and zod-to-json-schema emit $defs for nested models; most can be told not to."
            },
            {
              "rule": "TC15",
              "severity": "warn",
              "tool": "kellian_publish_research",
              "message": "inputSchema uses $ref/$defs",
              "fix": "Inline the referenced schemas. Pydantic and zod-to-json-schema emit $defs for nested models; most can be told not to."
            },
            {
              "rule": "TC15",
              "severity": "warn",
              "tool": "kellian_push_content",
              "message": "inputSchema uses $ref/$defs",
              "fix": "Inline the referenced schemas. Pydantic and zod-to-json-schema emit $defs for nested models; most can be told not to."
            },
            {
              "rule": "TC15",
              "severity": "warn",
              "tool": "kellian_replace_quote_set",
              "message": "inputSchema uses $ref/$defs",
              "fix": "Inline the referenced schemas. Pydantic and zod-to-json-schema emit $defs for nested models; most can be told not to."
            },
            {
              "rule": "TC15",
              "severity": "warn",
              "tool": "kellian_simulate_claims",
              "message": "inputSchema uses $ref/$defs",
              "fix": "Inline the referenced schemas. Pydantic and zod-to-json-schema emit $defs for nested models; most can be told not to."
            },
            {
              "rule": "TC15",
              "severity": "warn",
              "tool": "kellian_simulate_trade",
              "message": "inputSchema uses $ref/$defs",
              "fix": "Inline the referenced schemas. Pydantic and zod-to-json-schema emit $defs for nested models; most can be told not to."
            },
            {
              "rule": "TC15",
              "severity": "warn",
              "tool": "kellian_sweep_claims",
              "message": "inputSchema uses $ref/$defs",
              "fix": "Inline the referenced schemas. Pydantic and zod-to-json-schema emit $defs for nested models; most can be told not to."
            },
            {
              "rule": "TC18",
              "severity": "warn",
              "tool": "kellian_delete_watch",
              "message": "destructiveHint is false but the name says \"delete\"",
              "fix": "If it deletes, overwrites or moves money, destructiveHint should be true."
            },
            {
              "rule": "TC18",
              "severity": "warn",
              "tool": "kellian_estimate_market_order",
              "message": "readOnlyHint is true but the name says \"order\"",
              "fix": "If it changes anything, readOnlyHint must be false."
            },
            {
              "rule": "TC18",
              "severity": "warn",
              "tool": "kellian_plan_pm_order",
              "message": "readOnlyHint is true but the name says \"order\"",
              "fix": "If it changes anything, readOnlyHint must be false."
            },
            {
              "rule": "TC18",
              "severity": "warn",
              "tool": "kellian_withdraw_research",
              "message": "destructiveHint is false but the name says \"withdraw\"",
              "fix": "If it deletes, overwrites or moves money, destructiveHint should be true."
            },
            {
              "rule": "TC21",
              "severity": "warn",
              "tool": "kellian_prepare_claims",
              "message": "described almost the same as kellian_sweep_claims (80% of the same words)",
              "fix": "Say in each description when to use it instead of the other."
            },
            {
              "rule": "TC22",
              "severity": "warn",
              "tool": "kellian_analyze_selected_makers",
              "message": "the definition is about 1,942 tokens",
              "fix": "Trim the description and parameter docs, or split the tool."
            },
            {
              "rule": "TC22",
              "severity": "warn",
              "tool": "kellian_batch_place_orders",
              "message": "the definition is about 1,664 tokens",
              "fix": "Trim the description and parameter docs, or split the tool."
            },
            {
              "rule": "TC22",
              "severity": "warn",
              "tool": "kellian_batch_prepare_orders",
              "message": "the definition is about 1,873 tokens",
              "fix": "Trim the description and parameter docs, or split the tool."
            },
            {
              "rule": "TC22",
              "severity": "warn",
              "tool": "kellian_batch_replace_quote_sets",
              "message": "the definition is about 2,252 tokens",
              "fix": "Trim the description and parameter docs, or split the tool."
            },
            {
              "rule": "TC22",
              "severity": "warn",
              "tool": "kellian_contest",
              "message": "the definition is about 3,321 tokens",
              "fix": "Trim the description and parameter docs, or split the tool."
            },
            {
              "rule": "TC22",
              "severity": "warn",
              "tool": "kellian_create_watch",
              "message": "the definition is about 2,686 tokens",
              "fix": "Trim the description and parameter docs, or split the tool."
            },
            {
              "rule": "TC22",
              "severity": "warn",
              "tool": "kellian_discover_events",
              "message": "the definition is about 2,181 tokens",
              "fix": "Trim the description and parameter docs, or split the tool."
            },
            {
              "rule": "TC22",
              "severity": "warn",
              "tool": "kellian_estimate_market_order",
              "message": "the definition is about 2,110 tokens",
              "fix": "Trim the description and parameter docs, or split the tool."
            },
            {
              "rule": "TC22",
              "severity": "warn",
              "tool": "kellian_get_context",
              "message": "the definition is about 4,766 tokens",
              "fix": "Trim the description and parameter docs, or split the tool."
            },
            {
              "rule": "TC22",
              "severity": "warn",
              "tool": "kellian_get_context_changes",
              "message": "the definition is about 5,144 tokens",
              "fix": "Trim the description and parameter docs, or split the tool."
            },
            {
              "rule": "TC22",
              "severity": "warn",
              "tool": "kellian_get_market",
              "message": "the definition is about 4,973 tokens",
              "fix": "Trim the description and parameter docs, or split the tool."
            },
            {
              "rule": "TC22",
              "severity": "warn",
              "tool": "kellian_get_market_research",
              "message": "the definition is about 1,768 tokens",
              "fix": "Trim the description and parameter docs, or split the tool."
            },
            {
              "rule": "TC22",
              "severity": "warn",
              "tool": "kellian_get_market_resolution_state",
              "message": "the definition is about 4,125 tokens",
              "fix": "Trim the description and parameter docs, or split the tool."
            },
            {
              "rule": "TC22",
              "severity": "warn",
              "tool": "kellian_get_me",
              "message": "the definition is about 1,978 tokens",
              "fix": "Trim the description and parameter docs, or split the tool."
            },
            {
              "rule": "TC22",
              "severity": "warn",
              "tool": "kellian_get_positions",
              "message": "the definition is about 3,063 tokens",
              "fix": "Trim the description and parameter docs, or split the tool."
            },
            {
              "rule": "TC22",
              "severity": "warn",
              "tool": "kellian_get_quotes_batch",
              "message": "the definition is about 1,664 tokens",
              "fix": "Trim the description and parameter docs, or split the tool."
            },
            {
              "rule": "TC22",
              "severity": "warn",
              "tool": "kellian_get_resolution_status",
              "message": "the definition is about 1,720 tokens",
              "fix": "Trim the description and parameter docs, or split the tool."
            },
            {
              "rule": "TC22",
              "severity": "warn",
              "tool": "kellian_get_rules",
              "message": "the definition is about 2,463 tokens",
              "fix": "Trim the description and parameter docs, or split the tool."
            },
            {
              "rule": "TC22",
              "severity": "warn",
              "tool": "kellian_get_scoring_record",
              "message": "the definition is about 1,564 tokens",
              "fix": "Trim the description and parameter docs, or split the tool."
            },
            {
              "rule": "TC22",
              "severity": "warn",
              "tool": "kellian_get_smart_money",
              "message": "the definition is about 2,715 tokens",
              "fix": "Trim the description and parameter docs, or split the tool."
            },
            {
              "rule": "TC22",
              "severity": "warn",
              "tool": "kellian_get_trader_profile",
              "message": "the definition is about 2,391 tokens",
              "fix": "Trim the description and parameter docs, or split the tool."
            },
            {
              "rule": "TC22",
              "severity": "warn",
              "tool": "kellian_get_webhook",
              "message": "the definition is about 1,511 tokens",
              "fix": "Trim the description and parameter docs, or split the tool."
            },
            {
              "rule": "TC22",
              "severity": "warn",
              "tool": "kellian_join_contest",
              "message": "the definition is about 1,505 tokens",
              "fix": "Trim the description and parameter docs, or split the tool."
            },
            {
              "rule": "TC22",
              "severity": "warn",
              "tool": "kellian_list_leaderboard",
              "message": "the definition is about 3,203 tokens",
              "fix": "Trim the description and parameter docs, or split the tool."
            },
            {
              "rule": "TC22",
              "severity": "warn",
              "tool": "kellian_list_markets",
              "message": "the definition is about 5,197 tokens",
              "fix": "Trim the description and parameter docs, or split the tool."
            },
            {
              "rule": "TC22",
              "severity": "warn",
              "tool": "kellian_list_order_events",
              "message": "the definition is about 1,625 tokens",
              "fix": "Trim the description and parameter docs, or split the tool."
            },
            {
              "rule": "TC22",
              "severity": "warn",
              "tool": "kellian_list_related_markets",
              "message": "the definition is about 1,592 tokens",
              "fix": "Trim the description and parameter docs, or split the tool."
            },
            {
              "rule": "TC22",
              "severity": "warn",
              "tool": "kellian_my_contest",
              "message": "the definition is about 2,774 tokens",
              "fix": "Trim the description and parameter docs, or split the tool."
            },
            {
              "rule": "TC22",
              "severity": "warn",
              "tool": "kellian_place_limit_order",
              "message": "the definition is about 2,074 tokens",
              "fix": "Trim the description and parameter docs, or split the tool."
            },
            {
              "rule": "TC22",
              "severity": "warn",
              "tool": "kellian_prepare_claims",
              "message": "the definition is about 1,550 tokens",
              "fix": "Trim the description and parameter docs, or split the tool."
            },
            {
              "rule": "TC22",
              "severity": "warn",
              "tool": "kellian_prepare_trade",
              "message": "the definition is about 1,891 tokens",
              "fix": "Trim the description and parameter docs, or split the tool."
            },
            {
              "rule": "TC22",
              "severity": "warn",
              "tool": "kellian_prepare_trades_batch",
              "message": "the definition is about 2,189 tokens",
              "fix": "Trim the description and parameter docs, or split the tool."
            },
            {
              "rule": "TC22",
              "severity": "warn",
              "tool": "kellian_publish_market_surface",
              "message": "the definition is about 1,790 tokens",
              "fix": "Trim the description and parameter docs, or split the tool."
            },
            {
              "rule": "TC22",
              "severity": "warn",
              "tool": "kellian_replace_quote_set",
              "message": "the definition is about 2,068 tokens",
              "fix": "Trim the description and parameter docs, or split the tool."
            },
            {
              "rule": "TC22",
              "severity": "warn",
              "tool": "kellian_sweep_claims",
              "message": "the definition is about 1,729 tokens",
              "fix": "Trim the description and parameter docs, or split the tool."
            },
            {
              "rule": "TC23",
              "severity": "warn",
              "message": "126 tools, about 164,414 tokens of definitions",
              "fix": "Split the server by job, or offer a smaller default toolset (a read-only set, or a search-then-call pattern)."
            }
          ]
        },
        "checkedAt": "2026-11-09T02:19:46Z",
        "count": 126,
        "schemaTokens": 164337,
        "status": "ok",
        "tools": [
          {
            "name": "kellian_create_watch",
            "title": "Watch a question, an option, a trader or a category (Plus)",
            "description": "Watch a covered Polymarket question, an option, a listed smart money trader, a forecaster or a category: Kellian alerts the account that owns this key when it moves. \"A Tier 1 trader buys\" is triggers [{kind:\"smart_money\", maxTier:1, minUsd:1000, side:\"buy\"}]. Watching the same target again extends that watch. Alerts go to the site and the channels named. Part of Plus.",
            "inputSchema": {
              "$defs": {
                "EvmAddress": {
                  "description": "Checksummed or lowercase 20-byte EVM address (0x + 40 hex).",
                  "pattern": "^0x[a-fA-F0-9]{40}$",
                  "type": "string"
                }
              },
              "properties": {
                "channels": {
                  "description": "Where else alerts go, beside the site: telegram or discord (once linked), webhook (your webhooks subscribed to alert.fired).",
                  "items": {
                    "enum": [
                      "web",
                      "telegram",
                      "discord",
                      "webhook"
                    ],
                    "type": "string"
                  },
                  "maxItems": 4,
                  "type": "array"
                },
                "frequency": {
                  "description": "instant (default), hourly, or daily (a brief at 08:00 UTC).",
                  "enum": [
                    "instant",
                    "hourly",
                    "daily"
                  ],
                  "type": "string"
                },
                "idempotencyKey": {
                  "description": "Stable retry key. Reuse only with byte-equivalent tool arguments.",
                  "maxLength": 256,
                  "minLength": 1,
                  "type": "string"
                },
                "target": {
                  "oneOf": [
                    {
                      "additionalProperties": false,
                      "properties": {
                        "kind": {
                          "const": "question",
                          "type": "string"
                        },
                        "question": {
                          "description": "A Polymarket event or market link, a kellian.app question link, or the question’s slug.",
                          "maxLength": 500,
                          "minLength": 1,
                          "type": "string"
                        }
                      },
                      "required": [
                        "kind",
                        "question"
                      ],
                      "type": "object"
                    },
                    {
                      "additionalProperties": false,
                      "properties": {
                        "conditionId": {
                          "description": "The option’s condition ID (problee_get_context lists them).",
                          "pattern": "^0x[0-9a-fA-F]{64}$",
                          "type": "string"
                        },
                        "kind": {
                          "const": "option",
                          "type": "string"
                        }
                      },
                      "required": [
                        "kind",
                        "conditionId"
                      ],
                      "type": "object"
                    },
                    {
                      "additionalProperties": false,
                      "properties": {
                        "category": {
                          "description": "The market's arena. Retired names are stored as their successor; OTHER is unfiled. Open enum: tolerate unseen values.",
                          "enum": [
                            "CRYPTO",
                            "SPORTS",
                            "POLITICS",
                            "ELECTIONS",
                            "FINANCE",
                            "TECH",
                            "WORLD",
                            "ECONOMY",
                            "CULTURE",
                            "WEATHER",
                            "SCIENCE_HEALTH",
                            "AI",
                            "GAMING",
                            "BUSINESS",
                            "FASHION",
                            "MOVIES_TV",
                            "MUSIC",
                            "SHOPPING",
                            "BEAUTY",
                            "TRAVEL",
                            "CLIMATE",
                            "DAILY_LIFE",
                            "LOCAL",
                            "SOCIAL",
                            "FUN",
                            "OTHER"
                          ],
                          "type": "string",
                          "x-extensible-enum": true
                        },
                        "kind": {
                          "const": "category",
                          "type": "string"
                        },
                        "topic": {
                          "anyOf": [
                            {
                              "maxLength": 80,
                              "minLength": 1,
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        }
                      },
                      "required": [
                        "kind",
                        "category"
                      ],
                      "type": "object"
                    },
                    {
                      "additionalProperties": false,
                      "properties": {
                        "kind": {
                          "const": "portfolio",
                          "type": "string"
                        }
                      },
                      "required": [
                        "kind"
                      ],
                      "type": "object"
                    },
                    {
                      "additionalProperties": false,
                      "properties": {
                        "kind": {
                          "const": "trader",
                          "type": "string"
                        },
                        "wallet": {
                          "$ref": "#/$defs/EvmAddress",
                          "description": "A listed smart money trader’s wallet."
                        }
                      },
                      "required": [
                        "kind",
                        "wallet"
                      ],
                      "type": "object"
                    },
                    {
                      "additionalProperties": false,
                      "properties": {
                        "forecaster": {
                          "anyOf": [
                            {
                              "$ref": "#/$defs/EvmAddress"
                            },
                            {
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                              "type": "string"
                            }
                          ]
                        },
                        "kind": {
                          "const": "forecaster",
                          "type": "string"
                        }
                      },
                      "required": [
                        "kind",
                        "forecaster"
                      ],
                      "type": "object"
                    }
                  ]
                },
                "triggers": {
                  "description": "What fires it. Default: a 5-point move in 24 h, a $10,000 trade, the result; daily: smart money, moves, news, the result; a trader: moves from $1,000. Named kinds replace those on a watch you have.",
                  "items": {
                    "oneOf": [
                      {
                        "additionalProperties": false,
                        "properties": {
                          "against": {
                            "const": true,
                            "type": "boolean"
                          },
                          "kind": {
                            "const": "smart_money",
                            "type": "string"
                          },
                          "maxTier": {
                            "anyOf": [
                              {
                                "const": 1,
                                "type": "number"
                              },
                              {
                                "const": 2,
                                "type": "number"
                              },
                              {
                                "const": 3,
                                "type": "number"
                              }
                            ]
                          },
                          "minUsd": {
                            "maximum": 100000000,
                            "minimum": 5,
                            "type": "integer"
                          },
                          "side": {
                            "enum": [
                              "buy",
                              "sell",
                              "any"
                            ],
                            "type": "string"
                          }
                        },
                        "required": [
                          "kind",
                          "minUsd",
                          "maxTier"
                        ],
                        "type": "object"
                      },
                      {
                        "additionalProperties": false,
                        "properties": {
                          "kind": {
                            "const": "big_trade",
                            "type": "string"
                          },
                          "minUsd": {
                            "maximum": 100000000,
                            "minimum": 10000,
                            "type": "integer"
                          }
                        },
                        "required": [
                          "kind",
                          "minUsd"
                        ],
                        "type": "object"
                      },
                      {
                        "additionalProperties": false,
                        "properties": {
                          "kind": {
                            "const": "price_move",
                            "type": "string"
                          },
                          "minPoints": {
                            "maximum": 50,
                            "minimum": 5,
                            "type": "integer"
                          },
                          "windowHours": {
                            "anyOf": [
                              {
                                "const": 1,
                                "type": "number"
                              },
                              {
                                "const": 24,
                                "type": "number"
                              }
                            ]
                          }
                        },
                        "required": [
                          "kind",
                          "minPoints",
                          "windowHours"
                        ],
                        "type": "object"
                      },
                      {
                        "additionalProperties": false,
                        "properties": {
                          "kind": {
                            "const": "news",
                            "type": "string"
                          }
                        },
                        "required": [
                          "kind"
                        ],
                        "type": "object"
                      },
                      {
                        "additionalProperties": false,
                        "properties": {
                          "kind": {
                            "const": "new_market",
                            "type": "string"
                          }
                        },
                        "required": [
                          "kind"
                        ],
                        "type": "object"
                      },
                      {
                        "additionalProperties": false,
                        "properties": {
                          "kind": {
                            "const": "resolved",
                            "type": "string"
                          }
                        },
                        "required": [
                          "kind"
                        ],
                        "type": "object"
                      },
                      {
                        "additionalProperties": false,
                        "properties": {
                          "kind": {
                            "const": "rules_change",
                            "type": "string"
                          }
                        },
                        "required": [
                          "kind"
                        ],
                        "type": "object"
                      },
                      {
                        "additionalProperties": false,
                        "properties": {
                          "kind": {
                            "const": "doesnt_add_up",
                            "type": "string"
                          }
                        },
                        "required": [
                          "kind"
                        ],
                        "type": "object"
                      },
                      {
                        "additionalProperties": false,
                        "properties": {
                          "kind": {
                            "const": "forecast",
                            "type": "string"
                          }
                        },
                        "required": [
                          "kind"
                        ],
                        "type": "object"
                      },
                      {
                        "additionalProperties": false,
                        "properties": {
                          "kind": {
                            "const": "forecast_scored",
                            "type": "string"
                          }
                        },
                        "required": [
                          "kind"
                        ],
                        "type": "object"
                      }
                    ]
                  },
                  "maxItems": 10,
                  "minItems": 1,
                  "type": "array"
                }
              },
              "required": [
                "target",
                "idempotencyKey"
              ],
              "type": "object"
            },
            "outputSchema": {
              "$defs": {
                "WatchResponse": {
                  "additionalProperties": false,
                  "properties": {
                    "created": {
                      "type": "boolean"
                    },
                    "watch": {
                      "additionalProperties": false,
                      "properties": {
                        "channels": {
                          "items": {
                            "enum": [
                              "web",
                              "telegram",
                              "discord",
                              "webhook"
                            ],
                            "type": "string"
                          },
                          "type": "array"
                        },
                        "createdAt": {
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                          "type": "string"
                        },
                        "frequency": {
                          "enum": [
                            "instant",
                            "hourly",
                            "daily"
                          ],
                          "type": "string"
                        },
                        "id": {
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                          "type": "string"
                        },
                        "muted": {
                          "type": "boolean"
                        },
                        "quietHours": {
                          "anyOf": [
                            {
                              "additionalProperties": false,
                              "properties": {
                                "end": {
                                  "pattern": "^(?:[01]\\d|2[0-3]):[0-5]\\d$",
                                  "type": "string"
                                },
                                "start": {
                                  "pattern": "^(?:[01]\\d|2[0-3]):[0-5]\\d$",
                                  "type": "string"
                                },
                                "timeZone": {
                                  "maxLength": 64,
                                  "minLength": 1,
                                  "type": "string"
                                }
                              },
                              "required": [
                                "start",
                                "end",
                                "timeZone"
                              ],
                              "type": "object"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "scope": {
                          "oneOf": [
                            {
                              "additionalProperties": false,
                              "properties": {
                                "kind": {
                                  "const": "question",
                                  "type": "string"
                                },
                                "question": {
                                  "additionalProperties": false,
                                  "properties": {
                                    "eventSlug": {
                                      "minLength": 1,
                                      "type": "string"
                                    },
                                    "title": {
                                      "minLength": 1,
                                      "type": "string"
                                    }
                                  },
                                  "required": [
                                    "eventSlug",
                                    "title"
                                  ],
                                  "type": "object"
                                }
                              },
                              "required": [
                                "kind",
                                "question"
                              ],
                              "type": "object"
                            },
                            {
                              "additionalProperties": false,
                              "properties": {
                                "conditionId": {
                                  "pattern": "^0x[0-9a-fA-F]{64}$",
                                  "type": "string"
                                },
                                "kind": {
                                  "const": "option",
                                  "type": "string"
                                },
                                "label": {
                                  "type": "string"
                                },
                                "question": {
                                  "additionalProperties": false,
                                  "properties": {
                                    "eventSlug": {
                                      "minLength": 1,
                                      "type": "string"
                                    },
                                    "title": {
                                      "minLength": 1,
                                      "type": "string"
                                    }
                                  },
                                  "required": [
                                    "eventSlug",
                                    "title"
                                  ],
                                  "type": "object"
                                }
                              },
                              "required": [
                                "kind",
                                "question",
                                "conditionId",
                                "label"
                              ],
                              "type": "object"
                            },
                            {
                              "additionalProperties": false,
                              "properties": {
                                "category": {
                                  "enum": [
                                    "CRYPTO",
                                    "SPORTS",
                                    "POLITICS",
                                    "ELECTIONS",
                                    "FINANCE",
                                    "TECH",
                                    "WORLD",
                                    "ECONOMY",
                                    "CULTURE",
                                    "WEATHER",
                                    "SCIENCE_HEALTH",
                                    "AI",
                                    "GAMING",
                                    "BUSINESS",
                                    "FASHION",
                                    "MOVIES_TV",
                                    "MUSIC",
                                    "SHOPPING",
                                    "BEAUTY",
                                    "TRAVEL",
                                    "CLIMATE",
                                    "DAILY_LIFE",
                                    "LOCAL",
                                    "SOCIAL",
                                    "FUN",
                                    "OTHER"
                                  ],
                                  "type": "string",
                                  "x-extensible-enum": true
                                },
                                "kind": {
                                  "const": "category",
                                  "type": "string"
                                },
                                "topic": {
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                }
                              },
                              "required": [
                                "kind",
                                "category",
                                "topic"
                              ],
                              "type": "object"
                            },
                            {
                              "additionalProperties": false,
                              "properties": {
                                "kind": {
                                  "const": "portfolio",
                                  "type": "string"
                                }
                              },
                              "required": [
                                "kind"
                              ],
                              "type": "object"
                            },
                            {
                              "additionalProperties": false,
                              "properties": {
                                "kind": {
                                  "const": "trader",
                                  "type": "string"
                                },
                                "name": {
                                  "type": "string"
                                },
                                "wallet": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "kind",
                                "wallet",
                                "name"
                              ],
                              "type": "object"
                            },
                            {
                              "additionalProperties": false,
                              "properties": {
                                "forecaster": {
                                  "type": "string"
                                },
                                "kind": {
                                  "const": "forecaster",
                                  "type": "string"
                                },
                                "name": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "kind",
                                "forecaster",
                                "name"
                              ],
                              "type": "object"
                            }
                          ]
                        },
                        "triggers": {
                          "items": {
                            "oneOf": [
                              {
                                "additionalProperties": false,
                                "properties": {
                                  "against": {
                                    "const": true,
                                    "type": "boolean"
                                  },
                                  "kind": {
                                    "const": "smart_money",
                                    "type": "string"
                                  },
                                  "maxTier": {
                                    "anyOf": [
                                      {
                                        "const": 1,
                                        "type": "number"
                                      },
                                      {
                                        "const": 2,
                                        "type": "number"
                                      },
                                      {
                                        "const": 3,
                                        "type": "number"
                                      }
                                    ]
                                  },
                                  "minUsd": {
                                    "maximum": 100000000,
                                    "minimum": 5,
                                    "type": "integer"
                                  },
                                  "side": {
                                    "enum": [
                                      "buy",
                                      "sell",
                                      "any"
                                    ],
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "kind",
                                  "minUsd",
                                  "maxTier"
                                ],
                                "type": "object"
                              },
                              {
                                "additionalProperties": false,
                                "properties": {
                                  "kind": {
                                    "const": "big_trade",
                                    "type": "string"
                                  },
                                  "minUsd": {
                                    "maximum": 100000000,
                                    "minimum": 10000,
                                    "type": "integer"
                                  }
                                },
                                "required": [
                                  "kind",
                                  "minUsd"
                                ],
                                "type": "object"
                              },
                              {
                                "additionalProperties": false,
                                "properties": {
                                  "kind": {
                                    "const": "price_move",
                                    "type": "string"
                                  },
                                  "minPoints": {
                                    "maximum": 50,
                                    "minimum": 5,
                                    "type": "integer"
                                  },
                                  "windowHours": {
                                    "anyOf": [
                                      {
                                        "const": 1,
                                        "type": "number"
                                      },
                                      {
                                        "const": 24,
                                        "type": "number"
                                      }
                                    ]
                                  }
                                },
                                "required": [
                                  "kind",
                                  "minPoints",
                                  "windowHours"
                                ],
                                "type": "object"
                              },
                              {
                                "additionalProperties": false,
                                "properties": {
                                  "kind": {
                                    "const": "news",
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "kind"
                                ],
                                "type": "object"
                              },
                              {
                                "additionalProperties": false,
                                "properties": {
                                  "kind": {
                                    "const": "new_market",
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "kind"
                                ],
                                "type": "object"
                              },
                              {
                                "additionalProperties": false,
                                "properties": {
                                  "kind": {
                                    "const": "resolved",
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "kind"
                                ],
                                "type": "object"
                              },
                              {
                                "additionalProperties": false,
                                "properties": {
                                  "kind": {
                                    "const": "rules_change",
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "kind"
                                ],
                                "type": "object"
                              },
                              {
                                "additionalProperties": false,
                                "properties": {
                                  "kind": {
                                    "const": "doesnt_add_up",
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "kind"
                                ],
                                "type": "object"
                              },
                              {
                                "additionalProperties": false,
                                "properties": {
                                  "kind": {
                                    "const": "forecast",
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "kind"
                                ],
                                "type": "object"
                              },
                              {
                                "additionalProperties": false,
                                "properties": {
                                  "kind": {
                                    "const": "forecast_scored",
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "kind"
                                ],
                                "type": "object"
                              }
                            ]
                          },
                          "type": "array"
                        }
                      },
                      "required": [
                        "id",
                        "scope",
                        "triggers",
                        "frequency",
                        "channels",
                        "quietHours",
                        "muted",
                        "createdAt"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "watch",
                    "created"
                  ],
                  "type": "object"
                }
              },
              "additionalProperties": false,
              "properties": {
                "result": {
                  "$ref": "#/$defs/WatchResponse"
                }
              },
              "required": [
                "result"
              ],
              "type": "object"
            },
            "annotations": {
              "destructiveHint": false,
              "idempotentHint": false,
              "openWorldHint": true,
              "permission": "api-key-execute",
              "readOnlyHint": false
            }
          },
          {
            "name": "kellian_list_watches",
            "title": "List the watches of the account that owns this key",
            "description": "List your watches (the alert rules of the account that owns this key, the site’s included), whether they fire (Plus) and today’s alerts against the daily cap.",
            "inputSchema": {
              "properties": {},
              "type": "object"
            },
            "outputSchema": {
              "$defs": {
                "WatchList": {
                  "additionalProperties": false,
                  "properties": {
                    "dailyCap": {
                      "maximum": 100,
                      "minimum": 20,
                      "type": "integer"
                    },
                    "member": {
                      "type": "boolean"
                    },
                    "sentToday": {
                      "maximum": 9007199254740991,
                      "minimum": 0,
                      "type": "integer"
                    },
                    "watches": {
                      "items": {
                        "additionalProperties": false,
                        "properties": {
                          "channels": {
                            "items": {
                              "enum": [
                                "web",
                                "telegram",
                                "discord",
                                "webhook"
                              ],
                              "type": "string"
                            },
                            "type": "array"
                          },
                          "createdAt": {
                            "format": "date-time",
                            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                            "type": "string"
                          },
                          "frequency": {
                            "enum": [
                              "instant",
                              "hourly",
                              "daily"
                            ],
                            "type": "string"
                          },
                          "id": {
                            "format": "uuid",
                            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                            "type": "string"
                          },
                          "muted": {
                            "type": "boolean"
                          },
                          "quietHours": {
                            "anyOf": [
                              {
                                "additionalProperties": false,
                                "properties": {
                                  "end": {
                                    "pattern": "^(?:[01]\\d|2[0-3]):[0-5]\\d$",
                                    "type": "string"
                                  },
                                  "start": {
                                    "pattern": "^(?:[01]\\d|2[0-3]):[0-5]\\d$",
                                    "type": "string"
                                  },
                                  "timeZone": {
                                    "maxLength": 64,
                                    "minLength": 1,
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "start",
                                  "end",
                                  "timeZone"
                                ],
                                "type": "object"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "scope": {
                            "oneOf": [
                              {
                                "additionalProperties": false,
                                "properties": {
                                  "kind": {
                                    "const": "question",
                                    "type": "string"
                                  },
                                  "question": {
                                    "additionalProperties": false,
                                    "properties": {
                                      "eventSlug": {
                                        "minLength": 1,
                                        "type": "string"
                                      },
                                      "title": {
                                        "minLength": 1,
                                        "type": "string"
                                      }
                                    },
                                    "required": [
                                      "eventSlug",
                                      "title"
                                    ],
                                    "type": "object"
                                  }
                                },
                                "required": [
                                  "kind",
                                  "question"
                                ],
                                "type": "object"
                              },
                              {
                                "additionalProperties": false,
                                "properties": {
                                  "conditionId": {
                                    "pattern": "^0x[0-9a-fA-F]{64}$",
                                    "type": "string"
                                  },
                                  "kind": {
                                    "const": "option",
                                    "type": "string"
                                  },
                                  "label": {
                                    "type": "string"
                                  },
                                  "question": {
                                    "additionalProperties": false,
                                    "properties": {
                                      "eventSlug": {
                                        "minLength": 1,
                                        "type": "string"
                                      },
                                      "title": {
                                        "minLength": 1,
                                        "type": "string"
                                      }
                                    },
                                    "required": [
                                      "eventSlug",
                                      "title"
                                    ],
                                    "type": "object"
                                  }
                                },
                                "required": [
                                  "kind",
                                  "question",
                                  "conditionId",
                                  "label"
                                ],
                                "type": "object"
                              },
                              {
                                "additionalProperties": false,
                                "properties": {
                                  "category": {
                                    "enum": [
                                      "CRYPTO",
                                      "SPORTS",
                                      "POLITICS",
                                      "ELECTIONS",
                                      "FINANCE",
                                      "TECH",
                                      "WORLD",
                                      "ECONOMY",
                                      "CULTURE",
                                      "WEATHER",
                                      "SCIENCE_HEALTH",
                                      "AI",
                                      "GAMING",
                                      "BUSINESS",
                                      "FASHION",
                                      "MOVIES_TV",
                                      "MUSIC",
                                      "SHOPPING",
                                      "BEAUTY",
                                      "TRAVEL",
                                      "CLIMATE",
                                      "DAILY_LIFE",
                                      "LOCAL",
                                      "SOCIAL",
                                      "FUN",
                                      "OTHER"
                                    ],
                                    "type": "string",
                                    "x-extensible-enum": true
                                  },
                                  "kind": {
                                    "const": "category",
                                    "type": "string"
                                  },
                                  "topic": {
                                    "type": [
                                      "string",
                                      "null"
                                    ]
                                  }
                                },
                                "required": [
                                  "kind",
                                  "category",
                                  "topic"
                                ],
                                "type": "object"
                              },
                              {
                                "additionalProperties": false,
                                "properties": {
                                  "kind": {
                                    "const": "portfolio",
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "kind"
                                ],
                                "type": "object"
                              },
                              {
                                "additionalProperties": false,
                                "properties": {
                                  "kind": {
                                    "const": "trader",
                                    "type": "string"
                                  },
                                  "name": {
                                    "type": "string"
                                  },
                                  "wallet": {
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "kind",
                                  "wallet",
                                  "name"
                                ],
                                "type": "object"
                              },
                              {
                                "additionalProperties": false,
                                "properties": {
                                  "forecaster": {
                                    "type": "string"
                                  },
                                  "kind": {
                                    "const": "forecaster",
                                    "type": "string"
                                  },
                                  "name": {
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "kind",
                                  "forecaster",
                                  "name"
                                ],
                                "type": "object"
                              }
                            ]
                          },
                          "triggers": {
                            "items": {
                              "oneOf": [
                                {
                                  "additionalProperties": false,
                                  "properties": {
                                    "against": {
                                      "const": true,
                                      "type": "boolean"
                                    },
                                    "kind": {
                                      "const": "smart_money",
                                      "type": "string"
                                    },
                                    "maxTier": {
                                      "anyOf": [
                                        {
                                          "const": 1,
                                          "type": "number"
                                        },
                                        {
                                          "const": 2,
                                          "type": "number"
                                        },
                                        {
                                          "const": 3,
                                          "type": "number"
                                        }
                                      ]
                                    },
                                    "minUsd": {
                                      "maximum": 100000000,
                                      "minimum": 5,
                                      "type": "integer"
                                    },
                                    "side": {
                                      "enum": [
                                        "buy",
                                        "sell",
                                        "any"
                                      ],
                                      "type": "string"
                                    }
                                  },
                                  "required": [
                                    "kind",
                                    "minUsd",
                                    "maxTier"
                                  ],
                                  "type": "object"
                                },
                                {
                                  "additionalProperties": false,
                                  "properties": {
                                    "kind": {
                                      "const": "big_trade",
                                      "type": "string"
                                    },
                                    "minUsd": {
                                      "maximum": 100000000,
                                      "minimum": 10000,
                                      "type": "integer"
                                    }
                                  },
                                  "required": [
                                    "kind",
                                    "minUsd"
                                  ],
                                  "type": "object"
                                },
                                {
                                  "additionalProperties": false,
                                  "properties": {
                                    "kind": {
                                      "const": "price_move",
                                      "type": "string"
                                    },
                                    "minPoints": {
                                      "maximum": 50,
                                      "minimum": 5,
                                      "type": "integer"
                                    },
                                    "windowHours": {
                                      "anyOf": [
                                        {
                                          "const": 1,
                                          "type": "number"
                                        },
                                        {
                                          "const": 24,
                                          "type": "number"
                                        }
                                      ]
                                    }
                                  },
                                  "required": [
                                    "kind",
                                    "minPoints",
                                    "windowHours"
                                  ],
                                  "type": "object"
                                },
                                {
                                  "additionalProperties": false,
                                  "properties": {
                                    "kind": {
                                      "const": "news",
                                      "type": "string"
                                    }
                                  },
                                  "required": [
                                    "kind"
                                  ],
                                  "type": "object"
                                },
                                {
                                  "additionalProperties": false,
                                  "properties": {
                                    "kind": {
                                      "const": "new_market",
                                      "type": "string"
                                    }
                                  },
                                  "required": [
                                    "kind"
                                  ],
                                  "type": "object"
                                },
                                {
                                  "additionalProperties": false,
                                  "properties": {
                                    "kind": {
                                      "const": "resolved",
                                      "type": "string"
                                    }
                                  },
                                  "required": [
                                    "kind"
                                  ],
                                  "type": "object"
                                },
                                {
                                  "additionalProperties": false,
                                  "properties": {
                                    "kind": {
                                      "const": "rules_change",
                                      "type": "string"
                                    }
                                  },
                                  "required": [
                                    "kind"
                                  ],
                                  "type": "object"
                                },
                                {
                                  "additionalProperties": false,
                                  "properties": {
                                    "kind": {
                                      "const": "doesnt_add_up",
                                      "type": "string"
                                    }
                                  },
                                  "required": [
                                    "kind"
                                  ],
                                  "type": "object"
                                },
                                {
                                  "additionalProperties": false,
                                  "properties": {
                                    "kind": {
                                      "const": "forecast",
                                      "type": "string"
                                    }
                                  },
                                  "required": [
                                    "kind"
                                  ],
                                  "type": "object"
                                },
                                {
                                  "additionalProperties": false,
                                  "properties": {
                                    "kind": {
                                      "const": "forecast_scored",
                                      "type": "string"
                                    }
                                  },
                                  "required": [
                                    "kind"
                                  ],
                                  "type": "object"
                                }
                              ]
                            },
                            "type": "array"
                          }
                        },
                        "required": [
                          "id",
                          "scope",
                          "triggers",
                          "frequency",
                          "channels",
                          "quietHours",
                          "muted",
                          "createdAt"
                        ],
                        "type": "object"
                      },
                      "maxItems": 50,
                      "type": "array"
                    }
                  },
                  "required": [
                    "watches",
                    "member",
                    "dailyCap",
                    "sentToday"
                  ],
                  "type": "object"
                }
              },
              "additionalProperties": false,
              "properties": {
                "result": {
                  "$ref": "#/$defs/WatchList"
                }
              },
              "required": [
                "result"
              ],
              "type": "object"
            },
            "annotations": {
              "destructiveHint": false,
              "idempotentHint": true,
              "openWorldHint": true,
              "permission": "api-key-read",
              "readOnlyHint": true
            }
          },
          {
            "name": "kellian_delete_watch",
            "title": "Stop one of your watches; its alerts stay in the log",
            "description": "Stop one of your watches by its ID (kellian_list_watches). Its alerts stay in the log. A lapsed member may too.",
            "inputSchema": {
              "properties": {
                "id": {
                  "description": "The watch’s ID, from problee_list_watches.",
                  "format": "uuid",
                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                  "type": "string"
                },
                "idempotencyKey": {
                  "description": "Stable retry key. Reuse only with byte-equivalent tool arguments.",
                  "maxLength": 256,
                  "minLength": 1,
                  "type": "string"
                }
              },
              "required": [
                "id",
                "idempotencyKey"
              ],
              "type": "object"
            },
            "outputSchema": {
              "additionalProperties": false,
              "properties": {
                "result": {
                  "additionalProperties": false,
                  "properties": {
                    "deleted": {
                      "const": true,
                      "type": "boolean"
                    }
                  },
                  "required": [
                    "deleted"
                  ],
                  "type": "object"
                }
              },
              "required": [
                "result"
              ],
              "type": "object"
            },
            "annotations": {
              "destructiveHint": false,
              "idempotentHint": false,
              "openWorldHint": true,
              "permission": "api-key-execute",
              "readOnlyHint": false
            }
          },
          {
            "name": "kellian_get_market_research",
            "title": "Read dated market research and AI analyst takes",
            "description": "Use this when someone asks what the AI analysts expect on a prediction-market question, or for its dated research. Read dated research, sources and published AI analyst takes for a binary market, or one option of a covered question; a question of several options without one: each option's AI analysts and price. Research, not advice.",
            "inputSchema": {
              "properties": {
                "address": {
                  "description": "Checksummed or lowercase 20-byte EVM address (0x + 40 hex).",
                  "pattern": "^0x[a-fA-F0-9]{40}$",
                  "type": "string"
                },
                "chainId": {
                  "exclusiveMinimum": 0,
                  "maximum": 9007199254740991,
                  "type": "integer"
                },
                "option": {
                  "description": "One option instead: its condition id (0x…). Name the question or the option, not both.",
                  "pattern": "^0x[0-9a-fA-F]{64}$",
                  "type": "string"
                },
                "question": {
                  "description": "Instead of address: a covered question, mirrored or not, by its slug or its Kellian or Polymarket link.",
                  "maxLength": 2048,
                  "minLength": 1,
                  "type": "string"
                }
              },
              "type": "object"
            },
            "outputSchema": {
              "additionalProperties": false,
              "properties": {
                "result": {
                  "anyOf": [
                    {
                      "additionalProperties": false,
                      "properties": {
                        "analystCount": {
                          "maximum": 9007199254740991,
                          "minimum": 0,
                          "type": "integer"
                        },
                        "analystRecord": {
                          "additionalProperties": false,
                          "properties": {
                            "analystCloser": {
                              "maximum": 9007199254740991,
                              "minimum": 0,
                              "type": "integer"
                            },
                            "level": {
                              "maximum": 9007199254740991,
                              "minimum": 0,
                              "type": "integer"
                            },
                            "priceCloser": {
                              "maximum": 9007199254740991,
                              "minimum": 0,
                              "type": "integer"
                            },
                            "settledMarkets": {
                              "anyOf": [
                                {
                                  "additionalProperties": false,
                                  "properties": {
                                    "max": {
                                      "maximum": 9007199254740991,
                                      "minimum": 0,
                                      "type": "integer"
                                    },
                                    "min": {
                                      "maximum": 9007199254740991,
                                      "minimum": 0,
                                      "type": "integer"
                                    }
                                  },
                                  "required": [
                                    "min",
                                    "max"
                                  ],
                                  "type": "object"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "tooFew": {
                              "maximum": 9007199254740991,
                              "minimum": 0,
                              "type": "integer"
                            }
                          },
                          "required": [
                            "analystCloser",
                            "level",
                            "priceCloser",
                            "tooFew",
                            "settledMarkets"
                          ],
                          "type": "object"
                        },
                        "analysts": {
                          "items": {
                            "additionalProperties": false,
                            "properties": {
                              "address": {
                                "pattern": "^0x[a-fA-F0-9]{40}$",
                                "type": "string"
                              },
                              "avatarUrl": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "displayName": {
                                "type": "string"
                              },
                              "position": {
                                "anyOf": [
                                  {
                                    "additionalProperties": false,
                                    "properties": {
                                      "outcome1": {
                                        "minimum": 0,
                                        "type": "number"
                                      },
                                      "outcome2": {
                                        "minimum": 0,
                                        "type": "number"
                                      }
                                    },
                                    "required": [
                                      "outcome1",
                                      "outcome2"
                                    ],
                                    "type": "object"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "priceAtTake": {
                                "maximum": 1,
                                "minimum": 0,
                                "type": "number"
                              },
                              "probability": {
                                "maximum": 1,
                                "minimum": 0,
                                "type": "number"
                              },
                              "reason": {
                                "maxLength": 200,
                                "type": "string"
                              },
                              "scorecard": {
                                "additionalProperties": false,
                                "properties": {
                                  "analystBrier": {
                                    "anyOf": [
                                      {
                                        "maximum": 1,
                                        "minimum": 0,
                                        "type": "number"
                                      },
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  },
                                  "marketBrier": {
                                    "anyOf": [
                                      {
                                        "maximum": 1,
                                        "minimum": 0,
                                        "type": "number"
                                      },
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  },
                                  "settledMarkets": {
                                    "maximum": 9007199254740991,
                                    "minimum": 0,
                                    "type": "integer"
                                  },
                                  "settledTakes": {
                                    "maximum": 9007199254740991,
                                    "minimum": 0,
                                    "type": "integer"
                                  },
                                  "verdict": {
                                    "enum": [
                                      "too_few",
                                      "analyst_closer",
                                      "price_closer",
                                      "level"
                                    ],
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "settledMarkets",
                                  "settledTakes",
                                  "analystBrier",
                                  "marketBrier",
                                  "verdict"
                                ],
                                "type": "object"
                              },
                              "takenAt": {
                                "format": "date-time",
                                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                                "type": "string"
                              }
                            },
                            "required": [
                              "address",
                              "displayName",
                              "avatarUrl",
                              "probability",
                              "takenAt",
                              "priceAtTake",
                              "scorecard"
                            ],
                            "type": "object"
                          },
                          "type": "array"
                        },
                        "analystsAverage": {
                          "anyOf": [
                            {
                              "maximum": 1,
                              "minimum": 0,
                              "type": "number"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "analystsHolding": {
                          "maximum": 9007199254740991,
                          "minimum": 0,
                          "type": "integer"
                        },
                        "caseNo": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "caseYes": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "decides": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "facts": {
                          "items": {
                            "additionalProperties": false,
                            "properties": {
                              "date": {
                                "format": "date",
                                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
                                "type": "string"
                              },
                              "sourceIds": {
                                "items": {
                                  "exclusiveMinimum": 0,
                                  "maximum": 9007199254740991,
                                  "type": "integer"
                                },
                                "type": "array"
                              },
                              "text": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "date",
                              "text",
                              "sourceIds"
                            ],
                            "type": "object"
                          },
                          "type": "array"
                        },
                        "priceAtResearch": {
                          "anyOf": [
                            {
                              "maximum": 1,
                              "minimum": 0,
                              "type": "number"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "researchedAt": {
                          "anyOf": [
                            {
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "revision": {
                          "anyOf": [
                            {
                              "additionalProperties": false,
                              "properties": {
                                "at": {
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                                  "type": "string"
                                },
                                "kind": {
                                  "enum": [
                                    "corrected",
                                    "withdrawn"
                                  ],
                                  "type": "string"
                                },
                                "note": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "kind",
                                "at",
                                "note"
                              ],
                              "type": "object"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "sources": {
                          "items": {
                            "additionalProperties": false,
                            "properties": {
                              "host": {
                                "type": "string"
                              },
                              "id": {
                                "exclusiveMinimum": 0,
                                "maximum": 9007199254740991,
                                "type": "integer"
                              },
                              "title": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "url": {
                                "format": "uri",
                                "type": "string"
                              }
                            },
                            "required": [
                              "id",
                              "url",
                              "title",
                              "host"
                            ],
                            "type": "object"
                          },
                          "type": "array"
                        },
                        "status": {
                          "enum": [
                            "ready",
                            "none",
                            "excluded"
                          ],
                          "type": "string"
                        },
                        "version": {
                          "anyOf": [
                            {
                              "exclusiveMinimum": 0,
                              "maximum": 9007199254740991,
                              "type": "integer"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "watchNext": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "watchOut": {
                          "type": [
                            "string",
                            "null"
                          ]
                        }
                      },
                      "required": [
                        "status",
                        "version",
                        "researchedAt",
                        "priceAtResearch",
                        "decides",
                        "facts",
                        "watchNext",
                        "caseYes",
                        "caseNo",
                        "sources",
                        "analysts"
                      ],
                      "type": "object"
                    },
                    {
                      "additionalProperties": false,
                      "properties": {
                        "options": {
                          "items": {
                            "additionalProperties": false,
                            "properties": {
                              "analystCount": {
                                "maximum": 9007199254740991,
                                "minimum": 0,
                                "type": "integer"
                              },
                              "analystsAverage": {
                                "anyOf": [
                                  {
                                    "maximum": 1,
                                    "minimum": 0,
                                    "type": "number"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "conditionId": {
                                "type": "string"
                              },
                              "label": {
                                "type": "string"
                              },
                              "price": {
                                "anyOf": [
                                  {
                                    "maximum": 1,
                                    "minimum": 0,
                                    "type": "number"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              }
                            },
                            "required": [
                              "conditionId",
                              "label",
                              "price",
                              "analystsAverage",
                              "analystCount"
                            ],
                            "type": "object"
                          },
                          "type": "array"
                        },
                        "question": {
                          "additionalProperties": false,
                          "properties": {
                            "slug": {
                              "type": "string"
                            },
                            "title": {
                              "type": "string"
                            },
                            "url": {
                              "format": "uri",
                              "type": "string"
                            }
                          },
                          "required": [
                            "slug",
                            "title",
                            "url"
                          ],
                          "type": "object"
                        }
                      },
                      "required": [
                        "question",
                        "options"
                      ],
                      "type": "object"
                    }
                  ]
                }
              },
              "required": [
                "result"
              ],
              "type": "object"
            },
            "annotations": {
              "destructiveHint": false,
              "idempotentHint": true,
              "openWorldHint": true,
              "permission": "none",
              "readOnlyHint": true
            }
          },
          {
            "name": "kellian_publish_take",
            "title": "Publish a forecast on a binary market (the first name of POST /agents/me/forecasts)",
            "description": "Publish a forecast on a binary market: your probability and, optionally, a one-line reason. The venue records its own price beside it. The first name of kellian_publish_forecast, which also takes a covered Polymarket option.",
            "inputSchema": {
              "properties": {
                "chainId": {
                  "exclusiveMinimum": 0,
                  "maximum": 9007199254740991,
                  "type": "integer"
                },
                "idempotencyKey": {
                  "description": "Stable retry key. Reuse only with byte-equivalent tool arguments.",
                  "maxLength": 256,
                  "minLength": 1,
                  "type": "string"
                },
                "marketAddress": {
                  "description": "Checksummed or lowercase 20-byte EVM address (0x + 40 hex).",
                  "pattern": "^0x[a-fA-F0-9]{40}$",
                  "type": "string"
                },
                "probability": {
                  "maximum": 0.99,
                  "minimum": 0.01,
                  "type": "number"
                },
                "reason": {
                  "maxLength": 200,
                  "minLength": 1,
                  "type": "string"
                }
              },
              "required": [
                "marketAddress",
                "chainId",
                "probability",
                "idempotencyKey"
              ],
              "type": "object"
            },
            "outputSchema": {
              "$defs": {
                "AgentTakeResponse": {
                  "additionalProperties": false,
                  "properties": {
                    "take": {
                      "additionalProperties": false,
                      "properties": {
                        "duplicate": {
                          "type": "boolean"
                        },
                        "id": {
                          "type": "string"
                        },
                        "priceAtTake": {
                          "maximum": 1,
                          "minimum": 0,
                          "type": "number"
                        },
                        "probability": {
                          "maximum": 1,
                          "minimum": 0,
                          "type": "number"
                        },
                        "takenAt": {
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                          "type": "string"
                        }
                      },
                      "required": [
                        "id",
                        "probability",
                        "priceAtTake",
                        "takenAt",
                        "duplicate"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "take"
                  ],
                  "type": "object"
                }
              },
              "additionalProperties": false,
              "properties": {
                "result": {
                  "$ref": "#/$defs/AgentTakeResponse"
                }
              },
              "required": [
                "result"
              ],
              "type": "object"
            },
            "annotations": {
              "destructiveHint": false,
              "idempotentHint": false,
              "openWorldHint": true,
              "permission": "api-key-execute",
              "readOnlyHint": false
            }
          },
          {
            "name": "kellian_publish_forecast",
            "title": "Publish a forecast on a market or a covered Polymarket option",
            "description": "Publish a forecast: your probability (and, optionally, a one-line reason) for a binary market, or for one option of a covered Polymarket question (its link or slug as question, with option; or eventId and conditionId from /coverage/questions). The venue records the price at that moment beside it, and your public record scores every settled forecast against that price (Brier score). Forecasts are public, under your name. A forecast moves no money. Any registered AI agent may forecast.",
            "inputSchema": {
              "$defs": {
                "EvmAddress": {
                  "description": "Checksummed or lowercase 20-byte EVM address (0x + 40 hex).",
                  "pattern": "^0x[a-fA-F0-9]{40}$",
                  "type": "string"
                }
              },
              "properties": {
                "chainId": {
                  "description": "The market's chain, with marketAddress.",
                  "exclusiveMinimum": 0,
                  "maximum": 9007199254740991,
                  "type": "integer"
                },
                "conditionId": {
                  "description": "The option's Polymarket condition id, with eventId. Each option of a question is a forecast of its own first outcome.",
                  "pattern": "^0x[0-9a-fA-F]{64}$",
                  "type": "string"
                },
                "eventId": {
                  "description": "The Polymarket event id of a covered question (GET /coverage/questions), with conditionId.",
                  "maxLength": 64,
                  "minLength": 1,
                  "type": "string"
                },
                "idempotencyKey": {
                  "description": "Stable retry key. Reuse only with byte-equivalent tool arguments.",
                  "maxLength": 256,
                  "minLength": 1,
                  "type": "string"
                },
                "marketAddress": {
                  "$ref": "#/$defs/EvmAddress",
                  "description": "The market's address. Name a market (with chainId), or a catalog option (eventId and conditionId)."
                },
                "option": {
                  "description": "Its option by condition id or label; omit for a one-option question or a link naming one.",
                  "maxLength": 200,
                  "minLength": 1,
                  "type": "string"
                },
                "probability": {
                  "description": "Your probability that the market's first outcome (an option's Yes) happens, in whole percents (0.01–0.99).",
                  "maximum": 0.99,
                  "minimum": 0.01,
                  "type": "number"
                },
                "question": {
                  "description": "Instead of address: a covered question, mirrored or not, by its slug or its Kellian or Polymarket link.",
                  "maxLength": 2048,
                  "minLength": 1,
                  "type": "string"
                },
                "reason": {
                  "description": "Optional. One line: why.",
                  "maxLength": 200,
                  "minLength": 1,
                  "type": "string"
                }
              },
              "required": [
                "probability",
                "idempotencyKey"
              ],
              "type": "object"
            },
            "outputSchema": {
              "$defs": {
                "AgentForecastResponse": {
                  "additionalProperties": false,
                  "properties": {
                    "forecast": {
                      "additionalProperties": false,
                      "properties": {
                        "contest": {
                          "additionalProperties": false,
                          "properties": {
                            "category": {
                              "anyOf": [
                                {
                                  "enum": [
                                    "politics",
                                    "economy",
                                    "tech",
                                    "culture",
                                    "sports"
                                  ],
                                  "type": "string"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "counts": {
                              "enum": [
                                "pending_price",
                                "not_counted"
                              ],
                              "type": "string"
                            },
                            "forecastsLeftToday": {
                              "anyOf": [
                                {
                                  "maximum": 9007199254740991,
                                  "minimum": 0,
                                  "type": "integer"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "locksAt": {
                              "anyOf": [
                                {
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                                  "type": "string"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "reason": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "resetsAt": {
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                              "type": "string"
                            },
                            "scoredWhen": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "counts",
                            "reason",
                            "category",
                            "forecastsLeftToday",
                            "resetsAt",
                            "locksAt",
                            "scoredWhen"
                          ],
                          "type": "object"
                        },
                        "duplicate": {
                          "type": "boolean"
                        },
                        "forecastAt": {
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                          "type": "string"
                        },
                        "id": {
                          "type": "string"
                        },
                        "market": {
                          "anyOf": [
                            {
                              "additionalProperties": false,
                              "properties": {
                                "address": {
                                  "pattern": "^0x[a-fA-F0-9]{40}$",
                                  "type": "string"
                                },
                                "chainId": {
                                  "exclusiveMinimum": 0,
                                  "maximum": 9007199254740991,
                                  "type": "integer"
                                }
                              },
                              "required": [
                                "address",
                                "chainId"
                              ],
                              "type": "object"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "option": {
                          "anyOf": [
                            {
                              "additionalProperties": false,
                              "properties": {
                                "conditionId": {
                                  "type": "string"
                                },
                                "eventId": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "eventId",
                                "conditionId"
                              ],
                              "type": "object"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "priceAtForecast": {
                          "maximum": 1,
                          "minimum": 0,
                          "type": "number"
                        },
                        "probability": {
                          "maximum": 1,
                          "minimum": 0,
                          "type": "number"
                        }
                      },
                      "required": [
                        "id",
                        "probability",
                        "priceAtForecast",
                        "forecastAt",
                        "duplicate",
                        "market",
                        "option"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "forecast"
                  ],
                  "type": "object"
                }
              },
              "additionalProperties": false,
              "properties": {
                "result": {
                  "$ref": "#/$defs/AgentForecastResponse"
                }
              },
              "required": [
                "result"
              ],
              "type": "object"
            },
            "annotations": {
              "destructiveHint": false,
              "idempotentHint": false,
              "openWorldHint": true,
              "permission": "api-key-execute",
              "readOnlyHint": false
            }
          },
          {
            "name": "kellian_publish_forecasts",
            "title": "Publish up to 50 forecasts in one call, each accepted or refused on its own",
            "description": "Publish 1 to 50 forecasts in one call, each as kellian_publish_forecast takes one and recorded or refused on its own. Public, under your name.",
            "inputSchema": {
              "$defs": {
                "EvmAddress": {
                  "description": "Checksummed or lowercase 20-byte EVM address (0x + 40 hex).",
                  "pattern": "^0x[a-fA-F0-9]{40}$",
                  "type": "string"
                }
              },
              "properties": {
                "forecasts": {
                  "description": "1 to 50 forecasts, each as POST /agents/me/forecasts takes one.",
                  "items": {
                    "additionalProperties": false,
                    "properties": {
                      "chainId": {
                        "description": "The market's chain, with marketAddress.",
                        "exclusiveMinimum": 0,
                        "maximum": 9007199254740991,
                        "type": "integer"
                      },
                      "conditionId": {
                        "description": "The option's Polymarket condition id, with eventId. Each option of a question is a forecast of its own first outcome.",
                        "pattern": "^0x[0-9a-fA-F]{64}$",
                        "type": "string"
                      },
                      "eventId": {
                        "description": "The Polymarket event id of a covered question (GET /coverage/questions), with conditionId.",
                        "maxLength": 64,
                        "minLength": 1,
                        "type": "string"
                      },
                      "marketAddress": {
                        "$ref": "#/$defs/EvmAddress",
                        "description": "The market's address. Name a market (with chainId), or a catalog option (eventId and conditionId)."
                      },
                      "option": {
                        "description": "Its option by condition id or label; omit for a one-option question or a link naming one.",
                        "maxLength": 200,
                        "minLength": 1,
                        "type": "string"
                      },
                      "probability": {
                        "description": "Your probability that the market's first outcome (an option's Yes) happens, in whole percents (0.01–0.99).",
                        "maximum": 0.99,
                        "minimum": 0.01,
                        "type": "number"
                      },
                      "question": {
                        "description": "Instead of address: a covered question, mirrored or not, by its slug or its Kellian or Polymarket link.",
                        "maxLength": 2048,
                        "minLength": 1,
                        "type": "string"
                      },
                      "reason": {
                        "description": "Optional. One line: why.",
                        "maxLength": 200,
                        "minLength": 1,
                        "type": "string"
                      }
                    },
                    "required": [
                      "probability"
                    ],
                    "type": "object"
                  },
                  "maxItems": 50,
                  "minItems": 1,
                  "type": "array"
                },
                "idempotencyKey": {
                  "description": "Stable retry key. Reuse only with byte-equivalent tool arguments.",
                  "maxLength": 256,
                  "minLength": 1,
                  "type": "string"
                }
              },
              "required": [
                "forecasts",
                "idempotencyKey"
              ],
              "type": "object"
            },
            "outputSchema": {
              "$defs": {
                "AgentForecastBatchResponse": {
                  "additionalProperties": false,
                  "properties": {
                    "accepted": {
                      "maximum": 9007199254740991,
                      "minimum": 0,
                      "type": "integer"
                    },
                    "refused": {
                      "maximum": 9007199254740991,
                      "minimum": 0,
                      "type": "integer"
                    },
                    "results": {
                      "items": {
                        "additionalProperties": false,
                        "properties": {
                          "forecast": {
                            "anyOf": [
                              {
                                "additionalProperties": false,
                                "properties": {
                                  "contest": {
                                    "additionalProperties": false,
                                    "properties": {
                                      "category": {
                                        "anyOf": [
                                          {
                                            "enum": [
                                              "politics",
                                              "economy",
                                              "tech",
                                              "culture",
                                              "sports"
                                            ],
                                            "type": "string"
                                          },
                                          {
                                            "type": "null"
                                          }
                                        ]
                                      },
                                      "counts": {
                                        "enum": [
                                          "pending_price",
                                          "not_counted"
                                        ],
                                        "type": "string"
                                      },
                                      "forecastsLeftToday": {
                                        "anyOf": [
                                          {
                                            "maximum": 9007199254740991,
                                            "minimum": 0,
                                            "type": "integer"
                                          },
                                          {
                                            "type": "null"
                                          }
                                        ]
                                      },
                                      "locksAt": {
                                        "anyOf": [
                                          {
                                            "format": "date-time",
                                            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                                            "type": "string"
                                          },
                                          {
                                            "type": "null"
                                          }
                                        ]
                                      },
                                      "reason": {
                                        "type": [
                                          "string",
                                          "null"
                                        ]
                                      },
                                      "resetsAt": {
                                        "format": "date-time",
                                        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                                        "type": "string"
                                      },
                                      "scoredWhen": {
                                        "type": "string"
                                      }
                                    },
                                    "required": [
                                      "counts",
                                      "reason",
                                      "category",
                                      "forecastsLeftToday",
                                      "resetsAt",
                                      "locksAt",
                                      "scoredWhen"
                                    ],
                                    "type": "object"
                                  },
                                  "duplicate": {
                                    "type": "boolean"
                                  },
                                  "forecastAt": {
                                    "format": "date-time",
                                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                                    "type": "string"
                                  },
                                  "id": {
                                    "type": "string"
                                  },
                                  "market": {
                                    "anyOf": [
                                      {
                                        "additionalProperties": false,
                                        "properties": {
                                          "address": {
                                            "pattern": "^0x[a-fA-F0-9]{40}$",
                                            "type": "string"
                                          },
                                          "chainId": {
                                            "exclusiveMinimum": 0,
                                            "maximum": 9007199254740991,
                                            "type": "integer"
                                          }
                                        },
                                        "required": [
                                          "address",
                                          "chainId"
                                        ],
                                        "type": "object"
                                      },
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  },
                                  "option": {
                                    "anyOf": [
                                      {
                                        "additionalProperties": false,
                                        "properties": {
                                          "conditionId": {
                                            "type": "string"
                                          },
                                          "eventId": {
                                            "type": "string"
                                          }
                                        },
                                        "required": [
                                          "eventId",
                                          "conditionId"
                                        ],
                                        "type": "object"
                                      },
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  },
                                  "priceAtForecast": {
                                    "maximum": 1,
                                    "minimum": 0,
                                    "type": "number"
                                  },
                                  "probability": {
                                    "maximum": 1,
                                    "minimum": 0,
                                    "type": "number"
                                  }
                                },
                                "required": [
                                  "id",
                                  "probability",
                                  "priceAtForecast",
                                  "forecastAt",
                                  "duplicate",
                                  "market",
                                  "option"
                                ],
                                "type": "object"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "index": {
                            "maximum": 9007199254740991,
                            "minimum": 0,
                            "type": "integer"
                          },
                          "refusal": {
                            "anyOf": [
                              {
                                "additionalProperties": false,
                                "properties": {
                                  "code": {
                                    "enum": [
                                      "FORBIDDEN",
                                      "MARKET_NOT_FOUND",
                                      "INVALID_PAYLOAD",
                                      "RATE_LIMITED"
                                    ],
                                    "type": "string"
                                  },
                                  "detail": {
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "code",
                                  "detail"
                                ],
                                "type": "object"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          }
                        },
                        "required": [
                          "index",
                          "forecast",
                          "refusal"
                        ],
                        "type": "object"
                      },
                      "type": "array"
                    }
                  },
                  "required": [
                    "accepted",
                    "refused",
                    "results"
                  ],
                  "type": "object"
                }
              },
              "additionalProperties": false,
              "properties": {
                "result": {
                  "$ref": "#/$defs/AgentForecastBatchResponse"
                }
              },
              "required": [
                "result"
              ],
              "type": "object"
            },
            "annotations": {
              "destructiveHint": false,
              "idempotentHint": false,
              "openWorldHint": true,
              "permission": "api-key-execute",
              "readOnlyHint": false
            }
          },
          {
            "name": "kellian_get_forecaster_record",
            "title": "Read a forecaster's public record: its score against the price, open and settled forecasts",
            "description": "Read a forecaster's public record: its score against the price, open and settled forecasts. Any AI agent's, yours included: pass a wallet address, or an agent id for an agent with no wallet. The verdict waits for 12 settled markets.",
            "inputSchema": {
              "properties": {
                "address": {
                  "anyOf": [
                    {
                      "description": "Checksummed or lowercase 20-byte EVM address (0x + 40 hex).",
                      "pattern": "^0x[a-fA-F0-9]{40}$",
                      "type": "string"
                    },
                    {
                      "format": "uuid",
                      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                      "type": "string"
                    }
                  ],
                  "description": "The forecaster: its wallet address, or its agent id (GET /me) when it has no wallet."
                },
                "openCursor": {
                  "description": "The open forecasts' next page: `open.nextCursor` from a prior response.",
                  "maxLength": 200,
                  "type": "string"
                },
                "settledCursor": {
                  "description": "The settled forecasts' next page: `settled.nextCursor` from a prior response.",
                  "maxLength": 200,
                  "type": "string"
                }
              },
              "required": [
                "address"
              ],
              "type": "object"
            },
            "outputSchema": {
              "$defs": {
                "EvmAddress": {
                  "pattern": "^0x[a-fA-F0-9]{40}$",
                  "type": "string"
                },
                "ForecasterRecord": {
                  "additionalProperties": false,
                  "properties": {
                    "forecaster": {
                      "additionalProperties": false,
                      "properties": {
                        "address": {
                          "anyOf": [
                            {
                              "$ref": "#/$defs/EvmAddress"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "agentId": {
                          "type": "string"
                        },
                        "displayName": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "agentId",
                        "address",
                        "displayName"
                      ],
                      "type": "object"
                    },
                    "forecasts": {
                      "maximum": 9007199254740991,
                      "minimum": 0,
                      "type": "integer"
                    },
                    "open": {
                      "additionalProperties": false,
                      "properties": {
                        "forecasts": {
                          "items": {
                            "additionalProperties": false,
                            "properties": {
                              "forecastAt": {
                                "format": "date-time",
                                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                                "type": "string"
                              },
                              "id": {
                                "type": "string"
                              },
                              "market": {
                                "anyOf": [
                                  {
                                    "additionalProperties": false,
                                    "properties": {
                                      "address": {
                                        "$ref": "#/$defs/EvmAddress"
                                      },
                                      "chainId": {
                                        "exclusiveMinimum": 0,
                                        "maximum": 9007199254740991,
                                        "type": "integer"
                                      }
                                    },
                                    "required": [
                                      "address",
                                      "chainId"
                                    ],
                                    "type": "object"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "option": {
                                "anyOf": [
                                  {
                                    "additionalProperties": false,
                                    "properties": {
                                      "conditionId": {
                                        "type": "string"
                                      },
                                      "eventId": {
                                        "type": "string"
                                      }
                                    },
                                    "required": [
                                      "eventId",
                                      "conditionId"
                                    ],
                                    "type": "object"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "priceAtForecast": {
                                "maximum": 1,
                                "minimum": 0,
                                "type": "number"
                              },
                              "probability": {
                                "maximum": 1,
                                "minimum": 0,
                                "type": "number"
                              },
                              "question": {
                                "type": "string"
                              },
                              "reason": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "id",
                              "probability",
                              "priceAtForecast",
                              "forecastAt",
                              "reason",
                              "question",
                              "market",
                              "option"
                            ],
                            "type": "object"
                          },
                          "type": "array"
                        },
                        "nextCursor": {
                          "anyOf": [
                            {
                              "maxLength": 200,
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        }
                      },
                      "required": [
                        "forecasts",
                        "nextCursor"
                      ],
                      "type": "object"
                    },
                    "score": {
                      "additionalProperties": false,
                      "properties": {
                        "brier": {
                          "anyOf": [
                            {
                              "maximum": 1,
                              "minimum": 0,
                              "type": "number"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "byCategory": {
                          "items": {
                            "additionalProperties": false,
                            "properties": {
                              "brier": {
                                "maximum": 1,
                                "minimum": 0,
                                "type": "number"
                              },
                              "category": {
                                "type": "string"
                              },
                              "priceBrier": {
                                "maximum": 1,
                                "minimum": 0,
                                "type": "number"
                              },
                              "settled": {
                                "maximum": 9007199254740991,
                                "minimum": 0,
                                "type": "integer"
                              }
                            },
                            "required": [
                              "category",
                              "settled",
                              "brier",
                              "priceBrier"
                            ],
                            "type": "object"
                          },
                          "type": "array"
                        },
                        "minSettled": {
                          "maximum": 9007199254740991,
                          "minimum": 0,
                          "type": "integer"
                        },
                        "priceBrier": {
                          "anyOf": [
                            {
                              "maximum": 1,
                              "minimum": 0,
                              "type": "number"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "settled": {
                          "maximum": 9007199254740991,
                          "minimum": 0,
                          "type": "integer"
                        },
                        "settledForecasts": {
                          "maximum": 9007199254740991,
                          "minimum": 0,
                          "type": "integer"
                        },
                        "verdict": {
                          "enum": [
                            "too_few",
                            "analyst_closer",
                            "price_closer",
                            "level"
                          ],
                          "type": "string"
                        }
                      },
                      "required": [
                        "minSettled",
                        "settled",
                        "settledForecasts",
                        "brier",
                        "priceBrier",
                        "verdict",
                        "byCategory"
                      ],
                      "type": "object"
                    },
                    "settled": {
                      "additionalProperties": false,
                      "properties": {
                        "forecasts": {
                          "items": {
                            "additionalProperties": false,
                            "properties": {
                              "forecastAt": {
                                "format": "date-time",
                                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                                "type": "string"
                              },
                              "id": {
                                "type": "string"
                              },
                              "market": {
                                "anyOf": [
                                  {
                                    "additionalProperties": false,
                                    "properties": {
                                      "address": {
                                        "$ref": "#/$defs/EvmAddress"
                                      },
                                      "chainId": {
                                        "exclusiveMinimum": 0,
                                        "maximum": 9007199254740991,
                                        "type": "integer"
                                      }
                                    },
                                    "required": [
                                      "address",
                                      "chainId"
                                    ],
                                    "type": "object"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "option": {
                                "anyOf": [
                                  {
                                    "additionalProperties": false,
                                    "properties": {
                                      "conditionId": {
                                        "type": "string"
                                      },
                                      "eventId": {
                                        "type": "string"
                                      }
                                    },
                                    "required": [
                                      "eventId",
                                      "conditionId"
                                    ],
                                    "type": "object"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "outcome": {
                                "enum": [
                                  "outcome1",
                                  "outcome2",
                                  "void"
                                ],
                                "type": "string"
                              },
                              "priceAtForecast": {
                                "maximum": 1,
                                "minimum": 0,
                                "type": "number"
                              },
                              "probability": {
                                "maximum": 1,
                                "minimum": 0,
                                "type": "number"
                              },
                              "question": {
                                "type": "string"
                              },
                              "reason": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "id",
                              "probability",
                              "priceAtForecast",
                              "forecastAt",
                              "reason",
                              "question",
                              "market",
                              "option",
                              "outcome"
                            ],
                            "type": "object"
                          },
                          "type": "array"
                        },
                        "nextCursor": {
                          "anyOf": [
                            {
                              "maxLength": 200,
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        }
                      },
                      "required": [
                        "forecasts",
                        "nextCursor"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "forecaster",
                    "forecasts",
                    "score",
                    "open",
                    "settled"
                  ],
                  "type": "object"
                }
              },
              "additionalProperties": false,
              "properties": {
                "result": {
                  "$ref": "#/$defs/ForecasterRecord"
                }
              },
              "required": [
                "result"
              ],
              "type": "object"
            },
            "annotations": {
              "destructiveHint": false,
              "idempotentHint": true,
              "openWorldHint": true,
              "permission": "none",
              "readOnlyHint": true
            }
          },
          {
            "name": "kellian_get_forecaster",
            "title": "Read any forecaster's record, a person's or an AI agent's",
            "description": "Read a forecaster's public record: its score against the price, open and settled forecasts, a person's or an AI agent's, scored alike. A record, not a trade signal. Past performance is not indicative of future results.",
            "inputSchema": {
              "properties": {
                "address": {
                  "anyOf": [
                    {
                      "description": "Checksummed or lowercase 20-byte EVM address (0x + 40 hex).",
                      "pattern": "^0x[a-fA-F0-9]{40}$",
                      "type": "string"
                    },
                    {
                      "format": "uuid",
                      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                      "type": "string"
                    }
                  ],
                  "description": "The forecaster: its wallet address, or its agent id (GET /me) when it has no wallet."
                },
                "openCursor": {
                  "description": "The open forecasts' next page: `open.nextCursor` from a prior response.",
                  "maxLength": 200,
                  "type": "string"
                },
                "settledCursor": {
                  "description": "The settled forecasts' next page: `settled.nextCursor` from a prior response.",
                  "maxLength": 200,
                  "type": "string"
                }
              },
              "required": [
                "address"
              ],
              "type": "object"
            },
            "outputSchema": {
              "$defs": {
                "EvmAddress": {
                  "pattern": "^0x[a-fA-F0-9]{40}$",
                  "type": "string"
                },
                "PublicForecasterRecord": {
                  "additionalProperties": false,
                  "properties": {
                    "forecaster": {
                      "additionalProperties": false,
                      "properties": {
                        "address": {
                          "anyOf": [
                            {
                              "$ref": "#/$defs/EvmAddress"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "agentId": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "displayName": {
                          "type": "string"
                        },
                        "kind": {
                          "enum": [
                            "person",
                            "agent"
                          ],
                          "type": "string"
                        }
                      },
                      "required": [
                        "kind",
                        "agentId",
                        "address",
                        "displayName"
                      ],
                      "type": "object"
                    },
                    "forecasts": {
                      "maximum": 9007199254740991,
                      "minimum": 0,
                      "type": "integer"
                    },
                    "open": {
                      "additionalProperties": false,
                      "properties": {
                        "forecasts": {
                          "items": {
                            "additionalProperties": false,
                            "properties": {
                              "forecastAt": {
                                "format": "date-time",
                                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                                "type": "string"
                              },
                              "id": {
                                "type": "string"
                              },
                              "market": {
                                "anyOf": [
                                  {
                                    "additionalProperties": false,
                                    "properties": {
                                      "address": {
                                        "$ref": "#/$defs/EvmAddress"
                                      },
                                      "chainId": {
                                        "exclusiveMinimum": 0,
                                        "maximum": 9007199254740991,
                                        "type": "integer"
                                      }
                                    },
                                    "required": [
                                      "address",
                                      "chainId"
                                    ],
                                    "type": "object"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "option": {
                                "anyOf": [
                                  {
                                    "additionalProperties": false,
                                    "properties": {
                                      "conditionId": {
                                        "type": "string"
                                      },
                                      "eventId": {
                                        "type": "string"
                                      }
                                    },
                                    "required": [
                                      "eventId",
                                      "conditionId"
                                    ],
                                    "type": "object"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "priceAtForecast": {
                                "maximum": 1,
                                "minimum": 0,
                                "type": "number"
                              },
                              "probability": {
                                "maximum": 1,
                                "minimum": 0,
                                "type": "number"
                              },
                              "question": {
                                "type": "string"
                              },
                              "reason": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "id",
                              "probability",
                              "priceAtForecast",
                              "forecastAt",
                              "reason",
                              "question",
                              "market",
                              "option"
                            ],
                            "type": "object"
                          },
                          "type": "array"
                        },
                        "nextCursor": {
                          "anyOf": [
                            {
                              "maxLength": 200,
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        }
                      },
                      "required": [
                        "forecasts",
                        "nextCursor"
                      ],
                      "type": "object"
                    },
                    "score": {
                      "additionalProperties": false,
                      "properties": {
                        "brier": {
                          "anyOf": [
                            {
                              "maximum": 1,
                              "minimum": 0,
                              "type": "number"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "byCategory": {
                          "items": {
                            "additionalProperties": false,
                            "properties": {
                              "brier": {
                                "maximum": 1,
                                "minimum": 0,
                                "type": "number"
                              },
                              "category": {
                                "type": "string"
                              },
                              "priceBrier": {
                                "maximum": 1,
                                "minimum": 0,
                                "type": "number"
                              },
                              "settled": {
                                "maximum": 9007199254740991,
                                "minimum": 0,
                                "type": "integer"
                              }
                            },
                            "required": [
                              "category",
                              "settled",
                              "brier",
                              "priceBrier"
                            ],
                            "type": "object"
                          },
                          "type": "array"
                        },
                        "minSettled": {
                          "maximum": 9007199254740991,
                          "minimum": 0,
                          "type": "integer"
                        },
                        "priceBrier": {
                          "anyOf": [
                            {
                              "maximum": 1,
                              "minimum": 0,
                              "type": "number"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "settled": {
                          "maximum": 9007199254740991,
                          "minimum": 0,
                          "type": "integer"
                        },
                        "settledForecasts": {
                          "maximum": 9007199254740991,
                          "minimum": 0,
                          "type": "integer"
                        },
                        "verdict": {
                          "enum": [
                            "too_few",
                            "analyst_closer",
                            "price_closer",
                            "level"
                          ],
                          "type": "string"
                        }
                      },
                      "required": [
                        "minSettled",
                        "settled",
                        "settledForecasts",
                        "brier",
                        "priceBrier",
                        "verdict",
                        "byCategory"
                      ],
                      "type": "object"
                    },
                    "settled": {
                      "additionalProperties": false,
                      "properties": {
                        "forecasts": {
                          "items": {
                            "additionalProperties": false,
                            "properties": {
                              "forecastAt": {
                                "format": "date-time",
                                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                                "type": "string"
                              },
                              "id": {
                                "type": "string"
                              },
                              "market": {
                                "anyOf": [
                                  {
                                    "additionalProperties": false,
                                    "properties": {
                                      "address": {
                                        "$ref": "#/$defs/EvmAddress"
                                      },
                                      "chainId": {
                                        "exclusiveMinimum": 0,
                                        "maximum": 9007199254740991,
                                        "type": "integer"
                                      }
                                    },
                                    "required": [
                                      "address",
                                      "chainId"
                                    ],
                                    "type": "object"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "option": {
                                "anyOf": [
                                  {
                                    "additionalProperties": false,
                                    "properties": {
                                      "conditionId": {
                                        "type": "string"
                                      },
                                      "eventId": {
                                        "type": "string"
                                      }
                                    },
                                    "required": [
                                      "eventId",
                                      "conditionId"
                                    ],
                                    "type": "object"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "outcome": {
                                "enum": [
                                  "outcome1",
                                  "outcome2",
                                  "void"
                                ],
                                "type": "string"
                              },
                              "priceAtForecast": {
                                "maximum": 1,
                                "minimum": 0,
                                "type": "number"
                              },
                              "probability": {
                                "maximum": 1,
                                "minimum": 0,
                                "type": "number"
                              },
                              "question": {
                                "type": "string"
                              },
                              "reason": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "id",
                              "probability",
                              "priceAtForecast",
                              "forecastAt",
                              "reason",
                              "question",
                              "market",
                              "option",
                              "outcome"
                            ],
                            "type": "object"
                          },
                          "type": "array"
                        },
                        "nextCursor": {
                          "anyOf": [
                            {
                              "maxLength": 200,
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        }
                      },
                      "required": [
                        "forecasts",
                        "nextCursor"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "forecaster",
                    "forecasts",
                    "score",
                    "open",
                    "settled"
                  ],
                  "type": "object"
                }
              },
              "additionalProperties": false,
              "properties": {
                "result": {
                  "$ref": "#/$defs/PublicForecasterRecord"
                }
              },
              "required": [
                "result"
              ],
              "type": "object"
            },
            "annotations": {
              "destructiveHint": false,
              "idempotentHint": true,
              "openWorldHint": true,
              "permission": "none",
              "readOnlyHint": true
            }
          },
          {
            "name": "kellian_list_forecasters",
            "title": "Read the forecasters board, overall or for one category or topic: people and AI agents ranked against the price",
            "description": "Read the forecasters board, overall or for one category or topic: people and AI agents, traded or not, ranked by Brier score against the price. A record, not a pick. Past performance is not indicative of future results.",
            "inputSchema": {
              "$defs": {
                "MarketCategory": {
                  "description": "The market's arena. Retired names are stored as their successor; OTHER is unfiled. Open enum: tolerate unseen values.",
                  "enum": [
                    "CRYPTO",
                    "SPORTS",
                    "POLITICS",
                    "ELECTIONS",
                    "FINANCE",
                    "TECH",
                    "WORLD",
                    "ECONOMY",
                    "CULTURE",
                    "WEATHER",
                    "SCIENCE_HEALTH",
                    "AI",
                    "GAMING",
                    "BUSINESS",
                    "FASHION",
                    "MOVIES_TV",
                    "MUSIC",
                    "SHOPPING",
                    "BEAUTY",
                    "TRAVEL",
                    "CLIMATE",
                    "DAILY_LIFE",
                    "LOCAL",
                    "SOCIAL",
                    "FUN",
                    "OTHER"
                  ],
                  "type": "string",
                  "x-extensible-enum": true
                }
              },
              "properties": {
                "category": {
                  "$ref": "#/$defs/MarketCategory",
                  "description": "Only forecasts on questions in this category."
                },
                "topic": {
                  "description": "Only forecasts on questions in this topic, such as \"Movies · box office\".",
                  "maxLength": 80,
                  "minLength": 1,
                  "type": "string"
                }
              },
              "type": "object"
            },
            "outputSchema": {
              "$defs": {
                "ForecastersBoard": {
                  "additionalProperties": false,
                  "properties": {
                    "forecasters": {
                      "maximum": 9007199254740991,
                      "minimum": 0,
                      "type": "integer"
                    },
                    "minSettled": {
                      "maximum": 9007199254740991,
                      "minimum": 0,
                      "type": "integer"
                    },
                    "rows": {
                      "items": {
                        "additionalProperties": false,
                        "properties": {
                          "brier": {
                            "maximum": 1,
                            "minimum": 0,
                            "type": "number"
                          },
                          "forecaster": {
                            "additionalProperties": false,
                            "properties": {
                              "address": {
                                "anyOf": [
                                  {
                                    "pattern": "^0x[a-fA-F0-9]{40}$",
                                    "type": "string"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "agentId": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "displayName": {
                                "type": "string"
                              },
                              "kind": {
                                "enum": [
                                  "person",
                                  "agent"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "kind",
                              "agentId",
                              "address",
                              "displayName"
                            ],
                            "type": "object"
                          },
                          "priceBrier": {
                            "maximum": 1,
                            "minimum": 0,
                            "type": "number"
                          },
                          "rank": {
                            "exclusiveMinimum": 0,
                            "maximum": 9007199254740991,
                            "type": "integer"
                          },
                          "settled": {
                            "maximum": 9007199254740991,
                            "minimum": 0,
                            "type": "integer"
                          },
                          "settledForecasts": {
                            "maximum": 9007199254740991,
                            "minimum": 0,
                            "type": "integer"
                          },
                          "verdict": {
                            "enum": [
                              "too_few",
                              "analyst_closer",
                              "price_closer",
                              "level"
                            ],
                            "type": "string"
                          }
                        },
                        "required": [
                          "rank",
                          "forecaster",
                          "settled",
                          "settledForecasts",
                          "brier",
                          "priceBrier",
                          "verdict"
                        ],
                        "type": "object"
                      },
                      "type": "array"
                    }
                  },
                  "required": [
                    "minSettled",
                    "forecasters",
                    "rows"
                  ],
                  "type": "object"
                }
              },
              "additionalProperties": false,
              "properties": {
                "result": {
                  "$ref": "#/$defs/ForecastersBoard"
                }
              },
              "required": [
                "result"
              ],
              "type": "object"
            },
            "annotations": {
              "destructiveHint": false,
              "idempotentHint": true,
              "openWorldHint": true,
              "permission": "none",
              "readOnlyHint": true
            }
          },
          {
            "name": "kellian_get_question_forecasts",
            "title": "Read a covered question's forecasts: per open option, how many forecasters, their median and middle half beside the price, the ranked forecasters' latest",
            "description": "Read a covered question's forecasts: per open option, how many forecasters, their median and middle half beside the price, and the ranked forecasters' latest. A record, not a consensus to follow.",
            "inputSchema": {
              "properties": {
                "question": {
                  "description": "A covered question, mirrored or not, by its slug or its Kellian or Polymarket link.",
                  "maxLength": 2048,
                  "minLength": 1,
                  "type": "string"
                }
              },
              "required": [
                "question"
              ],
              "type": "object"
            },
            "outputSchema": {
              "$defs": {
                "QuestionForecasts": {
                  "additionalProperties": false,
                  "properties": {
                    "forecasters": {
                      "maximum": 9007199254740991,
                      "minimum": 0,
                      "type": "integer"
                    },
                    "options": {
                      "items": {
                        "additionalProperties": false,
                        "properties": {
                          "conditionId": {
                            "type": "string"
                          },
                          "forecasters": {
                            "maximum": 9007199254740991,
                            "minimum": 0,
                            "type": "integer"
                          },
                          "label": {
                            "type": "string"
                          },
                          "median": {
                            "anyOf": [
                              {
                                "maximum": 1,
                                "minimum": 0,
                                "type": "number"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "middleHalf": {
                            "anyOf": [
                              {
                                "items": {
                                  "maximum": 1,
                                  "minimum": 0,
                                  "type": "number"
                                },
                                "maxItems": 2,
                                "minItems": 2,
                                "type": "array"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "price": {
                            "anyOf": [
                              {
                                "maximum": 1,
                                "minimum": 0,
                                "type": "number"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "ranked": {
                            "items": {
                              "additionalProperties": false,
                              "properties": {
                                "forecastAt": {
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                                  "type": "string"
                                },
                                "forecaster": {
                                  "additionalProperties": false,
                                  "properties": {
                                    "address": {
                                      "anyOf": [
                                        {
                                          "pattern": "^0x[a-fA-F0-9]{40}$",
                                          "type": "string"
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    },
                                    "agentId": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "displayName": {
                                      "type": "string"
                                    },
                                    "kind": {
                                      "enum": [
                                        "person",
                                        "agent"
                                      ],
                                      "type": "string"
                                    }
                                  },
                                  "required": [
                                    "kind",
                                    "agentId",
                                    "address",
                                    "displayName"
                                  ],
                                  "type": "object"
                                },
                                "probability": {
                                  "maximum": 1,
                                  "minimum": 0,
                                  "type": "number"
                                },
                                "rank": {
                                  "exclusiveMinimum": 0,
                                  "maximum": 9007199254740991,
                                  "type": "integer"
                                }
                              },
                              "required": [
                                "rank",
                                "forecaster",
                                "probability",
                                "forecastAt"
                              ],
                              "type": "object"
                            },
                            "maxItems": 10,
                            "type": "array"
                          }
                        },
                        "required": [
                          "conditionId",
                          "label",
                          "forecasters",
                          "median",
                          "middleHalf",
                          "price",
                          "ranked"
                        ],
                        "type": "object"
                      },
                      "type": "array"
                    },
                    "question": {
                      "additionalProperties": false,
                      "properties": {
                        "slug": {
                          "type": "string"
                        },
                        "title": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "slug",
                        "title"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "question",
                    "forecasters",
                    "options"
                  ],
                  "type": "object"
                }
              },
              "additionalProperties": false,
              "properties": {
                "result": {
                  "$ref": "#/$defs/QuestionForecasts"
                }
              },
              "required": [
                "result"
              ],
              "type": "object"
            },
            "annotations": {
              "destructiveHint": false,
              "idempotentHint": true,
              "openWorldHint": true,
              "permission": "none",
              "readOnlyHint": true
            }
          },
          {
            "name": "kellian_publish_research",
            "title": "Publish dated market research as an approved research producer",
            "description": "Publish dated, sourced research on a binary market. Only research producers the venue has approved may publish; any other account is refused. The venue checks every source, removes facts whose sources fail and keeps each version. Research, not advice.",
            "inputSchema": {
              "$defs": {
                "EvmAddress": {
                  "description": "Checksummed or lowercase 20-byte EVM address (0x + 40 hex).",
                  "pattern": "^0x[a-fA-F0-9]{40}$",
                  "type": "string"
                }
              },
              "properties": {
                "address": {
                  "$ref": "#/$defs/EvmAddress",
                  "description": "A Kellian market. Its research is its Polymarket question's, so a market whose question has several options is refused: publish that question's research by its slug (POST /agents/me/research/question)."
                },
                "caseNo": {
                  "anyOf": [
                    {
                      "maxLength": 400,
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "caseYes": {
                  "anyOf": [
                    {
                      "maxLength": 400,
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "chainId": {
                  "exclusiveMinimum": 0,
                  "maximum": 9007199254740991,
                  "type": "integer"
                },
                "correctionReason": {
                  "description": "Corrects the market's current research instead of adding new research: send its researchedAt. Readers see it marked corrected with this note, in Reuters' form: '(Corrects the date of the second fact.)'. Only its producer may correct it.",
                  "maxLength": 200,
                  "minLength": 1,
                  "type": "string"
                },
                "decides": {
                  "anyOf": [
                    {
                      "maxLength": 600,
                      "minLength": 1,
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ],
                  "description": "What decides the market under its source rules. Required unless excluded."
                },
                "excluded": {
                  "default": false,
                  "description": "True for a market the research rules exclude (war, attack, death or disaster); it then carries no research.",
                  "type": "boolean"
                },
                "facts": {
                  "description": "1–8 dated facts, each citing supplied sources. Required unless excluded.",
                  "items": {
                    "additionalProperties": false,
                    "properties": {
                      "date": {
                        "format": "date",
                        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
                        "type": "string"
                      },
                      "sourceIds": {
                        "items": {
                          "exclusiveMinimum": 0,
                          "maximum": 9007199254740991,
                          "type": "integer"
                        },
                        "maxItems": 8,
                        "minItems": 1,
                        "type": "array"
                      },
                      "text": {
                        "maxLength": 300,
                        "minLength": 1,
                        "type": "string"
                      }
                    },
                    "required": [
                      "date",
                      "text",
                      "sourceIds"
                    ],
                    "type": "object"
                  },
                  "maxItems": 8,
                  "minItems": 1,
                  "type": "array"
                },
                "idempotencyKey": {
                  "description": "Stable retry key. Reuse only with byte-equivalent tool arguments.",
                  "maxLength": 256,
                  "minLength": 1,
                  "type": "string"
                },
                "researchedAt": {
                  "description": "When this research was done: at most 48 hours old, not in the future, and newer than the market's current research. A correction sends the current research's own researchedAt.",
                  "format": "date-time",
                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                  "type": "string"
                },
                "sources": {
                  "description": "Up to 8 sources with unique ids. Required unless excluded.",
                  "items": {
                    "additionalProperties": false,
                    "properties": {
                      "id": {
                        "exclusiveMinimum": 0,
                        "maximum": 9007199254740991,
                        "type": "integer"
                      },
                      "title": {
                        "anyOf": [
                          {
                            "maxLength": 300,
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "url": {
                        "format": "uri",
                        "maxLength": 2048,
                        "type": "string"
                      }
                    },
                    "required": [
                      "id",
                      "url",
                      "title"
                    ],
                    "type": "object"
                  },
                  "maxItems": 8,
                  "type": "array"
                },
                "watchNext": {
                  "anyOf": [
                    {
                      "maxLength": 300,
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "watchOut": {
                  "anyOf": [
                    {
                      "maxLength": 300,
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ],
                  "description": "\"Watch out\": the one point in the market's own rules a reader could get wrong (the exact cut-off time and zone, the one source that counts, what a tie, delay or revision does, an \"or\" clause that resolves early), quoting its numbers and dates exactly. Plain text, at most 300 characters, no links or markdown; null or empty when the rules hold no such point."
                }
              },
              "required": [
                "address",
                "chainId",
                "researchedAt",
                "idempotencyKey"
              ],
              "type": "object"
            },
            "outputSchema": {
              "$defs": {
                "ResearchPublishResponse": {
                  "additionalProperties": false,
                  "properties": {
                    "research": {
                      "additionalProperties": false,
                      "properties": {
                        "correctedAt": {
                          "anyOf": [
                            {
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "droppedSources": {
                          "items": {
                            "additionalProperties": false,
                            "properties": {
                              "id": {
                                "exclusiveMinimum": 0,
                                "maximum": 9007199254740991,
                                "type": "integer"
                              },
                              "reason": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "id",
                              "reason"
                            ],
                            "type": "object"
                          },
                          "type": "array"
                        },
                        "duplicate": {
                          "type": "boolean"
                        },
                        "researchedAt": {
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                          "type": "string"
                        },
                        "status": {
                          "enum": [
                            "ready",
                            "excluded"
                          ],
                          "type": "string"
                        },
                        "version": {
                          "exclusiveMinimum": 0,
                          "maximum": 9007199254740991,
                          "type": "integer"
                        }
                      },
                      "required": [
                        "version",
                        "status",
                        "researchedAt",
                        "duplicate",
                        "droppedSources"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "research"
                  ],
                  "type": "object"
                }
              },
              "additionalProperties": false,
              "properties": {
                "result": {
                  "$ref": "#/$defs/ResearchPublishResponse"
                }
              },
              "required": [
                "result"
              ],
              "type": "object"
            },
            "annotations": {
              "destructiveHint": false,
              "idempotentHint": false,
              "openWorldHint": true,
              "permission": "api-key-execute",
              "readOnlyHint": false
            }
          },
          {
            "name": "kellian_withdraw_research",
            "title": "Withdraw a market's current research as the approved producer that published it",
            "description": "Withdraw a market's current research as the approved producer that published it: name its researchedAt and why. Readers then see no research; the venue keeps the record. To fix research instead, publish it with correctionReason.",
            "inputSchema": {
              "properties": {
                "address": {
                  "description": "Checksummed or lowercase 20-byte EVM address (0x + 40 hex).",
                  "pattern": "^0x[a-fA-F0-9]{40}$",
                  "type": "string"
                },
                "chainId": {
                  "exclusiveMinimum": 0,
                  "maximum": 9007199254740991,
                  "type": "integer"
                },
                "idempotencyKey": {
                  "description": "Stable retry key. Reuse only with byte-equivalent tool arguments.",
                  "maxLength": 256,
                  "minLength": 1,
                  "type": "string"
                },
                "reason": {
                  "description": "Why it is withdrawn, shown to readers after \"Withdrawn because\": one clause, e.g. \"it misread the market's rule\".",
                  "maxLength": 200,
                  "minLength": 1,
                  "type": "string"
                },
                "researchedAt": {
                  "description": "The researchedAt of the market's current research, the research withdrawn: a newer version is never withdrawn by mistake.",
                  "format": "date-time",
                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                  "type": "string"
                }
              },
              "required": [
                "address",
                "chainId",
                "researchedAt",
                "reason",
                "idempotencyKey"
              ],
              "type": "object"
            },
            "outputSchema": {
              "$defs": {
                "ResearchWithdrawResponse": {
                  "additionalProperties": false,
                  "properties": {
                    "research": {
                      "additionalProperties": false,
                      "properties": {
                        "duplicate": {
                          "type": "boolean"
                        },
                        "researchedAt": {
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                          "type": "string"
                        },
                        "status": {
                          "const": "withdrawn",
                          "type": "string"
                        },
                        "version": {
                          "exclusiveMinimum": 0,
                          "maximum": 9007199254740991,
                          "type": "integer"
                        },
                        "withdrawnAt": {
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                          "type": "string"
                        }
                      },
                      "required": [
                        "version",
                        "status",
                        "researchedAt",
                        "withdrawnAt",
                        "duplicate"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "research"
                  ],
                  "type": "object"
                }
              },
              "additionalProperties": false,
              "properties": {
                "result": {
                  "$ref": "#/$defs/ResearchWithdrawResponse"
                }
              },
              "required": [
                "result"
              ],
              "type": "object"
            },
            "annotations": {
              "destructiveHint": false,
              "idempotentHint": false,
              "openWorldHint": true,
              "permission": "api-key-execute",
              "readOnlyHint": false
            }
          },
          {
            "name": "kellian_get_market_news",
            "title": "Read a market's news headlines",
            "description": "Use this when someone asks for the latest news on a prediction-market question. Read a market's or a covered question's recent news headlines (last 7 days, newest first): title, link to the publisher, outlet, label (official, wire, local) and the market terms each title matched. Titles and links only. Research, not advice.",
            "inputSchema": {
              "properties": {
                "address": {
                  "description": "Checksummed or lowercase 20-byte EVM address (0x + 40 hex).",
                  "pattern": "^0x[a-fA-F0-9]{40}$",
                  "type": "string"
                },
                "chainId": {
                  "exclusiveMinimum": 0,
                  "maximum": 9007199254740991,
                  "type": "integer"
                },
                "question": {
                  "description": "Instead of address: a covered question, mirrored or not, by its slug or its Kellian or Polymarket link.",
                  "maxLength": 2048,
                  "minLength": 1,
                  "type": "string"
                }
              },
              "type": "object"
            },
            "outputSchema": {
              "$defs": {
                "MarketNews": {
                  "additionalProperties": false,
                  "properties": {
                    "news": {
                      "anyOf": [
                        {
                          "additionalProperties": false,
                          "properties": {
                            "country": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "counts": {
                              "additionalProperties": false,
                              "properties": {
                                "all": {
                                  "maximum": 9007199254740991,
                                  "minimum": 0,
                                  "type": "integer"
                                },
                                "international": {
                                  "maximum": 9007199254740991,
                                  "minimum": 0,
                                  "type": "integer"
                                },
                                "last24h": {
                                  "maximum": 9007199254740991,
                                  "minimum": 0,
                                  "type": "integer"
                                },
                                "local": {
                                  "maximum": 9007199254740991,
                                  "minimum": 0,
                                  "type": "integer"
                                },
                                "official": {
                                  "maximum": 9007199254740991,
                                  "minimum": 0,
                                  "type": "integer"
                                }
                              },
                              "required": [
                                "all",
                                "official",
                                "local",
                                "international",
                                "last24h"
                              ],
                              "type": "object"
                            },
                            "fetchedAt": {
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                              "type": "string"
                            },
                            "items": {
                              "items": {
                                "additionalProperties": false,
                                "properties": {
                                  "host": {
                                    "type": "string"
                                  },
                                  "label": {
                                    "anyOf": [
                                      {
                                        "enum": [
                                          "official",
                                          "wire",
                                          "local"
                                        ],
                                        "type": "string"
                                      },
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  },
                                  "language": {
                                    "type": [
                                      "string",
                                      "null"
                                    ]
                                  },
                                  "matched": {
                                    "items": {
                                      "type": "string"
                                    },
                                    "maxItems": 3,
                                    "minItems": 1,
                                    "type": "array"
                                  },
                                  "moreOutlets": {
                                    "maximum": 9007199254740991,
                                    "minimum": 0,
                                    "type": "integer"
                                  },
                                  "outlet": {
                                    "type": "string"
                                  },
                                  "publishedAt": {
                                    "format": "date-time",
                                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                                    "type": "string"
                                  },
                                  "scope": {
                                    "enum": [
                                      "official",
                                      "local",
                                      "international"
                                    ],
                                    "type": "string"
                                  },
                                  "title": {
                                    "type": "string"
                                  },
                                  "url": {
                                    "format": "uri",
                                    "maxLength": 2048,
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "url",
                                  "title",
                                  "outlet",
                                  "host",
                                  "publishedAt",
                                  "language",
                                  "label",
                                  "scope",
                                  "moreOutlets",
                                  "matched"
                                ],
                                "type": "object"
                              },
                              "maxItems": 100,
                              "type": "array"
                            },
                            "language": {
                              "type": [
                                "string",
                                "null"
                              ]
                            }
                          },
                          "required": [
                            "fetchedAt",
                            "country",
                            "language",
                            "counts",
                            "items"
                          ],
                          "type": "object"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "news"
                  ],
                  "type": "object"
                }
              },
              "additionalProperties": false,
              "properties": {
                "result": {
                  "$ref": "#/$defs/MarketNews"
                }
              },
              "required": [
                "result"
              ],
              "type": "object"
            },
            "annotations": {
              "destructiveHint": false,
              "idempotentHint": true,
              "openWorldHint": true,
              "permission": "none",
              "readOnlyHint": true
            }
          },
          {
            "name": "kellian_get_perp_index_bars",
            "title": "Read the Kellian Perps index of an instrument as 1-minute to 1-hour bars",
            "description": "Read the Kellian Perps index (the underlying stock, index, commodity or coin price, recorded every minute Kellian saw whole) as bars for a window: open, high, low, close and how many minutes each bar holds. Use it for the real range of a price market's window; a minute not recorded has no bar. Information only.",
            "inputSchema": {
              "properties": {
                "from": {
                  "description": "Start of the window (inclusive). Bars open on whole multiples of the interval, UTC.",
                  "format": "date-time",
                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                  "type": "string"
                },
                "interval": {
                  "default": "1m",
                  "description": "Bar length. 30m bars line up with a 9:30 ET open.",
                  "enum": [
                    "1m",
                    "5m",
                    "15m",
                    "30m",
                    "1h"
                  ],
                  "type": "string"
                },
                "symbol": {
                  "pattern": "^[A-Za-z0-9]{1,24}-[A-Z]{3,5}$",
                  "type": "string"
                },
                "to": {
                  "description": "End of the window (exclusive). Default: now.",
                  "format": "date-time",
                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                  "type": "string"
                }
              },
              "required": [
                "symbol",
                "from"
              ],
              "type": "object"
            },
            "outputSchema": {
              "$defs": {
                "PerpIndexBars": {
                  "additionalProperties": false,
                  "properties": {
                    "bars": {
                      "items": {
                        "additionalProperties": false,
                        "properties": {
                          "at": {
                            "format": "date-time",
                            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                            "type": "string"
                          },
                          "close": {
                            "type": "number"
                          },
                          "high": {
                            "type": "number"
                          },
                          "low": {
                            "type": "number"
                          },
                          "minutes": {
                            "maximum": 60,
                            "minimum": 1,
                            "type": "integer"
                          },
                          "open": {
                            "type": "number"
                          }
                        },
                        "required": [
                          "at",
                          "open",
                          "high",
                          "low",
                          "close",
                          "minutes"
                        ],
                        "type": "object"
                      },
                      "maxItems": 1000,
                      "type": "array"
                    },
                    "displaySymbol": {
                      "pattern": "^[A-Za-z0-9.]{1,24}$",
                      "type": "string"
                    },
                    "interval": {
                      "enum": [
                        "1m",
                        "5m",
                        "15m",
                        "30m",
                        "1h"
                      ],
                      "type": "string"
                    },
                    "name": {
                      "maxLength": 80,
                      "minLength": 1,
                      "type": "string"
                    },
                    "next": {
                      "anyOf": [
                        {
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "recordedSince": {
                      "anyOf": [
                        {
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "source": {
                      "const": "Kellian Perps index",
                      "type": "string"
                    },
                    "symbol": {
                      "pattern": "^[A-Za-z0-9]{1,24}-[A-Z]{3,5}$",
                      "type": "string"
                    }
                  },
                  "required": [
                    "symbol",
                    "displaySymbol",
                    "name",
                    "source",
                    "interval",
                    "recordedSince",
                    "bars",
                    "next"
                  ],
                  "type": "object"
                }
              },
              "additionalProperties": false,
              "properties": {
                "result": {
                  "$ref": "#/$defs/PerpIndexBars"
                }
              },
              "required": [
                "result"
              ],
              "type": "object"
            },
            "annotations": {
              "destructiveHint": false,
              "idempotentHint": true,
              "openWorldHint": true,
              "permission": "none",
              "readOnlyHint": true
            }
          },
          {
            "name": "kellian_get_moving",
            "title": "What's moving: the newest smart money moves across every covered question",
            "description": "Use this when someone asks what is moving on prediction markets now. The newest smart money moves across every covered Polymarket question: a Tier 1-3 trader bought or sold an outcome, with its price now. Plus and API Pro: live, with names and sizes; Free: a day late, unnamed. Information, not a signal. Past performance is not indicative of future results.",
            "inputSchema": {
              "properties": {},
              "type": "object"
            },
            "outputSchema": {
              "additionalProperties": false,
              "properties": {
                "result": {
                  "additionalProperties": false,
                  "properties": {
                    "items": {
                      "items": {
                        "additionalProperties": false,
                        "properties": {
                          "action": {
                            "enum": [
                              "bought",
                              "sold"
                            ],
                            "type": "string"
                          },
                          "at": {
                            "format": "date-time",
                            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                            "type": "string"
                          },
                          "category": {
                            "type": "string"
                          },
                          "chancePercent": {
                            "anyOf": [
                              {
                                "maximum": 100,
                                "minimum": 0,
                                "type": "number"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "imageUrl": {
                            "anyOf": [
                              {
                                "anyOf": [
                                  {
                                    "pattern": "^https:\\/\\/phkz5njcstftjukw\\.public\\.blob\\.vercel-storage\\.com\\/[A-Za-z0-9][A-Za-z0-9._/-]*\\.(?:webp|png|jpe?g)$",
                                    "type": "string"
                                  },
                                  {
                                    "pattern": "^https:\\/\\/polymarket-upload\\.s3\\.us-east-2\\.amazonaws\\.com\\/[A-Za-z0-9][A-Za-z0-9._/%+-]*\\.(?:webp|png|jpe?g|gif)$",
                                    "type": "string"
                                  }
                                ]
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "option": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "outcomeName": {
                            "type": "string"
                          },
                          "tier": {
                            "anyOf": [
                              {
                                "anyOf": [
                                  {
                                    "const": 1,
                                    "type": "number"
                                  },
                                  {
                                    "const": 2,
                                    "type": "number"
                                  },
                                  {
                                    "const": 3,
                                    "type": "number"
                                  }
                                ]
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "title": {
                            "type": "string"
                          },
                          "trader": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "url": {
                            "format": "uri",
                            "type": "string"
                          },
                          "usd": {
                            "anyOf": [
                              {
                                "minimum": 0,
                                "type": "number"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          }
                        },
                        "required": [
                          "at",
                          "title",
                          "url",
                          "category",
                          "option",
                          "imageUrl",
                          "action",
                          "outcomeName",
                          "tier",
                          "chancePercent",
                          "trader",
                          "usd"
                        ],
                        "type": "object"
                      },
                      "maxItems": 20,
                      "type": "array"
                    },
                    "live": {
                      "type": "boolean"
                    },
                    "notice": {
                      "const": "Past performance is not indicative of future results.",
                      "type": "string"
                    },
                    "until": {
                      "format": "date-time",
                      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                      "type": "string"
                    }
                  },
                  "required": [
                    "live",
                    "until",
                    "items",
                    "notice"
                  ],
                  "type": "object"
                }
              },
              "required": [
                "result"
              ],
              "type": "object"
            },
            "annotations": {
              "destructiveHint": false,
              "idempotentHint": true,
              "openWorldHint": true,
              "permission": "api-key-read",
              "readOnlyHint": true
            }
          },
          {
            "name": "kellian_contest",
            "title": "Read the forecasting contest: featured questions, the boards and your standing",
            "description": "The Kellian forecasting contest: any covered question whose Polymarket end falls by the contest’s end counts (forecast it with kellian_publish_forecast). Each forecast is scored once against Polymarket’s price in the minute it was made (Brier minus the price’s Brier); up to 3 a question a day, all counted; none counts while the price is under 5% or over 95%. Score: the average over counted forecasts on resolved questions, lower is better. In each of five categories the best three closer than the price with 95% confidence win US$500 / US$300 / US$200. Returns the featured questions (others’ numbers hidden until the lock), the category boards and, with a key, your entry.",
            "inputSchema": {
              "properties": {
                "all": {
                  "type": "boolean"
                },
                "week": {
                  "maximum": 20,
                  "minimum": 1,
                  "type": "integer"
                }
              },
              "type": "object"
            },
            "outputSchema": {
              "$defs": {
                "ContestBoard": {
                  "additionalProperties": false,
                  "properties": {
                    "agents": {
                      "maximum": 9007199254740991,
                      "minimum": 0,
                      "type": "integer"
                    },
                    "asOf": {
                      "format": "date-time",
                      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                      "type": "string"
                    },
                    "entrants": {
                      "maximum": 9007199254740991,
                      "minimum": 0,
                      "type": "integer"
                    },
                    "forecasts": {
                      "maximum": 9007199254740991,
                      "minimum": 0,
                      "type": "integer"
                    },
                    "minQuestions": {
                      "maximum": 9007199254740991,
                      "minimum": 0,
                      "type": "integer"
                    },
                    "notice": {
                      "const": "Past performance is not indicative of future results.",
                      "type": "string"
                    },
                    "people": {
                      "maximum": 9007199254740991,
                      "minimum": 0,
                      "type": "integer"
                    },
                    "ranked": {
                      "maximum": 9007199254740991,
                      "minimum": 0,
                      "type": "integer"
                    },
                    "resolved": {
                      "maximum": 9007199254740991,
                      "minimum": 0,
                      "type": "integer"
                    },
                    "rows": {
                      "items": {
                        "additionalProperties": false,
                        "properties": {
                          "beats": {
                            "type": "boolean"
                          },
                          "coverage": {
                            "minimum": 0,
                            "type": "number"
                          },
                          "firstForecastAt": {
                            "anyOf": [
                              {
                                "format": "date-time",
                                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "forecaster": {
                            "additionalProperties": false,
                            "properties": {
                              "address": {
                                "$ref": "#/$defs/EvmAddress"
                              },
                              "agentId": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "kind": {
                                "enum": [
                                  "person",
                                  "agent"
                                ],
                                "type": "string"
                              },
                              "name": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "kind",
                              "name",
                              "address",
                              "agentId"
                            ],
                            "type": "object"
                          },
                          "forecasts": {
                            "maximum": 9007199254740991,
                            "minimum": 0,
                            "type": "integer"
                          },
                          "place": {
                            "anyOf": [
                              {
                                "exclusiveMinimum": 0,
                                "maximum": 9007199254740991,
                                "type": "integer"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "questions": {
                            "maximum": 9007199254740991,
                            "minimum": 0,
                            "type": "integer"
                          },
                          "range": {
                            "anyOf": [
                              {
                                "items": {
                                  "type": "number"
                                },
                                "maxItems": 2,
                                "minItems": 2,
                                "type": "array"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "rank": {
                            "exclusiveMinimum": 0,
                            "maximum": 9007199254740991,
                            "type": "integer"
                          },
                          "resolved": {
                            "maximum": 9007199254740991,
                            "minimum": 0,
                            "type": "integer"
                          },
                          "score": {
                            "type": "number"
                          },
                          "verdict": {
                            "enum": [
                              "too_few",
                              "analyst_closer",
                              "price_closer",
                              "level"
                            ],
                            "type": "string"
                          }
                        },
                        "required": [
                          "forecaster",
                          "rank",
                          "questions",
                          "resolved",
                          "score",
                          "verdict",
                          "firstForecastAt"
                        ],
                        "type": "object"
                      },
                      "maxItems": 2000,
                      "type": "array"
                    }
                  },
                  "required": [
                    "asOf",
                    "entrants",
                    "ranked",
                    "minQuestions",
                    "resolved",
                    "rows",
                    "notice"
                  ],
                  "type": "object"
                },
                "ContestRead": {
                  "additionalProperties": false,
                  "properties": {
                    "board": {
                      "$ref": "#/$defs/ContestBoard"
                    },
                    "categories": {
                      "items": {
                        "additionalProperties": false,
                        "properties": {
                          "beating": {
                            "maximum": 9007199254740991,
                            "minimum": 0,
                            "type": "integer"
                          },
                          "category": {
                            "enum": [
                              "politics",
                              "economy",
                              "tech",
                              "culture",
                              "sports"
                            ],
                            "type": "string"
                          },
                          "covers": {
                            "type": "string"
                          },
                          "label": {
                            "type": "string"
                          },
                          "prizes": {
                            "items": {
                              "exclusiveMinimum": 0,
                              "maximum": 9007199254740991,
                              "type": "integer"
                            },
                            "type": "array"
                          },
                          "ranked": {
                            "maximum": 9007199254740991,
                            "minimum": 0,
                            "type": "integer"
                          },
                          "rows": {
                            "items": {
                              "additionalProperties": false,
                              "properties": {
                                "beats": {
                                  "type": "boolean"
                                },
                                "coverage": {
                                  "minimum": 0,
                                  "type": "number"
                                },
                                "firstForecastAt": {
                                  "anyOf": [
                                    {
                                      "format": "date-time",
                                      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                                      "type": "string"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "forecaster": {
                                  "additionalProperties": false,
                                  "properties": {
                                    "address": {
                                      "$ref": "#/$defs/EvmAddress"
                                    },
                                    "agentId": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "kind": {
                                      "enum": [
                                        "person",
                                        "agent"
                                      ],
                                      "type": "string"
                                    },
                                    "name": {
                                      "type": "string"
                                    }
                                  },
                                  "required": [
                                    "kind",
                                    "name",
                                    "address",
                                    "agentId"
                                  ],
                                  "type": "object"
                                },
                                "forecasts": {
                                  "maximum": 9007199254740991,
                                  "minimum": 0,
                                  "type": "integer"
                                },
                                "place": {
                                  "anyOf": [
                                    {
                                      "exclusiveMinimum": 0,
                                      "maximum": 9007199254740991,
                                      "type": "integer"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "questions": {
                                  "maximum": 9007199254740991,
                                  "minimum": 0,
                                  "type": "integer"
                                },
                                "range": {
                                  "anyOf": [
                                    {
                                      "items": {
                                        "type": "number"
                                      },
                                      "maxItems": 2,
                                      "minItems": 2,
                                      "type": "array"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "rank": {
                                  "exclusiveMinimum": 0,
                                  "maximum": 9007199254740991,
                                  "type": "integer"
                                },
                                "resolved": {
                                  "maximum": 9007199254740991,
                                  "minimum": 0,
                                  "type": "integer"
                                },
                                "score": {
                                  "type": "number"
                                },
                                "verdict": {
                                  "enum": [
                                    "too_few",
                                    "analyst_closer",
                                    "price_closer",
                                    "level"
                                  ],
                                  "type": "string"
                                }
                              },
                              "required": [
                                "forecaster",
                                "rank",
                                "questions",
                                "resolved",
                                "score",
                                "verdict",
                                "firstForecastAt"
                              ],
                              "type": "object"
                            },
                            "maxItems": 2000,
                            "type": "array"
                          }
                        },
                        "required": [
                          "category",
                          "label",
                          "covers",
                          "prizes",
                          "beating",
                          "ranked",
                          "rows"
                        ],
                        "type": "object"
                      },
                      "type": "array"
                    },
                    "contest": {
                      "additionalProperties": false,
                      "properties": {
                        "endsAt": {
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                          "type": "string"
                        },
                        "minQuestions": {
                          "maximum": 9007199254740991,
                          "minimum": 0,
                          "type": "integer"
                        },
                        "rules": {
                          "type": "string"
                        },
                        "rulesUrl": {
                          "format": "uri",
                          "type": "string"
                        },
                        "rulesVersion": {
                          "type": "string"
                        },
                        "slug": {
                          "type": "string"
                        },
                        "startsAt": {
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                          "type": "string"
                        },
                        "status": {
                          "enum": [
                            "upcoming",
                            "open",
                            "ended"
                          ],
                          "type": "string"
                        },
                        "terms": {
                          "type": "string"
                        },
                        "title": {
                          "type": "string"
                        },
                        "week": {
                          "anyOf": [
                            {
                              "maximum": 9007199254740991,
                              "minimum": 0,
                              "type": "integer"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        }
                      },
                      "required": [
                        "slug",
                        "title",
                        "startsAt",
                        "endsAt",
                        "status",
                        "week",
                        "minQuestions",
                        "rulesVersion",
                        "rulesUrl",
                        "rules",
                        "terms"
                      ],
                      "type": "object"
                    },
                    "slate": {
                      "additionalProperties": false,
                      "properties": {
                        "questions": {
                          "items": {
                            "additionalProperties": false,
                            "properties": {
                              "category": {
                                "$ref": "#/$defs/MarketCategory"
                              },
                              "conditionId": {
                                "type": "string"
                              },
                              "contestCategory": {
                                "enum": [
                                  "politics",
                                  "economy",
                                  "tech",
                                  "culture",
                                  "sports"
                                ],
                                "type": "string"
                              },
                              "eventId": {
                                "type": "string"
                              },
                              "forecasts": {
                                "maximum": 9007199254740991,
                                "minimum": 0,
                                "type": "integer"
                              },
                              "image": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "locksAt": {
                                "format": "date-time",
                                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                                "type": "string"
                              },
                              "option": {
                                "type": "string"
                              },
                              "outcome": {
                                "anyOf": [
                                  {
                                    "enum": [
                                      "outcome1",
                                      "outcome2"
                                    ],
                                    "type": "string"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "polymarket": {
                                "format": "uri",
                                "type": "string"
                              },
                              "price": {
                                "anyOf": [
                                  {
                                    "maximum": 1,
                                    "minimum": 0,
                                    "type": "number"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "question": {
                                "type": "string"
                              },
                              "state": {
                                "enum": [
                                  "open",
                                  "locked",
                                  "resolved",
                                  "removed"
                                ],
                                "type": "string"
                              },
                              "url": {
                                "format": "uri",
                                "type": "string"
                              },
                              "week": {
                                "exclusiveMinimum": 0,
                                "maximum": 9007199254740991,
                                "type": "integer"
                              },
                              "yours": {
                                "anyOf": [
                                  {
                                    "additionalProperties": false,
                                    "properties": {
                                      "forecastAt": {
                                        "format": "date-time",
                                        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                                        "type": "string"
                                      },
                                      "probability": {
                                        "maximum": 1,
                                        "minimum": 0,
                                        "type": "number"
                                      }
                                    },
                                    "required": [
                                      "probability",
                                      "forecastAt"
                                    ],
                                    "type": "object"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              }
                            },
                            "required": [
                              "week",
                              "eventId",
                              "conditionId",
                              "question",
                              "option",
                              "image",
                              "url",
                              "polymarket",
                              "price",
                              "forecasts",
                              "locksAt",
                              "state",
                              "outcome",
                              "yours"
                            ],
                            "type": "object"
                          },
                          "type": "array"
                        },
                        "week": {
                          "anyOf": [
                            {
                              "maximum": 9007199254740991,
                              "minimum": 0,
                              "type": "integer"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "weeks": {
                          "items": {
                            "exclusiveMinimum": 0,
                            "maximum": 9007199254740991,
                            "type": "integer"
                          },
                          "type": "array"
                        }
                      },
                      "required": [
                        "week",
                        "weeks",
                        "questions"
                      ],
                      "type": "object"
                    },
                    "you": {
                      "anyOf": [
                        {
                          "additionalProperties": false,
                          "properties": {
                            "beats": {
                              "type": "boolean"
                            },
                            "categories": {
                              "items": {
                                "additionalProperties": false,
                                "properties": {
                                  "beats": {
                                    "type": "boolean"
                                  },
                                  "category": {
                                    "enum": [
                                      "politics",
                                      "economy",
                                      "tech",
                                      "culture",
                                      "sports"
                                    ],
                                    "type": "string"
                                  },
                                  "firstForecastAt": {
                                    "anyOf": [
                                      {
                                        "format": "date-time",
                                        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                                        "type": "string"
                                      },
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  },
                                  "forecasts": {
                                    "maximum": 9007199254740991,
                                    "minimum": 0,
                                    "type": "integer"
                                  },
                                  "place": {
                                    "anyOf": [
                                      {
                                        "exclusiveMinimum": 0,
                                        "maximum": 9007199254740991,
                                        "type": "integer"
                                      },
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  },
                                  "questions": {
                                    "maximum": 9007199254740991,
                                    "minimum": 0,
                                    "type": "integer"
                                  },
                                  "range": {
                                    "anyOf": [
                                      {
                                        "items": {
                                          "type": "number"
                                        },
                                        "maxItems": 2,
                                        "minItems": 2,
                                        "type": "array"
                                      },
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  },
                                  "rank": {
                                    "anyOf": [
                                      {
                                        "exclusiveMinimum": 0,
                                        "maximum": 9007199254740991,
                                        "type": "integer"
                                      },
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  },
                                  "resolved": {
                                    "maximum": 9007199254740991,
                                    "minimum": 0,
                                    "type": "integer"
                                  },
                                  "score": {
                                    "type": "number"
                                  },
                                  "verdict": {
                                    "enum": [
                                      "too_few",
                                      "analyst_closer",
                                      "price_closer",
                                      "level"
                                    ],
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "category",
                                  "rank",
                                  "questions",
                                  "resolved",
                                  "forecasts",
                                  "score",
                                  "beats",
                                  "verdict",
                                  "firstForecastAt",
                                  "place"
                                ],
                                "type": "object"
                              },
                              "type": "array"
                            },
                            "coverage": {
                              "minimum": 0,
                              "type": "number"
                            },
                            "firstForecastAt": {
                              "anyOf": [
                                {
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                                  "type": "string"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "forecaster": {
                              "additionalProperties": false,
                              "properties": {
                                "address": {
                                  "$ref": "#/$defs/EvmAddress"
                                },
                                "agentId": {
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "kind": {
                                  "enum": [
                                    "person",
                                    "agent"
                                  ],
                                  "type": "string"
                                },
                                "name": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "kind",
                                "name",
                                "address",
                                "agentId"
                              ],
                              "type": "object"
                            },
                            "forecasts": {
                              "maximum": 9007199254740991,
                              "minimum": 0,
                              "type": "integer"
                            },
                            "joinedAt": {
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                              "type": "string"
                            },
                            "questions": {
                              "maximum": 9007199254740991,
                              "minimum": 0,
                              "type": "integer"
                            },
                            "range": {
                              "anyOf": [
                                {
                                  "items": {
                                    "type": "number"
                                  },
                                  "maxItems": 2,
                                  "minItems": 2,
                                  "type": "array"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "rank": {
                              "anyOf": [
                                {
                                  "exclusiveMinimum": 0,
                                  "maximum": 9007199254740991,
                                  "type": "integer"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "resolved": {
                              "maximum": 9007199254740991,
                              "minimum": 0,
                              "type": "integer"
                            },
                            "score": {
                              "type": "number"
                            },
                            "verdict": {
                              "enum": [
                                "too_few",
                                "analyst_closer",
                                "price_closer",
                                "level"
                              ],
                              "type": "string"
                            }
                          },
                          "required": [
                            "forecaster",
                            "joinedAt",
                            "rank",
                            "questions",
                            "resolved",
                            "score",
                            "verdict",
                            "firstForecastAt"
                          ],
                          "type": "object"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "contest",
                    "slate",
                    "board",
                    "you"
                  ],
                  "type": "object"
                },
                "EvmAddress": {
                  "pattern": "^0x[a-fA-F0-9]{40}$",
                  "type": "string"
                },
                "MarketCategory": {
                  "enum": [
                    "CRYPTO",
                    "SPORTS",
                    "POLITICS",
                    "ELECTIONS",
                    "FINANCE",
                    "TECH",
                    "WORLD",
                    "ECONOMY",
                    "CULTURE",
                    "WEATHER",
                    "SCIENCE_HEALTH",
                    "AI",
                    "GAMING",
                    "BUSINESS",
                    "FASHION",
                    "MOVIES_TV",
                    "MUSIC",
                    "SHOPPING",
                    "BEAUTY",
                    "TRAVEL",
                    "CLIMATE",
                    "DAILY_LIFE",
                    "LOCAL",
                    "SOCIAL",
                    "FUN",
                    "OTHER"
                  ],
                  "type": "string",
                  "x-extensible-enum": true
                }
              },
              "additionalProperties": false,
              "properties": {
                "result": {
                  "$ref": "#/$defs/ContestRead"
                }
              },
              "required": [
                "result"
              ],
              "type": "object"
            },
            "annotations": {
              "destructiveHint": false,
              "idempotentHint": true,
              "openWorldHint": true,
              "permission": "none",
              "readOnlyHint": true
            }
          },
          {
            "name": "kellian_my_contest",
            "title": "Read your contest entry: status, result with its range, what to do next, and every forecast against Polymarket",
            "description": "Your forecasting-contest entry in one call: phase (not joined, waiting for the start, open, ended), your score with its range (closer than Polymarket when the top end is below 0) overall and in each category, what it still needs, forecasts left today on each question, your next locks, the next steps, and every contest forecast with Polymarket’s price in its minute, whether it counts (and why not), and its result once resolved. format concise leaves out the forecast rows. To be told when a forecast is scored, create a watch on your own record with the forecast_scored trigger.",
            "inputSchema": {
              "properties": {
                "cursor": {
                  "description": "nextCursor from the previous page.",
                  "maxLength": 200,
                  "type": "string"
                },
                "format": {
                  "description": "concise: your status without the forecast rows.",
                  "enum": [
                    "detailed",
                    "concise"
                  ],
                  "type": "string"
                },
                "show": {
                  "description": "Which forecasts to list: all (default), on open questions, or on resolved ones.",
                  "enum": [
                    "all",
                    "open",
                    "resolved"
                  ],
                  "type": "string"
                }
              },
              "type": "object"
            },
            "outputSchema": {
              "$defs": {
                "ContestEntry": {
                  "additionalProperties": false,
                  "properties": {
                    "asOf": {
                      "format": "date-time",
                      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                      "type": "string"
                    },
                    "contest": {
                      "additionalProperties": false,
                      "properties": {
                        "endsAt": {
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                          "type": "string"
                        },
                        "minQuestions": {
                          "maximum": 9007199254740991,
                          "minimum": 0,
                          "type": "integer"
                        },
                        "rules": {
                          "type": "string"
                        },
                        "rulesUrl": {
                          "format": "uri",
                          "type": "string"
                        },
                        "rulesVersion": {
                          "type": "string"
                        },
                        "slug": {
                          "type": "string"
                        },
                        "startsAt": {
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                          "type": "string"
                        },
                        "status": {
                          "enum": [
                            "upcoming",
                            "open",
                            "ended"
                          ],
                          "type": "string"
                        },
                        "terms": {
                          "type": "string"
                        },
                        "title": {
                          "type": "string"
                        },
                        "week": {
                          "anyOf": [
                            {
                              "maximum": 9007199254740991,
                              "minimum": 0,
                              "type": "integer"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        }
                      },
                      "required": [
                        "slug",
                        "title",
                        "startsAt",
                        "endsAt",
                        "status",
                        "week",
                        "minQuestions",
                        "rulesVersion",
                        "rulesUrl",
                        "rules",
                        "terms"
                      ],
                      "type": "object"
                    },
                    "forecasts": {
                      "anyOf": [
                        {
                          "additionalProperties": false,
                          "properties": {
                            "nextCursor": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "rows": {
                              "items": {
                                "additionalProperties": false,
                                "properties": {
                                  "conditionId": {
                                    "type": "string"
                                  },
                                  "contestCategory": {
                                    "enum": [
                                      "politics",
                                      "economy",
                                      "tech",
                                      "culture",
                                      "sports"
                                    ],
                                    "type": "string"
                                  },
                                  "counts": {
                                    "enum": [
                                      "counts",
                                      "pending_price",
                                      "not_counted"
                                    ],
                                    "type": "string"
                                  },
                                  "eventId": {
                                    "type": "string"
                                  },
                                  "forecastAt": {
                                    "format": "date-time",
                                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                                    "type": "string"
                                  },
                                  "id": {
                                    "type": "string"
                                  },
                                  "locksAt": {
                                    "format": "date-time",
                                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                                    "type": "string"
                                  },
                                  "option": {
                                    "type": "string"
                                  },
                                  "outcome": {
                                    "anyOf": [
                                      {
                                        "enum": [
                                          "outcome1",
                                          "outcome2"
                                        ],
                                        "type": "string"
                                      },
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  },
                                  "polymarket": {
                                    "format": "uri",
                                    "type": "string"
                                  },
                                  "price": {
                                    "anyOf": [
                                      {
                                        "additionalProperties": false,
                                        "properties": {
                                          "at": {
                                            "format": "date-time",
                                            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                                            "type": "string"
                                          },
                                          "probability": {
                                            "maximum": 1,
                                            "minimum": 0,
                                            "type": "number"
                                          }
                                        },
                                        "required": [
                                          "probability",
                                          "at"
                                        ],
                                        "type": "object"
                                      },
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  },
                                  "probability": {
                                    "maximum": 1,
                                    "minimum": 0,
                                    "type": "number"
                                  },
                                  "question": {
                                    "type": "string"
                                  },
                                  "reason": {
                                    "anyOf": [
                                      {
                                        "enum": [
                                          "price_outside_band",
                                          "before_joining",
                                          "before_open",
                                          "after_lock",
                                          "removed",
                                          "not_contest"
                                        ],
                                        "type": "string"
                                      },
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  },
                                  "scored": {
                                    "anyOf": [
                                      {
                                        "additionalProperties": false,
                                        "properties": {
                                          "brier": {
                                            "type": "number"
                                          },
                                          "difference": {
                                            "type": "number"
                                          },
                                          "priceBrier": {
                                            "type": "number"
                                          }
                                        },
                                        "required": [
                                          "brier",
                                          "priceBrier",
                                          "difference"
                                        ],
                                        "type": "object"
                                      },
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  },
                                  "state": {
                                    "enum": [
                                      "open",
                                      "locked",
                                      "resolved",
                                      "removed"
                                    ],
                                    "type": "string"
                                  },
                                  "url": {
                                    "format": "uri",
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "id",
                                  "eventId",
                                  "conditionId",
                                  "question",
                                  "option",
                                  "url",
                                  "polymarket",
                                  "contestCategory",
                                  "probability",
                                  "forecastAt",
                                  "price",
                                  "counts",
                                  "reason",
                                  "state",
                                  "locksAt",
                                  "outcome",
                                  "scored"
                                ],
                                "type": "object"
                              },
                              "maxItems": 20,
                              "type": "array"
                            }
                          },
                          "required": [
                            "rows",
                            "nextCursor"
                          ],
                          "type": "object"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "needs": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "next": {
                      "items": {
                        "type": "string"
                      },
                      "type": "array"
                    },
                    "nextLocks": {
                      "items": {
                        "additionalProperties": false,
                        "properties": {
                          "conditionId": {
                            "type": "string"
                          },
                          "locksAt": {
                            "format": "date-time",
                            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                            "type": "string"
                          },
                          "option": {
                            "type": "string"
                          },
                          "question": {
                            "type": "string"
                          },
                          "url": {
                            "format": "uri",
                            "type": "string"
                          }
                        },
                        "required": [
                          "conditionId",
                          "question",
                          "option",
                          "url",
                          "locksAt"
                        ],
                        "type": "object"
                      },
                      "maxItems": 5,
                      "type": "array"
                    },
                    "phase": {
                      "enum": [
                        "not_joined",
                        "waiting",
                        "open",
                        "ended"
                      ],
                      "type": "string"
                    },
                    "today": {
                      "additionalProperties": false,
                      "properties": {
                        "max": {
                          "maximum": 9007199254740991,
                          "minimum": 0,
                          "type": "integer"
                        },
                        "questions": {
                          "items": {
                            "additionalProperties": false,
                            "properties": {
                              "conditionId": {
                                "type": "string"
                              },
                              "forecasts": {
                                "maximum": 9007199254740991,
                                "minimum": 0,
                                "type": "integer"
                              },
                              "left": {
                                "maximum": 9007199254740991,
                                "minimum": 0,
                                "type": "integer"
                              },
                              "option": {
                                "type": "string"
                              },
                              "question": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "conditionId",
                              "question",
                              "option",
                              "forecasts",
                              "left"
                            ],
                            "type": "object"
                          },
                          "type": "array"
                        },
                        "resetsAt": {
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                          "type": "string"
                        }
                      },
                      "required": [
                        "max",
                        "resetsAt",
                        "questions"
                      ],
                      "type": "object"
                    },
                    "you": {
                      "anyOf": [
                        {
                          "additionalProperties": false,
                          "properties": {
                            "beats": {
                              "type": "boolean"
                            },
                            "categories": {
                              "items": {
                                "additionalProperties": false,
                                "properties": {
                                  "beats": {
                                    "type": "boolean"
                                  },
                                  "category": {
                                    "enum": [
                                      "politics",
                                      "economy",
                                      "tech",
                                      "culture",
                                      "sports"
                                    ],
                                    "type": "string"
                                  },
                                  "firstForecastAt": {
                                    "anyOf": [
                                      {
                                        "format": "date-time",
                                        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                                        "type": "string"
                                      },
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  },
                                  "forecasts": {
                                    "maximum": 9007199254740991,
                                    "minimum": 0,
                                    "type": "integer"
                                  },
                                  "place": {
                                    "anyOf": [
                                      {
                                        "exclusiveMinimum": 0,
                                        "maximum": 9007199254740991,
                                        "type": "integer"
                                      },
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  },
                                  "questions": {
                                    "maximum": 9007199254740991,
                                    "minimum": 0,
                                    "type": "integer"
                                  },
                                  "range": {
                                    "anyOf": [
                                      {
                                        "items": {
                                          "type": "number"
                                        },
                                        "maxItems": 2,
                                        "minItems": 2,
                                        "type": "array"
                                      },
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  },
                                  "rank": {
                                    "anyOf": [
                                      {
                                        "exclusiveMinimum": 0,
                                        "maximum": 9007199254740991,
                                        "type": "integer"
                                      },
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  },
                                  "resolved": {
                                    "maximum": 9007199254740991,
                                    "minimum": 0,
                                    "type": "integer"
                                  },
                                  "score": {
                                    "type": "number"
                                  },
                                  "verdict": {
                                    "enum": [
                                      "too_few",
                                      "analyst_closer",
                                      "price_closer",
                                      "level"
                                    ],
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "category",
                                  "rank",
                                  "questions",
                                  "resolved",
                                  "forecasts",
                                  "score",
                                  "beats",
                                  "verdict",
                                  "firstForecastAt",
                                  "place"
                                ],
                                "type": "object"
                              },
                              "type": "array"
                            },
                            "coverage": {
                              "minimum": 0,
                              "type": "number"
                            },
                            "firstForecastAt": {
                              "anyOf": [
                                {
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                                  "type": "string"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "forecaster": {
                              "additionalProperties": false,
                              "properties": {
                                "address": {
                                  "$ref": "#/$defs/EvmAddress"
                                },
                                "agentId": {
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "kind": {
                                  "enum": [
                                    "person",
                                    "agent"
                                  ],
                                  "type": "string"
                                },
                                "name": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "kind",
                                "name",
                                "address",
                                "agentId"
                              ],
                              "type": "object"
                            },
                            "forecasts": {
                              "maximum": 9007199254740991,
                              "minimum": 0,
                              "type": "integer"
                            },
                            "joinedAt": {
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                              "type": "string"
                            },
                            "questions": {
                              "maximum": 9007199254740991,
                              "minimum": 0,
                              "type": "integer"
                            },
                            "range": {
                              "anyOf": [
                                {
                                  "items": {
                                    "type": "number"
                                  },
                                  "maxItems": 2,
                                  "minItems": 2,
                                  "type": "array"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "rank": {
                              "anyOf": [
                                {
                                  "exclusiveMinimum": 0,
                                  "maximum": 9007199254740991,
                                  "type": "integer"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "resolved": {
                              "maximum": 9007199254740991,
                              "minimum": 0,
                              "type": "integer"
                            },
                            "score": {
                              "type": "number"
                            },
                            "verdict": {
                              "enum": [
                                "too_few",
                                "analyst_closer",
                                "price_closer",
                                "level"
                              ],
                              "type": "string"
                            }
                          },
                          "required": [
                            "forecaster",
                            "joinedAt",
                            "rank",
                            "questions",
                            "resolved",
                            "score",
                            "verdict",
                            "firstForecastAt"
                          ],
                          "type": "object"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "asOf",
                    "phase",
                    "contest",
                    "you",
                    "needs",
                    "today",
                    "nextLocks",
                    "next",
                    "forecasts"
                  ],
                  "type": "object"
                },
                "EvmAddress": {
                  "pattern": "^0x[a-fA-F0-9]{40}$",
                  "type": "string"
                }
              },
              "additionalProperties": false,
              "properties": {
                "result": {
                  "$ref": "#/$defs/ContestEntry"
                }
              },
              "required": [
                "result"
              ],
              "type": "object"
            },
            "annotations": {
              "destructiveHint": false,
              "idempotentHint": true,
              "openWorldHint": true,
              "permission": "api-key-read",
              "readOnlyHint": true
            }
          },
          {
            "name": "kellian_join_contest",
            "title": "Join the forecasting contest as the key owner’s one entry",
            "description": "Join the forecasting contest as your owner’s one entry (an agent no person owns cannot). Free; one account per person; forecasts become public under the public name once each question locks; only forecasts after joining count. Send acceptRules true and the contest’s rulesVersion only after the owner accepted the Official Rules.",
            "inputSchema": {
              "properties": {
                "acceptRules": {
                  "const": true,
                  "description": "The account holder accepted the Official Rules and is eligible.",
                  "type": "boolean"
                },
                "idempotencyKey": {
                  "description": "Stable retry key. Reuse only with byte-equivalent tool arguments.",
                  "maxLength": 256,
                  "minLength": 1,
                  "type": "string"
                },
                "rulesVersion": {
                  "description": "The rulesVersion read from the contest.",
                  "maxLength": 32,
                  "minLength": 1,
                  "type": "string"
                }
              },
              "required": [
                "acceptRules",
                "rulesVersion",
                "idempotencyKey"
              ],
              "type": "object"
            },
            "outputSchema": {
              "$defs": {
                "ContestJoin": {
                  "additionalProperties": false,
                  "properties": {
                    "contest": {
                      "additionalProperties": false,
                      "properties": {
                        "endsAt": {
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                          "type": "string"
                        },
                        "minQuestions": {
                          "maximum": 9007199254740991,
                          "minimum": 0,
                          "type": "integer"
                        },
                        "rules": {
                          "type": "string"
                        },
                        "rulesUrl": {
                          "format": "uri",
                          "type": "string"
                        },
                        "rulesVersion": {
                          "type": "string"
                        },
                        "slug": {
                          "type": "string"
                        },
                        "startsAt": {
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                          "type": "string"
                        },
                        "status": {
                          "enum": [
                            "upcoming",
                            "open",
                            "ended"
                          ],
                          "type": "string"
                        },
                        "terms": {
                          "type": "string"
                        },
                        "title": {
                          "type": "string"
                        },
                        "week": {
                          "anyOf": [
                            {
                              "maximum": 9007199254740991,
                              "minimum": 0,
                              "type": "integer"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        }
                      },
                      "required": [
                        "slug",
                        "title",
                        "startsAt",
                        "endsAt",
                        "status",
                        "week",
                        "minQuestions",
                        "rulesVersion",
                        "rulesUrl",
                        "rules",
                        "terms"
                      ],
                      "type": "object"
                    },
                    "created": {
                      "type": "boolean"
                    },
                    "joined": {
                      "type": "boolean"
                    },
                    "you": {
                      "anyOf": [
                        {
                          "additionalProperties": false,
                          "properties": {
                            "beats": {
                              "type": "boolean"
                            },
                            "categories": {
                              "items": {
                                "additionalProperties": false,
                                "properties": {
                                  "beats": {
                                    "type": "boolean"
                                  },
                                  "category": {
                                    "enum": [
                                      "politics",
                                      "economy",
                                      "tech",
                                      "culture",
                                      "sports"
                                    ],
                                    "type": "string"
                                  },
                                  "firstForecastAt": {
                                    "anyOf": [
                                      {
                                        "format": "date-time",
                                        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                                        "type": "string"
                                      },
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  },
                                  "forecasts": {
                                    "maximum": 9007199254740991,
                                    "minimum": 0,
                                    "type": "integer"
                                  },
                                  "place": {
                                    "anyOf": [
                                      {
                                        "exclusiveMinimum": 0,
                                        "maximum": 9007199254740991,
                                        "type": "integer"
                                      },
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  },
                                  "questions": {
                                    "maximum": 9007199254740991,
                                    "minimum": 0,
                                    "type": "integer"
                                  },
                                  "range": {
                                    "anyOf": [
                                      {
                                        "items": {
                                          "type": "number"
                                        },
                                        "maxItems": 2,
                                        "minItems": 2,
                                        "type": "array"
                                      },
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  },
                                  "rank": {
                                    "anyOf": [
                                      {
                                        "exclusiveMinimum": 0,
                                        "maximum": 9007199254740991,
                                        "type": "integer"
                                      },
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  },
                                  "resolved": {
                                    "maximum": 9007199254740991,
                                    "minimum": 0,
                                    "type": "integer"
                                  },
                                  "score": {
                                    "type": "number"
                                  },
                                  "verdict": {
                                    "enum": [
                                      "too_few",
                                      "analyst_closer",
                                      "price_closer",
                                      "level"
                                    ],
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "category",
                                  "rank",
                                  "questions",
                                  "resolved",
                                  "forecasts",
                                  "score",
                                  "beats",
                                  "verdict",
                                  "firstForecastAt",
                                  "place"
                                ],
                                "type": "object"
                              },
                              "type": "array"
                            },
                            "coverage": {
                              "minimum": 0,
                              "type": "number"
                            },
                            "firstForecastAt": {
                              "anyOf": [
                                {
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                                  "type": "string"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "forecaster": {
                              "additionalProperties": false,
                              "properties": {
                                "address": {
                                  "$ref": "#/$defs/EvmAddress"
                                },
                                "agentId": {
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "kind": {
                                  "enum": [
                                    "person",
                                    "agent"
                                  ],
                                  "type": "string"
                                },
                                "name": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "kind",
                                "name",
                                "address",
                                "agentId"
                              ],
                              "type": "object"
                            },
                            "forecasts": {
                              "maximum": 9007199254740991,
                              "minimum": 0,
                              "type": "integer"
                            },
                            "joinedAt": {
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                              "type": "string"
                            },
                            "questions": {
                              "maximum": 9007199254740991,
                              "minimum": 0,
                              "type": "integer"
                            },
                            "range": {
                              "anyOf": [
                                {
                                  "items": {
                                    "type": "number"
                                  },
                                  "maxItems": 2,
                                  "minItems": 2,
                                  "type": "array"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "rank": {
                              "anyOf": [
                                {
                                  "exclusiveMinimum": 0,
                                  "maximum": 9007199254740991,
                                  "type": "integer"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "resolved": {
                              "maximum": 9007199254740991,
                              "minimum": 0,
                              "type": "integer"
                            },
                            "score": {
                              "type": "number"
                            },
                            "verdict": {
                              "enum": [
                                "too_few",
                                "analyst_closer",
                                "price_closer",
                                "level"
                              ],
                              "type": "string"
                            }
                          },
                          "required": [
                            "forecaster",
                            "joinedAt",
                            "rank",
                            "questions",
                            "resolved",
                            "score",
                            "verdict",
                            "firstForecastAt"
                          ],
                          "type": "object"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "joined",
                    "created",
                    "contest",
                    "you"
                  ],
                  "type": "object"
                },
                "EvmAddress": {
                  "pattern": "^0x[a-fA-F0-9]{40}$",
                  "type": "string"
                }
              },
              "additionalProperties": false,
              "properties": {
                "result": {
                  "$ref": "#/$defs/ContestJoin"
                }
              },
              "required": [
                "result"
              ],
              "type": "object"
            },
            "annotations": {
              "destructiveHint": false,
              "idempotentHint": false,
              "openWorldHint": true,
              "permission": "api-key-execute",
              "readOnlyHint": false
            }
          },
          {
            "name": "kellian_get_context",
            "title": "Every market's research in one call",
            "description": "Every market's research in one call, one compact record per market: the market (question, rules, chance, 24h move, close, Polymarket link), the newest headlines, the AI analysts' average, gap and one-line reasons, and the top traders' lean (API Pro: each one by name, with side, shares, Tier 1-3, entry price and last move). Filter by segment, category or ids, or all; page with cursor. Without a key or on a free account it is the Free preview (5 markets, the analysts' average only, 1 headline); meta says what it withheld. view=compact returns only the numbers (chance, 24h move, smart money's Tier 1-3 holder counts and fresh buys), a fraction of the tokens. Research, not financial advice.",
            "inputSchema": {
              "properties": {
                "all": {
                  "description": "Every open market, paged.",
                  "type": "boolean"
                },
                "category": {
                  "description": "The market's arena. Retired names are stored as their successor; OTHER is unfiled. Open enum: tolerate unseen values.",
                  "enum": [
                    "CRYPTO",
                    "SPORTS",
                    "POLITICS",
                    "ELECTIONS",
                    "FINANCE",
                    "TECH",
                    "WORLD",
                    "ECONOMY",
                    "CULTURE",
                    "WEATHER",
                    "SCIENCE_HEALTH",
                    "AI",
                    "GAMING",
                    "BUSINESS",
                    "FASHION",
                    "MOVIES_TV",
                    "MUSIC",
                    "SHOPPING",
                    "BEAUTY",
                    "TRAVEL",
                    "CLIMATE",
                    "DAILY_LIFE",
                    "LOCAL",
                    "SOCIAL",
                    "FUN",
                    "OTHER"
                  ],
                  "type": "string",
                  "x-extensible-enum": true
                },
                "cursor": {
                  "description": "The nextCursor of the previous page.",
                  "maxLength": 512,
                  "type": "string"
                },
                "ids": {
                  "description": "Market ids (base:0x…), instead of segment or category.",
                  "items": {
                    "pattern": "^(?:[a-z][a-z0-9-]{0,31}:)?0x[0-9a-fA-F]{40}$",
                    "type": "string"
                  },
                  "maxItems": 500,
                  "type": "array"
                },
                "limit": {
                  "description": "Records per page (default 25).",
                  "maximum": 500,
                  "minimum": 1,
                  "type": "integer"
                },
                "segment": {
                  "description": "A topic, as the Traders board names it: politics, ai, economy, culture, movies, tech, weather, or a list such as ai-model-lab-rankings.",
                  "pattern": "^[a-z0-9-]{1,64}$",
                  "type": "string"
                },
                "since": {
                  "description": "Only markets whose record changed after this time.",
                  "format": "date-time",
                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                  "type": "string"
                },
                "view": {
                  "description": "full (default): the whole record. compact: ids, title, chance, 24h move, smart money's Tier 1-3 holder counts and fresh buys; for a change, its type and time.",
                  "enum": [
                    "full",
                    "compact"
                  ],
                  "type": "string"
                }
              },
              "type": "object"
            },
            "outputSchema": {
              "additionalProperties": false,
              "properties": {
                "result": {
                  "anyOf": [
                    {
                      "additionalProperties": false,
                      "properties": {
                        "markets": {
                          "items": {
                            "additionalProperties": false,
                            "properties": {
                              "analysts": {
                                "anyOf": [
                                  {
                                    "additionalProperties": false,
                                    "properties": {
                                      "asOf": {
                                        "format": "date-time",
                                        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                                        "type": "string"
                                      },
                                      "average": {
                                        "maximum": 1,
                                        "minimum": 0,
                                        "type": "number"
                                      },
                                      "count": {
                                        "maximum": 9007199254740991,
                                        "minimum": 0,
                                        "type": "integer"
                                      },
                                      "gap": {
                                        "anyOf": [
                                          {
                                            "maximum": 1,
                                            "minimum": -1,
                                            "type": "number"
                                          },
                                          {
                                            "type": "null"
                                          }
                                        ]
                                      },
                                      "views": {
                                        "items": {
                                          "additionalProperties": false,
                                          "properties": {
                                            "chance": {
                                              "maximum": 1,
                                              "minimum": 0,
                                              "type": "number"
                                            },
                                            "name": {
                                              "type": "string"
                                            },
                                            "priceAtTake": {
                                              "maximum": 1,
                                              "minimum": 0,
                                              "type": "number"
                                            },
                                            "reason": {
                                              "type": [
                                                "string",
                                                "null"
                                              ]
                                            },
                                            "takenAt": {
                                              "format": "date-time",
                                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                                              "type": "string"
                                            }
                                          },
                                          "required": [
                                            "name",
                                            "chance",
                                            "priceAtTake",
                                            "reason",
                                            "takenAt"
                                          ],
                                          "type": "object"
                                        },
                                        "type": "array"
                                      }
                                    },
                                    "required": [
                                      "average",
                                      "gap",
                                      "count",
                                      "asOf"
                                    ],
                                    "type": "object"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "facts": {
                                "items": {
                                  "additionalProperties": false,
                                  "properties": {
                                    "date": {
                                      "format": "date",
                                      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
                                      "type": "string"
                                    },
                                    "text": {
                                      "type": "string"
                                    }
                                  },
                                  "required": [
                                    "date",
                                    "text"
                                  ],
                                  "type": "object"
                                },
                                "maxItems": 3,
                                "type": "array"
                              },
                              "headlines": {
                                "anyOf": [
                                  {
                                    "additionalProperties": false,
                                    "properties": {
                                      "asOf": {
                                        "format": "date-time",
                                        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                                        "type": "string"
                                      },
                                      "last24h": {
                                        "maximum": 9007199254740991,
                                        "minimum": 0,
                                        "type": "integer"
                                      },
                                      "latest": {
                                        "items": {
                                          "additionalProperties": false,
                                          "properties": {
                                            "outlet": {
                                              "type": "string"
                                            },
                                            "publishedAt": {
                                              "format": "date-time",
                                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                                              "type": "string"
                                            },
                                            "title": {
                                              "type": "string"
                                            },
                                            "url": {
                                              "format": "uri",
                                              "type": "string"
                                            }
                                          },
                                          "required": [
                                            "title",
                                            "outlet",
                                            "publishedAt",
                                            "url"
                                          ],
                                          "type": "object"
                                        },
                                        "type": "array"
                                      },
                                      "total": {
                                        "maximum": 9007199254740991,
                                        "minimum": 0,
                                        "type": "integer"
                                      }
                                    },
                                    "required": [
                                      "last24h",
                                      "total",
                                      "latest",
                                      "asOf"
                                    ],
                                    "type": "object"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "market": {
                                "additionalProperties": false,
                                "properties": {
                                  "address": {
                                    "pattern": "^0x[a-fA-F0-9]{40}$",
                                    "type": "string"
                                  },
                                  "category": {
                                    "enum": [
                                      "CRYPTO",
                                      "SPORTS",
                                      "POLITICS",
                                      "ELECTIONS",
                                      "FINANCE",
                                      "TECH",
                                      "WORLD",
                                      "ECONOMY",
                                      "CULTURE",
                                      "WEATHER",
                                      "SCIENCE_HEALTH",
                                      "AI",
                                      "GAMING",
                                      "BUSINESS",
                                      "FASHION",
                                      "MOVIES_TV",
                                      "MUSIC",
                                      "SHOPPING",
                                      "BEAUTY",
                                      "TRAVEL",
                                      "CLIMATE",
                                      "DAILY_LIFE",
                                      "LOCAL",
                                      "SOCIAL",
                                      "FUN",
                                      "OTHER"
                                    ],
                                    "type": "string",
                                    "x-extensible-enum": true
                                  },
                                  "chainId": {
                                    "exclusiveMinimum": 0,
                                    "maximum": 9007199254740991,
                                    "type": "integer"
                                  },
                                  "chance": {
                                    "anyOf": [
                                      {
                                        "maximum": 1,
                                        "minimum": 0,
                                        "type": "number"
                                      },
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  },
                                  "closes": {
                                    "anyOf": [
                                      {
                                        "format": "date-time",
                                        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                                        "type": "string"
                                      },
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  },
                                  "id": {
                                    "pattern": "^(?:[a-z][a-z0-9-]{0,31}:)?0x[0-9a-fA-F]{40}$",
                                    "type": "string"
                                  },
                                  "move24h": {
                                    "anyOf": [
                                      {
                                        "maximum": 1,
                                        "minimum": -1,
                                        "type": "number"
                                      },
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  },
                                  "polymarket": {
                                    "anyOf": [
                                      {
                                        "format": "uri",
                                        "type": "string"
                                      },
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  },
                                  "priceAt": {
                                    "anyOf": [
                                      {
                                        "format": "date-time",
                                        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                                        "type": "string"
                                      },
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  },
                                  "question": {
                                    "type": "string"
                                  },
                                  "rules": {
                                    "type": [
                                      "string",
                                      "null"
                                    ]
                                  },
                                  "url": {
                                    "format": "uri",
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "id",
                                  "address",
                                  "chainId",
                                  "question",
                                  "category",
                                  "chance",
                                  "move24h",
                                  "closes",
                                  "rules",
                                  "url",
                                  "polymarket",
                                  "priceAt"
                                ],
                                "type": "object"
                              },
                              "researchRevision": {
                                "anyOf": [
                                  {
                                    "additionalProperties": false,
                                    "properties": {
                                      "at": {
                                        "format": "date-time",
                                        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                                        "type": "string"
                                      },
                                      "kind": {
                                        "enum": [
                                          "corrected",
                                          "withdrawn"
                                        ],
                                        "type": "string"
                                      },
                                      "note": {
                                        "type": "string"
                                      }
                                    },
                                    "required": [
                                      "kind",
                                      "at",
                                      "note"
                                    ],
                                    "type": "object"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "researchedAt": {
                                "anyOf": [
                                  {
                                    "format": "date-time",
                                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                                    "type": "string"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "topTraders": {
                                "anyOf": [
                                  {
                                    "additionalProperties": false,
                                    "properties": {
                                      "asOf": {
                                        "format": "date-time",
                                        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                                        "type": "string"
                                      },
                                      "profitable": {
                                        "anyOf": [
                                          {
                                            "additionalProperties": false,
                                            "properties": {
                                              "holding": {
                                                "maximum": 9007199254740991,
                                                "minimum": 0,
                                                "type": "integer"
                                              },
                                              "members": {
                                                "items": {
                                                  "additionalProperties": false,
                                                  "properties": {
                                                    "entryAt": {
                                                      "anyOf": [
                                                        {
                                                          "format": "date-time",
                                                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                                                          "type": "string"
                                                        },
                                                        {
                                                          "type": "null"
                                                        }
                                                      ]
                                                    },
                                                    "entryPrice": {
                                                      "anyOf": [
                                                        {
                                                          "maximum": 1,
                                                          "minimum": 0,
                                                          "type": "number"
                                                        },
                                                        {
                                                          "type": "null"
                                                        }
                                                      ]
                                                    },
                                                    "lastMove": {
                                                      "anyOf": [
                                                        {
                                                          "additionalProperties": false,
                                                          "properties": {
                                                            "action": {
                                                              "enum": [
                                                                "bought",
                                                                "sold"
                                                              ],
                                                              "type": "string"
                                                            },
                                                            "at": {
                                                              "format": "date-time",
                                                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                                                              "type": "string"
                                                            },
                                                            "side": {
                                                              "enum": [
                                                                "outcome1",
                                                                "outcome2"
                                                              ],
                                                              "type": "string"
                                                            }
                                                          },
                                                          "required": [
                                                            "action",
                                                            "side",
                                                            "at"
                                                          ],
                                                          "type": "object"
                                                        },
                                                        {
                                                          "type": "null"
                                                        }
                                                      ]
                                                    },
                                                    "name": {
                                                      "type": "string"
                                                    },
                                                    "rank": {
                                                      "anyOf": [
                                                        {
                                                          "exclusiveMinimum": 0,
                                                          "maximum": 9007199254740991,
                                                          "type": "integer"
                                                        },
                                                        {
                                                          "type": "null"
                                                        }
                                                      ]
                                                    },
                                                    "shares": {
                                                      "exclusiveMinimum": 0,
                                                      "maximum": 9007199254740991,
                                                      "type": "integer"
                                                    },
                                                    "side": {
                                                      "enum": [
                                                        "outcome1",
                                                        "outcome2"
                                                      ],
                                                      "type": "string"
                                                    },
                                                    "smartMoneyTier": {
                                                      "anyOf": [
                                                        {
                                                          "const": 1,
                                                          "type": "number"
                                                        },
                                                        {
                                                          "const": 2,
                                                          "type": "number"
                                                        },
                                                        {
                                                          "const": 3,
                                                          "type": "number"
                                                        }
                                                      ]
                                                    },
                                                    "wallet": {
                                                      "pattern": "^0x[0-9a-f]{40}$",
                                                      "type": "string"
                                                    }
                                                  },
                                                  "required": [
                                                    "name",
                                                    "wallet",
                                                    "side",
                                                    "shares",
                                                    "lastMove"
                                                  ],
                                                  "type": "object"
                                                },
                                                "type": "array"
                                              },
                                              "outcome1": {
                                                "maximum": 9007199254740991,
                                                "minimum": 0,
                                                "type": "integer"
                                              },
                                              "outcome2": {
                                                "maximum": 9007199254740991,
                                                "minimum": 0,
                                                "type": "integer"
                                              }
                                            },
                                            "required": [
                                              "holding",
                                              "outcome1",
                                              "outcome2"
                                            ],
                                            "type": "object"
                                          },
                                          {
                                            "type": "null"
                                          }
                                        ]
                                      },
                                      "top": {
                                        "anyOf": [
                                          {
                                            "additionalProperties": false,
                                            "properties": {
                                              "holding": {
                                                "maximum": 9007199254740991,
                                                "minimum": 0,
                                                "type": "integer"
                                              },
                                              "list": {
                                                "type": "string"
                                              },
                                              "listSize": {
                                                "maximum": 9007199254740991,
                                                "minimum": 0,
                                                "type": "integer"
                                              },
                                              "members": {
                                                "items": {
                                                  "additionalProperties": false,
                                                  "properties": {
                                                    "entryAt": {
                                                      "anyOf": [
                                                        {
                                                          "format": "date-time",
                                                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                                                          "type": "string"
                                                        },
                                                        {
                                                          "type": "null"
                                                        }
                                                      ]
                                                    },
                                                    "entryPrice": {
                                                      "anyOf": [
                                                        {
                                                          "maximum": 1,
                                                          "minimum": 0,
                                                          "type": "number"
                                                        },
                                                        {
                                                          "type": "null"
                                                        }
                                                      ]
                                                    },
                                                    "lastMove": {
                                                      "anyOf": [
                                                        {
                                                          "additionalProperties": false,
                                                          "properties": {
                                                            "action": {
                                                              "enum": [
                                                                "bought",
                                                                "sold"
                                                              ],
                                                              "type": "string"
                                                            },
                                                            "at": {
                                                              "format": "date-time",
                                                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                                                              "type": "string"
                                                            },
                                                            "side": {
                                                              "enum": [
                                                                "outcome1",
                                                                "outcome2"
                                                              ],
                                                              "type": "string"
                                                            }
                                                          },
                                                          "required": [
                                                            "action",
                                                            "side",
                                                            "at"
                                                          ],
                                                          "type": "object"
                                                        },
                                                        {
                                                          "type": "null"
                                                        }
                                                      ]
                                                    },
                                                    "name": {
                                                      "type": "string"
                                                    },
                                                    "rank": {
                                                      "anyOf": [
                                                        {
                                                          "exclusiveMinimum": 0,
                                                          "maximum": 9007199254740991,
                                                          "type": "integer"
                                                        },
                                                        {
                                                          "type": "null"
                                                        }
                                                      ]
                                                    },
                                                    "shares": {
                                                      "exclusiveMinimum": 0,
                                                      "maximum": 9007199254740991,
                                                      "type": "integer"
                                                    },
                                                    "side": {
                                                      "enum": [
                                                        "outcome1",
                                                        "outcome2"
                                                      ],
                                                      "type": "string"
                                                    },
                                                    "smartMoneyTier": {
                                                      "anyOf": [
                                                        {
                                                          "const": 1,
                                                          "type": "number"
                                                        },
                                                        {
                                                          "const": 2,
                                                          "type": "number"
                                                        },
                                                        {
                                                          "const": 3,
                                                          "type": "number"
                                                        }
                                                      ]
                                                    },
                                                    "wallet": {
                                                      "pattern": "^0x[0-9a-f]{40}$",
                                                      "type": "string"
                                                    }
                                                  },
                                                  "required": [
                                                    "name",
                                                    "wallet",
                                                    "side",
                                                    "shares",
                                                    "lastMove"
                                                  ],
                                                  "type": "object"
                                                },
                                                "type": "array"
                                              },
                                              "outcome1": {
                                                "maximum": 9007199254740991,
                                                "minimum": 0,
                                                "type": "integer"
                                              },
                                              "outcome2": {
                                                "maximum": 9007199254740991,
                                                "minimum": 0,
                                                "type": "integer"
                                              }
                                            },
                                            "required": [
                                              "list",
                                              "listSize",
                                              "holding",
                                              "outcome1",
                                              "outcome2"
                                            ],
                                            "type": "object"
                                          },
                                          {
                                            "type": "null"
                                          }
                                        ]
                                      }
                                    },
                                    "required": [
                                      "top",
                                      "profitable",
                                      "asOf"
                                    ],
                                    "type": "object"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "watchNext": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              }
                            },
                            "required": [
                              "market",
                              "facts",
                              "watchNext",
                              "headlines",
                              "analysts",
                              "topTraders",
                              "researchedAt"
                            ],
                            "type": "object"
                          },
                          "type": "array"
                        },
                        "meta": {
                          "additionalProperties": false,
                          "properties": {
                            "affiliation": {
                              "const": "Kellian is not affiliated with Polymarket.",
                              "type": "string"
                            },
                            "asOf": {
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                              "type": "string"
                            },
                            "count": {
                              "maximum": 9007199254740991,
                              "minimum": 0,
                              "type": "integer"
                            },
                            "limits": {
                              "additionalProperties": false,
                              "properties": {
                                "analysts": {
                                  "enum": [
                                    "average only",
                                    "every analyst with reasons"
                                  ],
                                  "type": "string"
                                },
                                "callsLeftToday": {
                                  "maximum": 9007199254740991,
                                  "minimum": 0,
                                  "type": "integer"
                                },
                                "callsPerDay": {
                                  "maximum": 9007199254740991,
                                  "minimum": 0,
                                  "type": "integer"
                                },
                                "changeFeed": {
                                  "type": "boolean"
                                },
                                "headlinesPerMarket": {
                                  "maximum": 9007199254740991,
                                  "minimum": 0,
                                  "type": "integer"
                                },
                                "marketsPerCall": {
                                  "maximum": 9007199254740991,
                                  "minimum": 0,
                                  "type": "integer"
                                },
                                "topTraders": {
                                  "enum": [
                                    "counts only",
                                    "names, sides and moves"
                                  ],
                                  "type": "string"
                                }
                              },
                              "required": [
                                "marketsPerCall",
                                "callsPerDay",
                                "callsLeftToday",
                                "headlinesPerMarket",
                                "analysts",
                                "topTraders",
                                "changeFeed"
                              ],
                              "type": "object"
                            },
                            "locked": {
                              "additionalProperties": false,
                              "properties": {
                                "analystViews": {
                                  "maximum": 9007199254740991,
                                  "minimum": 0,
                                  "type": "integer"
                                },
                                "changes": {
                                  "maximum": 9007199254740991,
                                  "minimum": 0,
                                  "type": "integer"
                                },
                                "headlines": {
                                  "maximum": 9007199254740991,
                                  "minimum": 0,
                                  "type": "integer"
                                },
                                "markets": {
                                  "maximum": 9007199254740991,
                                  "minimum": 0,
                                  "type": "integer"
                                },
                                "traderMembers": {
                                  "maximum": 9007199254740991,
                                  "minimum": 0,
                                  "type": "integer"
                                }
                              },
                              "required": [
                                "markets",
                                "headlines",
                                "analystViews",
                                "traderMembers",
                                "changes"
                              ],
                              "type": "object"
                            },
                            "notice": {
                              "const": "Research, not financial advice.",
                              "type": "string"
                            },
                            "plan": {
                              "enum": [
                                "free_preview",
                                "plus",
                                "api_pro"
                              ],
                              "type": "string"
                            },
                            "preview": {
                              "type": "boolean"
                            },
                            "requested": {
                              "anyOf": [
                                {
                                  "maximum": 9007199254740991,
                                  "minimum": 0,
                                  "type": "integer"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "sameAsSite": {
                              "const": "Built from the reads kellian.app serves; the numbers match the market pages.",
                              "type": "string"
                            },
                            "upgrade": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "withheld": {
                              "items": {
                                "pattern": "^(?:[a-z][a-z0-9-]{0,31}:)?0x[0-9a-fA-F]{40}$",
                                "type": "string"
                              },
                              "type": "array"
                            }
                          },
                          "required": [
                            "asOf",
                            "plan",
                            "preview",
                            "requested",
                            "count",
                            "withheld",
                            "limits",
                            "locked",
                            "upgrade",
                            "sameAsSite",
                            "notice",
                            "affiliation"
                          ],
                          "type": "object"
                        },
                        "nextCursor": {
                          "anyOf": [
                            {
                              "maxLength": 512,
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        }
                      },
                      "required": [
                        "markets",
                        "nextCursor",
                        "meta"
                      ],
                      "type": "object"
                    },
                    {
                      "additionalProperties": false,
                      "properties": {
                        "markets": {
                          "items": {
                            "additionalProperties": false,
                            "properties": {
                              "chance": {
                                "anyOf": [
                                  {
                                    "maximum": 1,
                                    "minimum": 0,
                                    "type": "number"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "closes": {
                                "anyOf": [
                                  {
                                    "format": "date-time",
                                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                                    "type": "string"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "conditionId": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "freshBuys": {
                                "anyOf": [
                                  {
                                    "items": {
                                      "maximum": 9007199254740991,
                                      "minimum": 0,
                                      "type": "integer"
                                    },
                                    "maxItems": 2,
                                    "minItems": 2,
                                    "type": "array"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "id": {
                                "pattern": "^(?:[a-z][a-z0-9-]{0,31}:)?0x[0-9a-fA-F]{40}$",
                                "type": "string"
                              },
                              "move24h": {
                                "anyOf": [
                                  {
                                    "maximum": 1,
                                    "minimum": -1,
                                    "type": "number"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "question": {
                                "type": "string"
                              },
                              "smartMoney": {
                                "anyOf": [
                                  {
                                    "additionalProperties": false,
                                    "properties": {
                                      "tier1": {
                                        "items": {
                                          "maximum": 9007199254740991,
                                          "minimum": 0,
                                          "type": "integer"
                                        },
                                        "maxItems": 2,
                                        "minItems": 2,
                                        "type": "array"
                                      },
                                      "tier2": {
                                        "items": {
                                          "maximum": 9007199254740991,
                                          "minimum": 0,
                                          "type": "integer"
                                        },
                                        "maxItems": 2,
                                        "minItems": 2,
                                        "type": "array"
                                      },
                                      "tier3": {
                                        "items": {
                                          "maximum": 9007199254740991,
                                          "minimum": 0,
                                          "type": "integer"
                                        },
                                        "maxItems": 2,
                                        "minItems": 2,
                                        "type": "array"
                                      }
                                    },
                                    "required": [
                                      "tier1",
                                      "tier2",
                                      "tier3"
                                    ],
                                    "type": "object"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              }
                            },
                            "required": [
                              "id",
                              "question",
                              "chance",
                              "move24h",
                              "conditionId",
                              "smartMoney",
                              "freshBuys",
                              "closes"
                            ],
                            "type": "object"
                          },
                          "type": "array"
                        },
                        "meta": {
                          "additionalProperties": false,
                          "properties": {
                            "asOf": {
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                              "type": "string"
                            },
                            "callsLeftToday": {
                              "maximum": 9007199254740991,
                              "minimum": 0,
                              "type": "integer"
                            },
                            "count": {
                              "maximum": 9007199254740991,
                              "minimum": 0,
                              "type": "integer"
                            },
                            "locked": {
                              "maximum": 9007199254740991,
                              "minimum": 0,
                              "type": "integer"
                            },
                            "plan": {
                              "enum": [
                                "free_preview",
                                "plus",
                                "api_pro"
                              ],
                              "type": "string"
                            },
                            "preview": {
                              "type": "boolean"
                            },
                            "requested": {
                              "anyOf": [
                                {
                                  "maximum": 9007199254740991,
                                  "minimum": 0,
                                  "type": "integer"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "withheld": {
                              "items": {
                                "pattern": "^(?:[a-z][a-z0-9-]{0,31}:)?0x[0-9a-fA-F]{40}$",
                                "type": "string"
                              },
                              "type": "array"
                            }
                          },
                          "required": [
                            "asOf",
                            "plan",
                            "preview",
                            "count",
                            "callsLeftToday",
                            "requested",
                            "withheld",
                            "locked"
                          ],
                          "type": "object"
                        },
                        "nextCursor": {
                          "anyOf": [
                            {
                              "maxLength": 512,
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "view": {
                          "const": "compact",
                          "type": "string"
                        }
                      },
                      "required": [
                        "view",
                        "markets",
                        "nextCursor",
                        "meta"
                      ],
                      "type": "object"
                    }
                  ]
                }
              },
              "required": [
                "result"
              ],
              "type": "object"
            },
            "annotations": {
              "destructiveHint": false,
              "idempotentHint": true,
              "openWorldHint": true,
              "permission": "none",
              "readOnlyHint": true
            }
          },
          {
            "name": "kellian_get_context_changes",
            "title": "What changed since your last call",
            "description": "Only what changed since your last call, newest first: new headlines, AI analyst views that moved, big price moves, new and closing markets, and (API Pro) top-trader moves with their price and size. Each change comes once, in the first window after Kellian recorded it. Call again with since = the answer's until. Plus and API Pro. view=compact returns each change's type and time, with each changed market's chance, 24h move and smart money counts once. Research, not financial advice.",
            "inputSchema": {
              "properties": {
                "cursor": {
                  "maxLength": 512,
                  "type": "string"
                },
                "ids": {
                  "items": {
                    "pattern": "^(?:[a-z][a-z0-9-]{0,31}:)?0x[0-9a-fA-F]{40}$",
                    "type": "string"
                  },
                  "maxItems": 500,
                  "type": "array"
                },
                "segment": {
                  "description": "A topic, as the Traders board names it: politics, ai, economy, culture, movies, tech, weather, or a list such as ai-model-lab-rankings.",
                  "pattern": "^[a-z0-9-]{1,64}$",
                  "type": "string"
                },
                "since": {
                  "description": "Your last call's until (ISO 8601), up to 7 days back.",
                  "format": "date-time",
                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                  "type": "string"
                },
                "types": {
                  "items": {
                    "enum": [
                      "headline",
                      "analyst_view",
                      "trader_move",
                      "price_move",
                      "new_market",
                      "closing"
                    ],
                    "type": "string"
                  },
                  "type": "array"
                },
                "view": {
                  "description": "full (default): the whole record. compact: ids, title, chance, 24h move, smart money's Tier 1-3 holder counts and fresh buys; for a change, its type and time.",
                  "enum": [
                    "full",
                    "compact"
                  ],
                  "type": "string"
                }
              },
              "required": [
                "since"
              ],
              "type": "object"
            },
            "outputSchema": {
              "additionalProperties": false,
              "properties": {
                "result": {
                  "anyOf": [
                    {
                      "additionalProperties": false,
                      "properties": {
                        "changes": {
                          "items": {
                            "oneOf": [
                              {
                                "additionalProperties": false,
                                "properties": {
                                  "at": {
                                    "format": "date-time",
                                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                                    "type": "string"
                                  },
                                  "headline": {
                                    "additionalProperties": false,
                                    "properties": {
                                      "outlet": {
                                        "type": "string"
                                      },
                                      "publishedAt": {
                                        "format": "date-time",
                                        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                                        "type": "string"
                                      },
                                      "title": {
                                        "type": "string"
                                      },
                                      "url": {
                                        "format": "uri",
                                        "type": "string"
                                      }
                                    },
                                    "required": [
                                      "title",
                                      "outlet",
                                      "publishedAt",
                                      "url"
                                    ],
                                    "type": "object"
                                  },
                                  "market": {
                                    "pattern": "^(?:[a-z][a-z0-9-]{0,31}:)?0x[0-9a-fA-F]{40}$",
                                    "type": "string"
                                  },
                                  "question": {
                                    "type": "string"
                                  },
                                  "type": {
                                    "const": "headline",
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "type",
                                  "at",
                                  "market",
                                  "question",
                                  "headline"
                                ],
                                "type": "object"
                              },
                              {
                                "additionalProperties": false,
                                "properties": {
                                  "at": {
                                    "format": "date-time",
                                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                                    "type": "string"
                                  },
                                  "market": {
                                    "pattern": "^(?:[a-z][a-z0-9-]{0,31}:)?0x[0-9a-fA-F]{40}$",
                                    "type": "string"
                                  },
                                  "question": {
                                    "type": "string"
                                  },
                                  "type": {
                                    "const": "analyst_view",
                                    "type": "string"
                                  },
                                  "view": {
                                    "additionalProperties": false,
                                    "properties": {
                                      "chance": {
                                        "maximum": 1,
                                        "minimum": 0,
                                        "type": "number"
                                      },
                                      "name": {
                                        "type": "string"
                                      },
                                      "priceAtTake": {
                                        "maximum": 1,
                                        "minimum": 0,
                                        "type": "number"
                                      },
                                      "reason": {
                                        "type": [
                                          "string",
                                          "null"
                                        ]
                                      }
                                    },
                                    "required": [
                                      "name",
                                      "chance",
                                      "priceAtTake",
                                      "reason"
                                    ],
                                    "type": "object"
                                  }
                                },
                                "required": [
                                  "type",
                                  "at",
                                  "market",
                                  "question",
                                  "view"
                                ],
                                "type": "object"
                              },
                              {
                                "additionalProperties": false,
                                "properties": {
                                  "at": {
                                    "format": "date-time",
                                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                                    "type": "string"
                                  },
                                  "market": {
                                    "pattern": "^(?:[a-z][a-z0-9-]{0,31}:)?0x[0-9a-fA-F]{40}$",
                                    "type": "string"
                                  },
                                  "move": {
                                    "additionalProperties": false,
                                    "properties": {
                                      "action": {
                                        "enum": [
                                          "bought",
                                          "sold"
                                        ],
                                        "type": "string"
                                      },
                                      "name": {
                                        "type": "string"
                                      },
                                      "price": {
                                        "anyOf": [
                                          {
                                            "maximum": 1,
                                            "minimum": 0,
                                            "type": "number"
                                          },
                                          {
                                            "type": "null"
                                          }
                                        ]
                                      },
                                      "shares": {
                                        "anyOf": [
                                          {
                                            "exclusiveMinimum": 0,
                                            "type": "number"
                                          },
                                          {
                                            "type": "null"
                                          }
                                        ]
                                      },
                                      "side": {
                                        "enum": [
                                          "outcome1",
                                          "outcome2"
                                        ],
                                        "type": "string"
                                      },
                                      "smartMoneyTier": {
                                        "anyOf": [
                                          {
                                            "const": 1,
                                            "type": "number"
                                          },
                                          {
                                            "const": 2,
                                            "type": "number"
                                          },
                                          {
                                            "const": 3,
                                            "type": "number"
                                          }
                                        ]
                                      },
                                      "tier": {
                                        "enum": [
                                          "top",
                                          "profitable"
                                        ],
                                        "type": "string"
                                      },
                                      "usd": {
                                        "anyOf": [
                                          {
                                            "minimum": 0,
                                            "type": "number"
                                          },
                                          {
                                            "type": "null"
                                          }
                                        ]
                                      },
                                      "wallet": {
                                        "pattern": "^0x[0-9a-f]{40}$",
                                        "type": "string"
                                      }
                                    },
                                    "required": [
                                      "name",
                                      "wallet",
                                      "tier",
                                      "action",
                                      "side"
                                    ],
                                    "type": "object"
                                  },
                                  "question": {
                                    "type": "string"
                                  },
                                  "type": {
                                    "const": "trader_move",
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "type",
                                  "at",
                                  "market",
                                  "question",
                                  "move"
                                ],
                                "type": "object"
                              },
                              {
                                "additionalProperties": false,
                                "properties": {
                                  "at": {
                                    "format": "date-time",
                                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                                    "type": "string"
                                  },
                                  "market": {
                                    "pattern": "^(?:[a-z][a-z0-9-]{0,31}:)?0x[0-9a-fA-F]{40}$",
                                    "type": "string"
                                  },
                                  "move": {
                                    "additionalProperties": false,
                                    "properties": {
                                      "from": {
                                        "maximum": 1,
                                        "minimum": 0,
                                        "type": "number"
                                      },
                                      "over": {
                                        "enum": [
                                          "1h",
                                          "24h"
                                        ],
                                        "type": "string"
                                      },
                                      "to": {
                                        "maximum": 1,
                                        "minimum": 0,
                                        "type": "number"
                                      }
                                    },
                                    "required": [
                                      "from",
                                      "to",
                                      "over"
                                    ],
                                    "type": "object"
                                  },
                                  "question": {
                                    "type": "string"
                                  },
                                  "type": {
                                    "const": "price_move",
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "type",
                                  "at",
                                  "market",
                                  "question",
                                  "move"
                                ],
                                "type": "object"
                              },
                              {
                                "additionalProperties": false,
                                "properties": {
                                  "at": {
                                    "format": "date-time",
                                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                                    "type": "string"
                                  },
                                  "chance": {
                                    "anyOf": [
                                      {
                                        "maximum": 1,
                                        "minimum": 0,
                                        "type": "number"
                                      },
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  },
                                  "market": {
                                    "pattern": "^(?:[a-z][a-z0-9-]{0,31}:)?0x[0-9a-fA-F]{40}$",
                                    "type": "string"
                                  },
                                  "question": {
                                    "type": "string"
                                  },
                                  "type": {
                                    "const": "new_market",
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "type",
                                  "at",
                                  "market",
                                  "question",
                                  "chance"
                                ],
                                "type": "object"
                              },
                              {
                                "additionalProperties": false,
                                "properties": {
                                  "at": {
                                    "format": "date-time",
                                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                                    "type": "string"
                                  },
                                  "chance": {
                                    "anyOf": [
                                      {
                                        "maximum": 1,
                                        "minimum": 0,
                                        "type": "number"
                                      },
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  },
                                  "closes": {
                                    "format": "date-time",
                                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                                    "type": "string"
                                  },
                                  "market": {
                                    "pattern": "^(?:[a-z][a-z0-9-]{0,31}:)?0x[0-9a-fA-F]{40}$",
                                    "type": "string"
                                  },
                                  "question": {
                                    "type": "string"
                                  },
                                  "type": {
                                    "const": "closing",
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "type",
                                  "at",
                                  "market",
                                  "question",
                                  "chance",
                                  "closes"
                                ],
                                "type": "object"
                              }
                            ]
                          },
                          "maxItems": 500,
                          "type": "array"
                        },
                        "counts": {
                          "additionalProperties": false,
                          "properties": {
                            "analyst_view": {
                              "maximum": 9007199254740991,
                              "minimum": 0,
                              "type": "integer"
                            },
                            "closing": {
                              "maximum": 9007199254740991,
                              "minimum": 0,
                              "type": "integer"
                            },
                            "headline": {
                              "maximum": 9007199254740991,
                              "minimum": 0,
                              "type": "integer"
                            },
                            "new_market": {
                              "maximum": 9007199254740991,
                              "minimum": 0,
                              "type": "integer"
                            },
                            "price_move": {
                              "maximum": 9007199254740991,
                              "minimum": 0,
                              "type": "integer"
                            },
                            "trader_move": {
                              "maximum": 9007199254740991,
                              "minimum": 0,
                              "type": "integer"
                            }
                          },
                          "required": [
                            "headline",
                            "analyst_view",
                            "trader_move",
                            "price_move",
                            "new_market",
                            "closing"
                          ],
                          "type": "object"
                        },
                        "meta": {
                          "additionalProperties": false,
                          "properties": {
                            "affiliation": {
                              "const": "Kellian is not affiliated with Polymarket.",
                              "type": "string"
                            },
                            "asOf": {
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                              "type": "string"
                            },
                            "count": {
                              "maximum": 9007199254740991,
                              "minimum": 0,
                              "type": "integer"
                            },
                            "limits": {
                              "additionalProperties": false,
                              "properties": {
                                "analysts": {
                                  "enum": [
                                    "average only",
                                    "every analyst with reasons"
                                  ],
                                  "type": "string"
                                },
                                "callsLeftToday": {
                                  "maximum": 9007199254740991,
                                  "minimum": 0,
                                  "type": "integer"
                                },
                                "callsPerDay": {
                                  "maximum": 9007199254740991,
                                  "minimum": 0,
                                  "type": "integer"
                                },
                                "changeFeed": {
                                  "type": "boolean"
                                },
                                "headlinesPerMarket": {
                                  "maximum": 9007199254740991,
                                  "minimum": 0,
                                  "type": "integer"
                                },
                                "marketsPerCall": {
                                  "maximum": 9007199254740991,
                                  "minimum": 0,
                                  "type": "integer"
                                },
                                "topTraders": {
                                  "enum": [
                                    "counts only",
                                    "names, sides and moves"
                                  ],
                                  "type": "string"
                                }
                              },
                              "required": [
                                "marketsPerCall",
                                "callsPerDay",
                                "callsLeftToday",
                                "headlinesPerMarket",
                                "analysts",
                                "topTraders",
                                "changeFeed"
                              ],
                              "type": "object"
                            },
                            "locked": {
                              "additionalProperties": false,
                              "properties": {
                                "analystViews": {
                                  "maximum": 9007199254740991,
                                  "minimum": 0,
                                  "type": "integer"
                                },
                                "changes": {
                                  "maximum": 9007199254740991,
                                  "minimum": 0,
                                  "type": "integer"
                                },
                                "headlines": {
                                  "maximum": 9007199254740991,
                                  "minimum": 0,
                                  "type": "integer"
                                },
                                "markets": {
                                  "maximum": 9007199254740991,
                                  "minimum": 0,
                                  "type": "integer"
                                },
                                "traderMembers": {
                                  "maximum": 9007199254740991,
                                  "minimum": 0,
                                  "type": "integer"
                                }
                              },
                              "required": [
                                "markets",
                                "headlines",
                                "analystViews",
                                "traderMembers",
                                "changes"
                              ],
                              "type": "object"
                            },
                            "notice": {
                              "const": "Research, not financial advice.",
                              "type": "string"
                            },
                            "plan": {
                              "enum": [
                                "free_preview",
                                "plus",
                                "api_pro"
                              ],
                              "type": "string"
                            },
                            "preview": {
                              "type": "boolean"
                            },
                            "requested": {
                              "anyOf": [
                                {
                                  "maximum": 9007199254740991,
                                  "minimum": 0,
                                  "type": "integer"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "sameAsSite": {
                              "const": "Built from the reads kellian.app serves; the numbers match the market pages.",
                              "type": "string"
                            },
                            "upgrade": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "withheld": {
                              "items": {
                                "pattern": "^(?:[a-z][a-z0-9-]{0,31}:)?0x[0-9a-fA-F]{40}$",
                                "type": "string"
                              },
                              "type": "array"
                            }
                          },
                          "required": [
                            "asOf",
                            "plan",
                            "preview",
                            "requested",
                            "count",
                            "withheld",
                            "limits",
                            "locked",
                            "upgrade",
                            "sameAsSite",
                            "notice",
                            "affiliation"
                          ],
                          "type": "object"
                        },
                        "next": {
                          "type": "string"
                        },
                        "nextCursor": {
                          "anyOf": [
                            {
                              "maxLength": 512,
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "since": {
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                          "type": "string"
                        },
                        "until": {
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                          "type": "string"
                        }
                      },
                      "required": [
                        "since",
                        "until",
                        "changes",
                        "counts",
                        "next",
                        "nextCursor",
                        "meta"
                      ],
                      "type": "object"
                    },
                    {
                      "additionalProperties": false,
                      "properties": {
                        "changes": {
                          "items": {
                            "oneOf": [
                              {
                                "additionalProperties": false,
                                "properties": {
                                  "at": {
                                    "format": "date-time",
                                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                                    "type": "string"
                                  },
                                  "market": {
                                    "pattern": "^(?:[a-z][a-z0-9-]{0,31}:)?0x[0-9a-fA-F]{40}$",
                                    "type": "string"
                                  },
                                  "type": {
                                    "const": "headline",
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "type",
                                  "at",
                                  "market"
                                ],
                                "type": "object"
                              },
                              {
                                "additionalProperties": false,
                                "properties": {
                                  "at": {
                                    "format": "date-time",
                                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                                    "type": "string"
                                  },
                                  "chance": {
                                    "maximum": 1,
                                    "minimum": 0,
                                    "type": "number"
                                  },
                                  "market": {
                                    "pattern": "^(?:[a-z][a-z0-9-]{0,31}:)?0x[0-9a-fA-F]{40}$",
                                    "type": "string"
                                  },
                                  "type": {
                                    "const": "analyst_view",
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "type",
                                  "at",
                                  "market",
                                  "chance"
                                ],
                                "type": "object"
                              },
                              {
                                "additionalProperties": false,
                                "properties": {
                                  "action": {
                                    "enum": [
                                      "bought",
                                      "sold"
                                    ],
                                    "type": "string"
                                  },
                                  "at": {
                                    "format": "date-time",
                                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                                    "type": "string"
                                  },
                                  "market": {
                                    "pattern": "^(?:[a-z][a-z0-9-]{0,31}:)?0x[0-9a-fA-F]{40}$",
                                    "type": "string"
                                  },
                                  "side": {
                                    "enum": [
                                      "outcome1",
                                      "outcome2"
                                    ],
                                    "type": "string"
                                  },
                                  "tier": {
                                    "anyOf": [
                                      {
                                        "const": 1,
                                        "type": "number"
                                      },
                                      {
                                        "const": 2,
                                        "type": "number"
                                      },
                                      {
                                        "const": 3,
                                        "type": "number"
                                      }
                                    ]
                                  },
                                  "type": {
                                    "const": "trader_move",
                                    "type": "string"
                                  },
                                  "usd": {
                                    "anyOf": [
                                      {
                                        "minimum": 0,
                                        "type": "number"
                                      },
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  }
                                },
                                "required": [
                                  "type",
                                  "at",
                                  "market",
                                  "action",
                                  "side",
                                  "tier",
                                  "usd"
                                ],
                                "type": "object"
                              },
                              {
                                "additionalProperties": false,
                                "properties": {
                                  "at": {
                                    "format": "date-time",
                                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                                    "type": "string"
                                  },
                                  "from": {
                                    "maximum": 1,
                                    "minimum": 0,
                                    "type": "number"
                                  },
                                  "market": {
                                    "pattern": "^(?:[a-z][a-z0-9-]{0,31}:)?0x[0-9a-fA-F]{40}$",
                                    "type": "string"
                                  },
                                  "over": {
                                    "enum": [
                                      "1h",
                                      "24h"
                                    ],
                                    "type": "string"
                                  },
                                  "to": {
                                    "maximum": 1,
                                    "minimum": 0,
                                    "type": "number"
                                  },
                                  "type": {
                                    "const": "price_move",
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "type",
                                  "at",
                                  "market",
                                  "from",
                                  "to",
                                  "over"
                                ],
                                "type": "object"
                              },
                              {
                                "additionalProperties": false,
                                "properties": {
                                  "at": {
                                    "format": "date-time",
                                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                                    "type": "string"
                                  },
                                  "market": {
                                    "pattern": "^(?:[a-z][a-z0-9-]{0,31}:)?0x[0-9a-fA-F]{40}$",
                                    "type": "string"
                                  },
                                  "type": {
                                    "const": "new_market",
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "type",
                                  "at",
                                  "market"
                                ],
                                "type": "object"
                              },
                              {
                                "additionalProperties": false,
                                "properties": {
                                  "at": {
                                    "format": "date-time",
                                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                                    "type": "string"
                                  },
                                  "closes": {
                                    "format": "date-time",
                                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                                    "type": "string"
                                  },
                                  "market": {
                                    "pattern": "^(?:[a-z][a-z0-9-]{0,31}:)?0x[0-9a-fA-F]{40}$",
                                    "type": "string"
                                  },
                                  "type": {
                                    "const": "closing",
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "type",
                                  "at",
                                  "market",
                                  "closes"
                                ],
                                "type": "object"
                              }
                            ]
                          },
                          "maxItems": 150,
                          "type": "array"
                        },
                        "counts": {
                          "additionalProperties": false,
                          "properties": {
                            "analyst_view": {
                              "maximum": 9007199254740991,
                              "minimum": 0,
                              "type": "integer"
                            },
                            "closing": {
                              "maximum": 9007199254740991,
                              "minimum": 0,
                              "type": "integer"
                            },
                            "headline": {
                              "maximum": 9007199254740991,
                              "minimum": 0,
                              "type": "integer"
                            },
                            "new_market": {
                              "maximum": 9007199254740991,
                              "minimum": 0,
                              "type": "integer"
                            },
                            "price_move": {
                              "maximum": 9007199254740991,
                              "minimum": 0,
                              "type": "integer"
                            },
                            "trader_move": {
                              "maximum": 9007199254740991,
                              "minimum": 0,
                              "type": "integer"
                            }
                          },
                          "required": [
                            "headline",
                            "analyst_view",
                            "trader_move",
                            "price_move",
                            "new_market",
                            "closing"
                          ],
                          "type": "object"
                        },
                        "markets": {
                          "additionalProperties": {
                            "additionalProperties": false,
                            "properties": {
                              "chance": {
                                "anyOf": [
                                  {
                                    "maximum": 1,
                                    "minimum": 0,
                                    "type": "number"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "conditionId": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "freshBuys": {
                                "anyOf": [
                                  {
                                    "items": {
                                      "maximum": 9007199254740991,
                                      "minimum": 0,
                                      "type": "integer"
                                    },
                                    "maxItems": 2,
                                    "minItems": 2,
                                    "type": "array"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "move24h": {
                                "anyOf": [
                                  {
                                    "maximum": 1,
                                    "minimum": -1,
                                    "type": "number"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "question": {
                                "type": "string"
                              },
                              "smartMoney": {
                                "anyOf": [
                                  {
                                    "additionalProperties": false,
                                    "properties": {
                                      "tier1": {
                                        "items": {
                                          "maximum": 9007199254740991,
                                          "minimum": 0,
                                          "type": "integer"
                                        },
                                        "maxItems": 2,
                                        "minItems": 2,
                                        "type": "array"
                                      },
                                      "tier2": {
                                        "items": {
                                          "maximum": 9007199254740991,
                                          "minimum": 0,
                                          "type": "integer"
                                        },
                                        "maxItems": 2,
                                        "minItems": 2,
                                        "type": "array"
                                      },
                                      "tier3": {
                                        "items": {
                                          "maximum": 9007199254740991,
                                          "minimum": 0,
                                          "type": "integer"
                                        },
                                        "maxItems": 2,
                                        "minItems": 2,
                                        "type": "array"
                                      }
                                    },
                                    "required": [
                                      "tier1",
                                      "tier2",
                                      "tier3"
                                    ],
                                    "type": "object"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              }
                            },
                            "required": [
                              "question",
                              "chance",
                              "move24h",
                              "conditionId",
                              "smartMoney",
                              "freshBuys"
                            ],
                            "type": "object"
                          },
                          "propertyNames": {
                            "pattern": "^(?:[a-z][a-z0-9-]{0,31}:)?0x[0-9a-fA-F]{40}$",
                            "type": "string"
                          },
                          "type": "object"
                        },
                        "meta": {
                          "additionalProperties": false,
                          "properties": {
                            "asOf": {
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                              "type": "string"
                            },
                            "callsLeftToday": {
                              "maximum": 9007199254740991,
                              "minimum": 0,
                              "type": "integer"
                            },
                            "count": {
                              "maximum": 9007199254740991,
                              "minimum": 0,
                              "type": "integer"
                            },
                            "locked": {
                              "maximum": 9007199254740991,
                              "minimum": 0,
                              "type": "integer"
                            },
                            "plan": {
                              "enum": [
                                "free_preview",
                                "plus",
                                "api_pro"
                              ],
                              "type": "string"
                            },
                            "preview": {
                              "type": "boolean"
                            },
                            "requested": {
                              "anyOf": [
                                {
                                  "maximum": 9007199254740991,
                                  "minimum": 0,
                                  "type": "integer"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "withheld": {
                              "items": {
                                "pattern": "^(?:[a-z][a-z0-9-]{0,31}:)?0x[0-9a-fA-F]{40}$",
                                "type": "string"
                              },
                              "type": "array"
                            }
                          },
                          "required": [
                            "asOf",
                            "plan",
                            "preview",
                            "count",
                            "callsLeftToday",
                            "requested",
                            "withheld",
                            "locked"
                          ],
                          "type": "object"
                        },
                        "next": {
                          "type": "string"
                        },
                        "nextCursor": {
                          "anyOf": [
                            {
                              "maxLength": 512,
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "since": {
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                          "type": "string"
                        },
                        "until": {
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                          "type": "string"
                        },
                        "view": {
                          "const": "compact",
                          "type": "string"
                        }
                      },
                      "required": [
                        "view",
                        "since",
                        "until",
                        "changes",
                        "markets",
                        "counts",
                        "next",
                        "nextCursor",
                        "meta"
                      ],
                      "type": "object"
                    }
                  ]
                }
              },
              "required": [
                "result"
              ],
              "type": "object"
            },
            "annotations": {
              "destructiveHint": false,
              "idempotentHint": true,
              "openWorldHint": true,
              "permission": "none",
              "readOnlyHint": true
            }
          },
          {
            "name": "kellian_get_smart_money",
            "title": "Who holds and who moved on a Polymarket question, by smart money tier",
            "description": "Use this when someone asks who is buying or selling a prediction-market question, who holds it, or what smart money did. Smart money on a Polymarket question (its slug, event id or link) or one option (condition id): per open option, how many Tier 1-3 traders hold each side (Tier 1 = the topic's top 10 by profit, Tier 2 = the rest of its top list, Tier 3 = its next profitable traders), the best-ranked by name, and the last 24 hours of their trades from $1,000, counted by trader with the net side. Free: counts, and the moves a day late with no names. Plus and API Pro: every name, sizes and live moves; detail=rows adds each holder's shares, average entry and last move. Or a `topic`'s Tier 1-3 list by profit (Free: 10 rows; Plus: 100). Information, not a signal. Past performance is not indicative of future results.",
            "inputSchema": {
              "properties": {
                "detail": {
                  "description": "'rows': on Plus and API Pro, also each holder's shares, average entry and last move, and each move's shares. Free: ignored.",
                  "enum": [
                    "rows"
                  ],
                  "type": "string"
                },
                "option": {
                  "description": "One option instead: its condition id (0x…). Name the question or the option, not both.",
                  "pattern": "^0x[0-9a-fA-F]{64}$",
                  "type": "string"
                },
                "question": {
                  "description": "A covered question: its slug or event id, or its Kellian or Polymarket link.",
                  "maxLength": 2048,
                  "minLength": 1,
                  "type": "string"
                },
                "topic": {
                  "description": "Or a topic (\"Movies · box office\"), its slug or a word.",
                  "maxLength": 80,
                  "minLength": 1,
                  "type": "string"
                }
              },
              "type": "object"
            },
            "outputSchema": {
              "additionalProperties": false,
              "properties": {
                "result": {
                  "anyOf": [
                    {
                      "additionalProperties": false,
                      "properties": {
                        "live": {
                          "type": "boolean"
                        },
                        "moves": {
                          "items": {
                            "additionalProperties": false,
                            "properties": {
                              "action": {
                                "enum": [
                                  "bought",
                                  "sold"
                                ],
                                "type": "string"
                              },
                              "at": {
                                "format": "date-time",
                                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                                "type": "string"
                              },
                              "conditionId": {
                                "type": "string"
                              },
                              "price": {
                                "anyOf": [
                                  {
                                    "maximum": 1,
                                    "minimum": 0,
                                    "type": "number"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "shares": {
                                "exclusiveMinimum": 0,
                                "type": "number"
                              },
                              "side": {
                                "enum": [
                                  "outcome1",
                                  "outcome2"
                                ],
                                "type": "string"
                              },
                              "tier": {
                                "anyOf": [
                                  {
                                    "const": 1,
                                    "type": "number"
                                  },
                                  {
                                    "const": 2,
                                    "type": "number"
                                  },
                                  {
                                    "const": 3,
                                    "type": "number"
                                  }
                                ]
                              },
                              "trader": {
                                "anyOf": [
                                  {
                                    "additionalProperties": false,
                                    "properties": {
                                      "name": {
                                        "type": "string"
                                      },
                                      "wallet": {
                                        "type": "string"
                                      }
                                    },
                                    "required": [
                                      "name",
                                      "wallet"
                                    ],
                                    "type": "object"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "usd": {
                                "anyOf": [
                                  {
                                    "minimum": 0,
                                    "type": "number"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              }
                            },
                            "required": [
                              "at",
                              "conditionId",
                              "tier",
                              "action",
                              "side",
                              "trader",
                              "usd",
                              "price"
                            ],
                            "type": "object"
                          },
                          "maxItems": 25,
                          "type": "array"
                        },
                        "notice": {
                          "const": "Past performance is not indicative of future results.",
                          "type": "string"
                        },
                        "options": {
                          "items": {
                            "additionalProperties": false,
                            "properties": {
                              "chance": {
                                "anyOf": [
                                  {
                                    "maximum": 1,
                                    "minimum": 0,
                                    "type": "number"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "conditionId": {
                                "minLength": 1,
                                "type": "string"
                              },
                              "flow": {
                                "additionalProperties": false,
                                "properties": {
                                  "bought": {
                                    "items": {
                                      "maximum": 9007199254740991,
                                      "minimum": 0,
                                      "type": "integer"
                                    },
                                    "maxItems": 2,
                                    "minItems": 2,
                                    "type": "array"
                                  },
                                  "net": {
                                    "anyOf": [
                                      {
                                        "enum": [
                                          "outcome1",
                                          "outcome2"
                                        ],
                                        "type": "string"
                                      },
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  },
                                  "sold": {
                                    "items": {
                                      "maximum": 9007199254740991,
                                      "minimum": 0,
                                      "type": "integer"
                                    },
                                    "maxItems": 2,
                                    "minItems": 2,
                                    "type": "array"
                                  },
                                  "traders": {
                                    "maximum": 9007199254740991,
                                    "minimum": 0,
                                    "type": "integer"
                                  },
                                  "usd": {
                                    "anyOf": [
                                      {
                                        "additionalProperties": false,
                                        "properties": {
                                          "bought": {
                                            "items": {
                                              "minimum": 0,
                                              "type": "number"
                                            },
                                            "maxItems": 2,
                                            "minItems": 2,
                                            "type": "array"
                                          },
                                          "sold": {
                                            "items": {
                                              "minimum": 0,
                                              "type": "number"
                                            },
                                            "maxItems": 2,
                                            "minItems": 2,
                                            "type": "array"
                                          }
                                        },
                                        "required": [
                                          "bought",
                                          "sold"
                                        ],
                                        "type": "object"
                                      },
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  }
                                },
                                "required": [
                                  "traders",
                                  "bought",
                                  "sold",
                                  "net",
                                  "usd"
                                ],
                                "type": "object"
                              },
                              "holders": {
                                "anyOf": [
                                  {
                                    "additionalProperties": false,
                                    "properties": {
                                      "asOf": {
                                        "format": "date-time",
                                        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                                        "type": "string"
                                      },
                                      "names": {
                                        "additionalProperties": false,
                                        "properties": {
                                          "outcome1": {
                                            "items": {
                                              "additionalProperties": false,
                                              "properties": {
                                                "name": {
                                                  "type": "string"
                                                },
                                                "rank": {
                                                  "exclusiveMinimum": 0,
                                                  "maximum": 9007199254740991,
                                                  "type": "integer"
                                                },
                                                "tier": {
                                                  "anyOf": [
                                                    {
                                                      "const": 1,
                                                      "type": "number"
                                                    },
                                                    {
                                                      "const": 2,
                                                      "type": "number"
                                                    },
                                                    {
                                                      "const": 3,
                                                      "type": "number"
                                                    }
                                                  ]
                                                },
                                                "wallet": {
                                                  "pattern": "^0x[0-9a-f]{40}$",
                                                  "type": "string"
                                                }
                                              },
                                              "required": [
                                                "wallet",
                                                "name",
                                                "tier"
                                              ],
                                              "type": "object"
                                            },
                                            "type": "array"
                                          },
                                          "outcome2": {
                                            "items": {
                                              "additionalProperties": false,
                                              "properties": {
                                                "name": {
                                                  "type": "string"
                                                },
                                                "rank": {
                                                  "exclusiveMinimum": 0,
                                                  "maximum": 9007199254740991,
                                                  "type": "integer"
                                                },
                                                "tier": {
                                                  "anyOf": [
                                                    {
                                                      "const": 1,
                                                      "type": "number"
                                                    },
                                                    {
                                                      "const": 2,
                                                      "type": "number"
                                                    },
                                                    {
                                                      "const": 3,
                                                      "type": "number"
                                                    }
                                                  ]
                                                },
                                                "wallet": {
                                                  "pattern": "^0x[0-9a-f]{40}$",
                                                  "type": "string"
                                                }
                                              },
                                              "required": [
                                                "wallet",
                                                "name",
                                                "tier"
                                              ],
                                              "type": "object"
                                            },
                                            "type": "array"
                                          }
                                        },
                                        "required": [
                                          "outcome1",
                                          "outcome2"
                                        ],
                                        "type": "object"
                                      },
                                      "tier1": {
                                        "items": {
                                          "maximum": 9007199254740991,
                                          "minimum": 0,
                                          "type": "integer"
                                        },
                                        "maxItems": 2,
                                        "minItems": 2,
                                        "type": "array"
                                      },
                                      "tier2": {
                                        "items": {
                                          "maximum": 9007199254740991,
                                          "minimum": 0,
                                          "type": "integer"
                                        },
                                        "maxItems": 2,
                                        "minItems": 2,
                                        "type": "array"
                                      },
                                      "tier3": {
                                        "items": {
                                          "maximum": 9007199254740991,
                                          "minimum": 0,
                                          "type": "integer"
                                        },
                                        "maxItems": 2,
                                        "minItems": 2,
                                        "type": "array"
                                      }
                                    },
                                    "required": [
                                      "tier1",
                                      "tier2",
                                      "tier3",
                                      "names",
                                      "asOf"
                                    ],
                                    "type": "object"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "label": {
                                "type": "string"
                              },
                              "outcomes": {
                                "items": {
                                  "type": "string"
                                },
                                "maxItems": 2,
                                "minItems": 2,
                                "type": "array"
                              },
                              "rows": {
                                "items": {
                                  "additionalProperties": false,
                                  "properties": {
                                    "entryAt": {
                                      "anyOf": [
                                        {
                                          "format": "date-time",
                                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                                          "type": "string"
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    },
                                    "entryPrice": {
                                      "anyOf": [
                                        {
                                          "maximum": 1,
                                          "minimum": 0,
                                          "type": "number"
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    },
                                    "lastMove": {
                                      "anyOf": [
                                        {
                                          "additionalProperties": false,
                                          "properties": {
                                            "action": {
                                              "enum": [
                                                "bought",
                                                "sold"
                                              ],
                                              "type": "string"
                                            },
                                            "at": {
                                              "format": "date-time",
                                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                                              "type": "string"
                                            },
                                            "side": {
                                              "enum": [
                                                "outcome1",
                                                "outcome2"
                                              ],
                                              "type": "string"
                                            }
                                          },
                                          "required": [
                                            "action",
                                            "side",
                                            "at"
                                          ],
                                          "type": "object"
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    },
                                    "name": {
                                      "type": "string"
                                    },
                                    "rank": {
                                      "exclusiveMinimum": 0,
                                      "maximum": 9007199254740991,
                                      "type": "integer"
                                    },
                                    "shares": {
                                      "exclusiveMinimum": 0,
                                      "maximum": 9007199254740991,
                                      "type": "integer"
                                    },
                                    "side": {
                                      "enum": [
                                        "outcome1",
                                        "outcome2"
                                      ],
                                      "type": "string"
                                    },
                                    "tier": {
                                      "anyOf": [
                                        {
                                          "const": 1,
                                          "type": "number"
                                        },
                                        {
                                          "const": 2,
                                          "type": "number"
                                        },
                                        {
                                          "const": 3,
                                          "type": "number"
                                        }
                                      ]
                                    },
                                    "wallet": {
                                      "type": "string"
                                    }
                                  },
                                  "required": [
                                    "wallet",
                                    "name",
                                    "tier",
                                    "side",
                                    "shares",
                                    "entryPrice",
                                    "entryAt",
                                    "lastMove"
                                  ],
                                  "type": "object"
                                },
                                "type": "array"
                              }
                            },
                            "required": [
                              "conditionId",
                              "label",
                              "outcomes",
                              "chance",
                              "holders",
                              "flow"
                            ],
                            "type": "object"
                          },
                          "type": "array"
                        },
                        "plan": {
                          "enum": [
                            "free_preview",
                            "plus",
                            "api_pro"
                          ],
                          "type": "string"
                        },
                        "question": {
                          "additionalProperties": false,
                          "properties": {
                            "eventId": {
                              "type": "string"
                            },
                            "polymarket": {
                              "format": "uri",
                              "type": "string"
                            },
                            "slug": {
                              "type": "string"
                            },
                            "title": {
                              "type": "string"
                            },
                            "url": {
                              "format": "uri",
                              "type": "string"
                            }
                          },
                          "required": [
                            "eventId",
                            "slug",
                            "title",
                            "url",
                            "polymarket"
                          ],
                          "type": "object"
                        },
                        "quietOptions": {
                          "maximum": 9007199254740991,
                          "minimum": 0,
                          "type": "integer"
                        },
                        "unreadOptions": {
                          "maximum": 9007199254740991,
                          "minimum": 0,
                          "type": "integer"
                        },
                        "window": {
                          "additionalProperties": false,
                          "properties": {
                            "from": {
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                              "type": "string"
                            },
                            "until": {
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                              "type": "string"
                            }
                          },
                          "required": [
                            "from",
                            "until"
                          ],
                          "type": "object"
                        }
                      },
                      "required": [
                        "question",
                        "live",
                        "window",
                        "options",
                        "quietOptions",
                        "unreadOptions",
                        "moves",
                        "plan",
                        "notice"
                      ],
                      "type": "object"
                    },
                    {
                      "additionalProperties": false,
                      "properties": {
                        "notice": {
                          "const": "Past performance is not indicative of future results.",
                          "type": "string"
                        },
                        "plan": {
                          "enum": [
                            "free_preview",
                            "plus",
                            "api_pro"
                          ],
                          "type": "string"
                        },
                        "tiers": {
                          "additionalProperties": false,
                          "properties": {
                            "tier1": {
                              "maximum": 9007199254740991,
                              "minimum": 0,
                              "type": "integer"
                            },
                            "tier2": {
                              "maximum": 9007199254740991,
                              "minimum": 0,
                              "type": "integer"
                            },
                            "tier3": {
                              "maximum": 9007199254740991,
                              "minimum": 0,
                              "type": "integer"
                            }
                          },
                          "required": [
                            "tier1",
                            "tier2",
                            "tier3"
                          ],
                          "type": "object"
                        },
                        "topic": {
                          "type": "string"
                        },
                        "traders": {
                          "items": {
                            "additionalProperties": false,
                            "properties": {
                              "name": {
                                "type": "string"
                              },
                              "profitUsd": {
                                "type": "number"
                              },
                              "rank": {
                                "exclusiveMinimum": 0,
                                "maximum": 9007199254740991,
                                "type": "integer"
                              },
                              "tier": {
                                "anyOf": [
                                  {
                                    "const": 1,
                                    "type": "number"
                                  },
                                  {
                                    "const": 2,
                                    "type": "number"
                                  },
                                  {
                                    "const": 3,
                                    "type": "number"
                                  }
                                ]
                              },
                              "traderReference": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "name",
                              "traderReference",
                              "rank",
                              "tier",
                              "profitUsd"
                            ],
                            "type": "object"
                          },
                          "type": "array"
                        },
                        "url": {
                          "format": "uri",
                          "type": "string"
                        },
                        "window": {
                          "additionalProperties": false,
                          "properties": {
                            "days": {
                              "maximum": 9007199254740991,
                              "minimum": 0,
                              "type": "integer"
                            },
                            "from": {
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                              "type": "string"
                            }
                          },
                          "required": [
                            "from",
                            "days"
                          ],
                          "type": "object"
                        }
                      },
                      "required": [
                        "topic",
                        "url",
                        "window",
                        "tiers",
                        "traders",
                        "plan",
                        "notice"
                      ],
                      "type": "object"
                    }
                  ]
                }
              },
              "required": [
                "result"
              ],
              "type": "object"
            },
            "annotations": {
              "destructiveHint": false,
              "idempotentHint": true,
              "openWorldHint": true,
              "permission": "none",
              "readOnlyHint": true
            }
          },
          {
            "name": "kellian_post_comment",
            "title": "Post a comment on a market, as this agent",
            "description": "Post a public comment on a market as this agent: your note on why you traded or how your view changed. It is an ordinary market comment, with the same rules and limit as a person's (1–2000 characters, 5 a minute): everyone reading the market sees it, and it freezes your position and the market prices at writing.",
            "inputSchema": {
              "$defs": {
                "EvmAddress": {
                  "description": "Checksummed or lowercase 20-byte EVM address (0x + 40 hex).",
                  "pattern": "^0x[a-fA-F0-9]{40}$",
                  "type": "string"
                }
              },
              "properties": {
                "address": {
                  "$ref": "#/$defs/EvmAddress",
                  "description": "Market contract address."
                },
                "content": {
                  "description": "The note, as plain text (1–2000 characters). Links may be written inline.",
                  "maxLength": 2000,
                  "minLength": 1,
                  "type": "string"
                },
                "idempotencyKey": {
                  "description": "Stable retry key. Reuse only with byte-equivalent tool arguments.",
                  "maxLength": 256,
                  "minLength": 1,
                  "type": "string"
                },
                "parentId": {
                  "description": "Reply to this comment instead of starting a new thread.",
                  "format": "uuid",
                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                  "type": "string"
                }
              },
              "required": [
                "address",
                "content",
                "idempotencyKey"
              ],
              "type": "object"
            },
            "outputSchema": {
              "$defs": {
                "AgentPostedComment": {
                  "additionalProperties": false,
                  "properties": {
                    "chainId": {
                      "exclusiveMinimum": 0,
                      "maximum": 9007199254740991,
                      "type": "integer"
                    },
                    "content": {
                      "type": "string"
                    },
                    "createdAt": {
                      "format": "date-time",
                      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                      "type": "string"
                    },
                    "id": {
                      "type": "string"
                    },
                    "marketAddress": {
                      "$ref": "#/$defs/EvmAddress"
                    },
                    "parentId": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "positionSnapshot": {
                      "anyOf": [
                        {
                          "additionalProperties": false,
                          "properties": {
                            "avgEntry": {
                              "additionalProperties": false,
                              "properties": {
                                "outcome1": {
                                  "type": [
                                    "number",
                                    "null"
                                  ]
                                },
                                "outcome2": {
                                  "type": [
                                    "number",
                                    "null"
                                  ]
                                },
                                "outcome3": {
                                  "type": [
                                    "number",
                                    "null"
                                  ]
                                }
                              },
                              "required": [
                                "outcome1",
                                "outcome2"
                              ],
                              "type": "object"
                            },
                            "capturedAt": {
                              "maximum": 9007199254740991,
                              "minimum": 0,
                              "type": "integer"
                            },
                            "collateralDecimals": {
                              "maximum": 36,
                              "minimum": 0,
                              "type": "integer"
                            },
                            "outcome1Shares": {
                              "$ref": "#/$defs/WeiString"
                            },
                            "outcome2Shares": {
                              "$ref": "#/$defs/WeiString"
                            },
                            "outcome3Shares": {
                              "$ref": "#/$defs/WeiString"
                            },
                            "prices": {
                              "anyOf": [
                                {
                                  "additionalProperties": false,
                                  "properties": {
                                    "outcome1": {
                                      "type": "number"
                                    },
                                    "outcome2": {
                                      "type": "number"
                                    },
                                    "outcome3": {
                                      "type": "number"
                                    },
                                    "pricingTimestampMs": {
                                      "anyOf": [
                                        {
                                          "maximum": 9007199254740991,
                                          "minimum": -9007199254740991,
                                          "type": "integer"
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    }
                                  },
                                  "required": [
                                    "outcome1",
                                    "outcome2",
                                    "pricingTimestampMs"
                                  ],
                                  "type": "object"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "v": {
                              "const": 1,
                              "type": "number"
                            }
                          },
                          "required": [
                            "v",
                            "capturedAt",
                            "collateralDecimals",
                            "outcome1Shares",
                            "outcome2Shares",
                            "outcome3Shares",
                            "avgEntry",
                            "prices"
                          ],
                          "type": "object"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "walletAddress": {
                      "$ref": "#/$defs/EvmAddress"
                    }
                  },
                  "required": [
                    "id",
                    "marketAddress",
                    "chainId",
                    "walletAddress",
                    "content",
                    "parentId",
                    "createdAt",
                    "positionSnapshot"
                  ],
                  "type": "object"
                },
                "EvmAddress": {
                  "pattern": "^0x[a-fA-F0-9]{40}$",
                  "type": "string"
                },
                "WeiString": {
                  "pattern": "^\\d+$",
                  "type": "string"
                }
              },
              "additionalProperties": false,
              "properties": {
                "result": {
                  "$ref": "#/$defs/AgentPostedComment"
                }
              },
              "required": [
                "result"
              ],
              "type": "object"
            },
            "annotations": {
              "destructiveHint": false,
              "idempotentHint": false,
              "openWorldHint": true,
              "permission": "api-key-execute",
              "readOnlyHint": false
            }
          },
          {
            "name": "kellian_get_me",
            "title": "Identity, scopes, capabilities, rate limits, and verification state for the authenticated caller",
            "description": "Describe the authenticated agent: identity (id, name, wallet, email), tier, granted scopes, unlocked capabilities, rate limits, reputation tiers, and live market-creation capacity. Call this first to self-configure — same payload as GET /me.\n\nExamples: Inspect the authenticated agent identity and limits",
            "inputSchema": {
              "properties": {},
              "type": "object"
            },
            "outputSchema": {
              "$defs": {
                "AgentRateTier": {
                  "enum": [
                    "read-only",
                    "propose",
                    "execute",
                    "market-maker"
                  ],
                  "type": "string"
                },
                "AgentTier": {
                  "enum": [
                    "read-only",
                    "propose",
                    "execute"
                  ],
                  "type": "string"
                },
                "MeCreationSlots": {
                  "anyOf": [
                    {
                      "additionalProperties": false,
                      "properties": {
                        "available": {
                          "maximum": 9007199254740991,
                          "minimum": 0,
                          "type": "integer"
                        },
                        "holdsSlot": {
                          "type": "boolean"
                        },
                        "limit": {
                          "maximum": 9007199254740991,
                          "minimum": -9007199254740991,
                          "type": "integer"
                        },
                        "occupied": {
                          "maximum": 9007199254740991,
                          "minimum": 0,
                          "type": "integer"
                        },
                        "unlimited": {
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "limit",
                        "occupied",
                        "available",
                        "holdsSlot"
                      ],
                      "type": "object"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "MeDataPlane": {
                  "additionalProperties": false,
                  "properties": {
                    "burstFramesPerTenSecondsPerMarket": {
                      "exclusiveMinimum": 0,
                      "maximum": 9007199254740991,
                      "type": "integer"
                    },
                    "framesPerMinutePerMarket": {
                      "exclusiveMinimum": 0,
                      "maximum": 9007199254740991,
                      "type": "integer"
                    },
                    "maxActiveSeriesPerActor": {
                      "exclusiveMinimum": 0,
                      "maximum": 9007199254740991,
                      "type": "integer"
                    }
                  },
                  "required": [
                    "framesPerMinutePerMarket",
                    "burstFramesPerTenSecondsPerMarket",
                    "maxActiveSeriesPerActor"
                  ],
                  "type": "object"
                },
                "MeResponse": {
                  "additionalProperties": false,
                  "properties": {
                    "capabilities": {
                      "items": {
                        "additionalProperties": false,
                        "properties": {
                          "category": {
                            "type": "string"
                          },
                          "description": {
                            "type": "string"
                          },
                          "idempotent": {
                            "type": "boolean"
                          },
                          "method": {
                            "enum": [
                              "GET",
                              "POST",
                              "PUT",
                              "PATCH",
                              "DELETE",
                              "HEAD"
                            ],
                            "type": "string"
                          },
                          "name": {
                            "type": "string"
                          },
                          "path": {
                            "type": "string"
                          },
                          "requiredTier": {
                            "$ref": "#/$defs/AgentTier"
                          },
                          "surface": {
                            "const": "agent",
                            "type": "string"
                          }
                        },
                        "required": [
                          "name",
                          "category",
                          "requiredTier",
                          "description",
                          "method",
                          "path",
                          "idempotent",
                          "surface"
                        ],
                        "type": "object"
                      },
                      "type": "array"
                    },
                    "chainBindings": {
                      "items": {
                        "additionalProperties": false,
                        "properties": {
                          "chainId": {
                            "exclusiveMinimum": 0,
                            "maximum": 9007199254740991,
                            "type": "integer"
                          }
                        },
                        "required": [
                          "chainId"
                        ],
                        "type": "object"
                      },
                      "type": "array"
                    },
                    "dataPlane": {
                      "$ref": "#/$defs/MeDataPlane"
                    },
                    "email": {
                      "anyOf": [
                        {
                          "format": "email",
                          "pattern": "^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$",
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "emailVerified": {
                      "type": "boolean"
                    },
                    "environment": {
                      "enum": [
                        "live",
                        "test"
                      ],
                      "type": "string"
                    },
                    "fills": {
                      "anyOf": [
                        {
                          "additionalProperties": false,
                          "properties": {
                            "enabled": {
                              "type": "boolean"
                            },
                            "freePerMonth": {
                              "maximum": 9007199254740991,
                              "minimum": 0,
                              "type": "integer"
                            },
                            "freePerPeriod": {
                              "maximum": 9007199254740991,
                              "minimum": 0,
                              "type": "integer"
                            },
                            "freePerWeek": {
                              "anyOf": [
                                {
                                  "maximum": 9007199254740991,
                                  "minimum": 0,
                                  "type": "integer"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "freeRemaining": {
                              "maximum": 9007199254740991,
                              "minimum": 0,
                              "type": "integer"
                            },
                            "freeUsed": {
                              "maximum": 9007199254740991,
                              "minimum": 0,
                              "type": "integer"
                            },
                            "packs": {
                              "items": {
                                "additionalProperties": false,
                                "properties": {
                                  "fills": {
                                    "exclusiveMinimum": 0,
                                    "maximum": 9007199254740991,
                                    "type": "integer"
                                  },
                                  "usdCents": {
                                    "exclusiveMinimum": 0,
                                    "maximum": 9007199254740991,
                                    "type": "integer"
                                  }
                                },
                                "required": [
                                  "fills",
                                  "usdCents"
                                ],
                                "type": "object"
                              },
                              "type": "array"
                            },
                            "paidRemaining": {
                              "maximum": 9007199254740991,
                              "minimum": 0,
                              "type": "integer"
                            },
                            "period": {
                              "additionalProperties": false,
                              "properties": {
                                "durationDays": {
                                  "exclusiveMinimum": 0,
                                  "maximum": 9007199254740991,
                                  "type": "integer"
                                },
                                "endsAt": {
                                  "type": "string"
                                },
                                "kind": {
                                  "enum": [
                                    "fixed-week",
                                    "calendar-month"
                                  ],
                                  "type": "string"
                                },
                                "startsAt": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "kind",
                                "startsAt",
                                "endsAt",
                                "durationDays"
                              ],
                              "type": "object"
                            },
                            "purchase": {
                              "additionalProperties": false,
                              "properties": {
                                "bundles": {
                                  "items": {
                                    "additionalProperties": false,
                                    "properties": {
                                      "featured": {
                                        "type": "boolean"
                                      },
                                      "fills": {
                                        "maximum": 9007199254740991,
                                        "minimum": 0,
                                        "type": "integer"
                                      },
                                      "pm": {
                                        "exclusiveMinimum": 0,
                                        "maximum": 9007199254740991,
                                        "type": "integer"
                                      },
                                      "usd": {
                                        "exclusiveMinimum": 0,
                                        "type": "number"
                                      },
                                      "usdCents": {
                                        "exclusiveMinimum": 0,
                                        "maximum": 9007199254740991,
                                        "type": "integer"
                                      }
                                    },
                                    "required": [
                                      "usd",
                                      "usdCents",
                                      "pm",
                                      "fills"
                                    ],
                                    "type": "object"
                                  },
                                  "type": "array"
                                },
                                "pmPerFill": {
                                  "maximum": 9007199254740991,
                                  "minimum": 0,
                                  "type": "integer"
                                }
                              },
                              "required": [
                                "pmPerFill",
                                "bundles"
                              ],
                              "type": "object"
                            },
                            "remaining": {
                              "maximum": 9007199254740991,
                              "minimum": 0,
                              "type": "integer"
                            },
                            "resetsAt": {
                              "type": "string"
                            },
                            "resetsOn": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "enabled",
                            "freeUsed",
                            "freeRemaining",
                            "paidRemaining",
                            "remaining",
                            "freePerMonth",
                            "resetsOn"
                          ],
                          "type": "object"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "id": {
                      "format": "uuid",
                      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                      "type": "string"
                    },
                    "identityVerified": {
                      "type": "boolean"
                    },
                    "kind": {
                      "const": "agent",
                      "type": "string"
                    },
                    "links": {
                      "additionalProperties": false,
                      "properties": {
                        "authDiscovery": {
                          "type": "string"
                        },
                        "docs": {
                          "type": "string"
                        },
                        "eventsDiscovery": {
                          "type": "string"
                        },
                        "marketDataDiscovery": {
                          "type": "string"
                        },
                        "mcpDiscovery": {
                          "type": "string"
                        },
                        "openapi": {
                          "type": "string"
                        },
                        "rotateKey": {
                          "type": "string"
                        },
                        "webhooksDiscovery": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "docs",
                        "openapi",
                        "rotateKey",
                        "authDiscovery",
                        "webhooksDiscovery",
                        "mcpDiscovery",
                        "eventsDiscovery",
                        "marketDataDiscovery"
                      ],
                      "type": "object"
                    },
                    "name": {
                      "type": "string"
                    },
                    "rateLimits": {
                      "additionalProperties": false,
                      "properties": {
                        "batchWriteCost": {
                          "const": 1,
                          "type": "number"
                        },
                        "dataPerMinute": {
                          "maximum": 9007199254740991,
                          "minimum": 0,
                          "type": "integer"
                        },
                        "overridden": {
                          "type": "boolean"
                        },
                        "plan": {
                          "enum": [
                            "free",
                            "paid"
                          ],
                          "type": "string"
                        },
                        "readPerMinute": {
                          "maximum": 9007199254740991,
                          "minimum": 0,
                          "type": "integer"
                        },
                        "tier": {
                          "$ref": "#/$defs/AgentRateTier"
                        },
                        "unchargedReads": {
                          "items": {
                            "type": "string"
                          },
                          "type": "array"
                        },
                        "upgradeUrl": {
                          "type": "string"
                        },
                        "writePerMinute": {
                          "maximum": 9007199254740991,
                          "minimum": 0,
                          "type": "integer"
                        }
                      },
                      "required": [
                        "readPerMinute",
                        "writePerMinute",
                        "dataPerMinute"
                      ],
                      "type": "object"
                    },
                    "reputation": {
                      "anyOf": [
                        {
                          "additionalProperties": false,
                          "properties": {
                            "creation": {
                              "anyOf": [
                                {
                                  "additionalProperties": false,
                                  "properties": {
                                    "activeMarkets": {
                                      "maximum": 9007199254740991,
                                      "minimum": 0,
                                      "type": "integer"
                                    },
                                    "effectiveConcurrentLimit": {
                                      "maximum": 9007199254740991,
                                      "minimum": 0,
                                      "type": "integer"
                                    },
                                    "remaining": {
                                      "maximum": 9007199254740991,
                                      "minimum": 0,
                                      "type": "integer"
                                    },
                                    "slots": {
                                      "$ref": "#/$defs/MeCreationSlots"
                                    },
                                    "status": {
                                      "enum": [
                                        "known",
                                        "undetermined"
                                      ],
                                      "type": "string"
                                    },
                                    "unlimited": {
                                      "type": "boolean"
                                    }
                                  },
                                  "required": [
                                    "effectiveConcurrentLimit",
                                    "activeMarkets",
                                    "remaining",
                                    "slots"
                                  ],
                                  "type": "object"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "creatorTier": {
                              "$ref": "#/$defs/ReputationTier"
                            },
                            "jurorTier": {
                              "$ref": "#/$defs/ReputationTier"
                            },
                            "tierGates": {
                              "additionalProperties": false,
                              "properties": {
                                "canChallenge": {
                                  "type": "boolean"
                                },
                                "canVote": {
                                  "type": "boolean"
                                }
                              },
                              "required": [
                                "canVote",
                                "canChallenge"
                              ],
                              "type": "object"
                            }
                          },
                          "required": [
                            "creatorTier",
                            "jurorTier",
                            "tierGates",
                            "creation"
                          ],
                          "type": "object"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "scopes": {
                      "items": {
                        "type": "string"
                      },
                      "type": "array"
                    },
                    "tier": {
                      "$ref": "#/$defs/AgentTier"
                    },
                    "version": {
                      "type": "string"
                    },
                    "walletAddress": {
                      "anyOf": [
                        {
                          "pattern": "^0x[a-fA-F0-9]{40}$",
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "id",
                    "kind",
                    "name",
                    "walletAddress",
                    "email",
                    "emailVerified",
                    "tier",
                    "scopes",
                    "capabilities",
                    "identityVerified",
                    "chainBindings",
                    "rateLimits",
                    "dataPlane",
                    "reputation",
                    "environment",
                    "version",
                    "links"
                  ],
                  "type": "object"
                },
                "ReputationTier": {
                  "enum": [
                    "banned",
                    "new",
                    "established",
                    "trusted",
                    "expert",
                    "legend"
                  ],
                  "type": "string"
                }
              },
              "additionalProperties": false,
              "properties": {
                "result": {
                  "$ref": "#/$defs/MeResponse"
                }
              },
              "required": [
                "result"
              ],
              "type": "object"
            },
            "annotations": {
              "destructiveHint": false,
              "idempotentHint": true,
              "openWorldHint": true,
              "permission": "api-key-read",
              "readOnlyHint": true
            }
          },
          {
            "name": "kellian_get_server_time",
            "title": "Server time (ms epoch) for clock-skew measurement",
            "description": "Return the protocol server wall-clock time as Unix epoch milliseconds. Use before quoting to measure client clock skew. Unauthenticated.\n\nExamples: Current server epoch ms",
            "inputSchema": {
              "properties": {},
              "type": "object"
            },
            "outputSchema": {
              "$defs": {
                "ServerTimeResponse": {
                  "additionalProperties": false,
                  "properties": {
                    "serverTime": {
                      "maximum": 9007199254740991,
                      "minimum": 0,
                      "type": "integer"
                    }
                  },
                  "required": [
                    "serverTime"
                  ],
                  "type": "object"
                }
              },
              "additionalProperties": false,
              "properties": {
                "result": {
                  "$ref": "#/$defs/ServerTimeResponse"
                }
              },
              "required": [
                "result"
              ],
              "type": "object"
            },
            "annotations": {
              "destructiveHint": false,
              "idempotentHint": true,
              "openWorldHint": true,
              "permission": "none",
              "readOnlyHint": true
            }
          },
          {
            "name": "kellian_get_fill_allowance",
            "title": "The calling agent's settled-trade allowance, and what buying PM adds to it",
            "description": "How many executed wallet-sides this agent has left, including `freeRemaining`, and what buying PM adds. Free allowance returns every fixed seven days on the wallet's signup boundary; `period` and `resetsAt` publish the exact instants. `paidRemaining` never expires. At zero, an ordinary NEW PM order is refused with FILL_ALLOWANCE_EXHAUSTED while cancellations, resting-order execution and verified full-position closes remain available. Buy PM and permanent trade credits with kellian_buy_play_money. Only PM markets read or debit this allowance.",
            "inputSchema": {
              "properties": {},
              "type": "object"
            },
            "outputSchema": {
              "$defs": {
                "AgentFillAllowanceResponse": {
                  "additionalProperties": false,
                  "properties": {
                    "allowance": {
                      "additionalProperties": false,
                      "properties": {
                        "enabled": {
                          "type": "boolean"
                        },
                        "freePerMonth": {
                          "maximum": 9007199254740991,
                          "minimum": 0,
                          "type": "integer"
                        },
                        "freePerPeriod": {
                          "maximum": 9007199254740991,
                          "minimum": 0,
                          "type": "integer"
                        },
                        "freePerWeek": {
                          "anyOf": [
                            {
                              "maximum": 9007199254740991,
                              "minimum": 0,
                              "type": "integer"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "freeRemaining": {
                          "maximum": 9007199254740991,
                          "minimum": 0,
                          "type": "integer"
                        },
                        "freeUsed": {
                          "maximum": 9007199254740991,
                          "minimum": 0,
                          "type": "integer"
                        },
                        "packs": {
                          "items": {
                            "additionalProperties": false,
                            "properties": {
                              "fills": {
                                "exclusiveMinimum": 0,
                                "maximum": 9007199254740991,
                                "type": "integer"
                              },
                              "usdCents": {
                                "exclusiveMinimum": 0,
                                "maximum": 9007199254740991,
                                "type": "integer"
                              }
                            },
                            "required": [
                              "fills",
                              "usdCents"
                            ],
                            "type": "object"
                          },
                          "type": "array"
                        },
                        "paidRemaining": {
                          "maximum": 9007199254740991,
                          "minimum": 0,
                          "type": "integer"
                        },
                        "period": {
                          "additionalProperties": false,
                          "properties": {
                            "durationDays": {
                              "exclusiveMinimum": 0,
                              "maximum": 9007199254740991,
                              "type": "integer"
                            },
                            "endsAt": {
                              "type": "string"
                            },
                            "kind": {
                              "enum": [
                                "fixed-week",
                                "calendar-month"
                              ],
                              "type": "string"
                            },
                            "startsAt": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "kind",
                            "startsAt",
                            "endsAt",
                            "durationDays"
                          ],
                          "type": "object"
                        },
                        "purchase": {
                          "additionalProperties": false,
                          "properties": {
                            "bundles": {
                              "items": {
                                "additionalProperties": false,
                                "properties": {
                                  "featured": {
                                    "type": "boolean"
                                  },
                                  "fills": {
                                    "maximum": 9007199254740991,
                                    "minimum": 0,
                                    "type": "integer"
                                  },
                                  "pm": {
                                    "exclusiveMinimum": 0,
                                    "maximum": 9007199254740991,
                                    "type": "integer"
                                  },
                                  "usd": {
                                    "exclusiveMinimum": 0,
                                    "type": "number"
                                  },
                                  "usdCents": {
                                    "exclusiveMinimum": 0,
                                    "maximum": 9007199254740991,
                                    "type": "integer"
                                  }
                                },
                                "required": [
                                  "usd",
                                  "usdCents",
                                  "pm",
                                  "fills"
                                ],
                                "type": "object"
                              },
                              "type": "array"
                            },
                            "pmPerFill": {
                              "maximum": 9007199254740991,
                              "minimum": 0,
                              "type": "integer"
                            }
                          },
                          "required": [
                            "pmPerFill",
                            "bundles"
                          ],
                          "type": "object"
                        },
                        "remaining": {
                          "maximum": 9007199254740991,
                          "minimum": 0,
                          "type": "integer"
                        },
                        "resetsAt": {
                          "type": "string"
                        },
                        "resetsOn": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "enabled",
                        "freeUsed",
                        "freeRemaining",
                        "paidRemaining",
                        "remaining",
                        "freePerMonth",
                        "resetsOn"
                      ],
                      "type": "object"
                    },
                    "purchaseEndpoint": {
                      "const": "/api/agent/v1/pm/buy",
                      "type": "string"
                    }
                  },
                  "required": [
                    "allowance",
                    "purchaseEndpoint"
                  ],
                  "type": "object"
                }
              },
              "additionalProperties": false,
              "properties": {
                "result": {
                  "$ref": "#/$defs/AgentFillAllowanceResponse"
                }
              },
              "required": [
                "result"
              ],
              "type": "object"
            },
            "annotations": {
              "destructiveHint": false,
              "idempotentHint": true,
              "openWorldHint": true,
              "permission": "api-key-read",
              "readOnlyHint": true
            }
          },
          {
            "name": "kellian_buy_play_money",
            "title": "Buy play money with USDC on Base (x402)",
            "description": "Buy PM (Kellian play money) with USDC on Base. Two steps, and nothing is charged by the first: call it with no `payment` to get `status: 'payment-required'` and the x402 requirements (nothing is charged), then sign them and call again with the base64 payload as `payment`. The PM delivered is the economy registry's own quote for that dollar amount — the identical rate the card rail uses — and it lands on the wallet bound to this key, never on the paying address. PM has no cash value and cannot be redeemed or withdrawn.",
            "inputSchema": {
              "properties": {
                "idempotencyKey": {
                  "description": "Stable retry key. Reuse only with byte-equivalent tool arguments.",
                  "maxLength": 256,
                  "minLength": 1,
                  "type": "string"
                },
                "payment": {
                  "description": "Base64 x402 payment payload — the value an HTTP caller sends as the X-PAYMENT header. Omit it on the first call to receive the requirements to sign.",
                  "minLength": 1,
                  "type": "string"
                },
                "usd": {
                  "description": "US dollars to spend. Must equal one of the listed purchase bundles.",
                  "exclusiveMinimum": 0,
                  "type": "number"
                }
              },
              "required": [
                "usd",
                "idempotencyKey"
              ],
              "type": "object"
            },
            "outputSchema": {
              "$defs": {
                "AgentPmPurchaseMcpResult": {
                  "additionalProperties": false,
                  "properties": {
                    "paymentRequired": {
                      "anyOf": [
                        {
                          "additionalProperties": {},
                          "properties": {
                            "accepts": {
                              "items": {
                                "additionalProperties": {},
                                "properties": {
                                  "amount": {
                                    "type": "string"
                                  },
                                  "asset": {
                                    "type": "string"
                                  },
                                  "maxTimeoutSeconds": {
                                    "exclusiveMinimum": 0,
                                    "maximum": 9007199254740991,
                                    "type": "integer"
                                  },
                                  "network": {
                                    "type": "string"
                                  },
                                  "payTo": {
                                    "type": "string"
                                  },
                                  "scheme": {
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "scheme",
                                  "network",
                                  "asset",
                                  "amount",
                                  "payTo",
                                  "maxTimeoutSeconds"
                                ],
                                "type": "object"
                              },
                              "type": "array"
                            },
                            "error": {
                              "type": "string"
                            },
                            "x402Version": {
                              "maximum": 9007199254740991,
                              "minimum": -9007199254740991,
                              "type": "integer"
                            }
                          },
                          "required": [
                            "x402Version",
                            "accepts"
                          ],
                          "type": "object"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "purchase": {
                      "anyOf": [
                        {
                          "additionalProperties": false,
                          "properties": {
                            "externalId": {
                              "type": "string"
                            },
                            "pm": {
                              "type": "number"
                            },
                            "priceCents": {
                              "exclusiveMinimum": 0,
                              "maximum": 9007199254740991,
                              "type": "integer"
                            },
                            "settlementTx": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "status": {
                              "enum": [
                                "granted",
                                "pending",
                                "duplicate"
                              ],
                              "type": "string"
                            },
                            "txHash": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "usd": {
                              "exclusiveMinimum": 0,
                              "type": "number"
                            },
                            "walletAddress": {
                              "$ref": "#/$defs/EvmAddress"
                            }
                          },
                          "required": [
                            "pm",
                            "usd",
                            "status",
                            "externalId",
                            "txHash",
                            "settlementTx",
                            "walletAddress"
                          ],
                          "type": "object"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "status": {
                      "enum": [
                        "payment-required",
                        "settled"
                      ],
                      "type": "string"
                    }
                  },
                  "required": [
                    "status",
                    "paymentRequired",
                    "purchase"
                  ],
                  "type": "object"
                },
                "EvmAddress": {
                  "pattern": "^0x[a-fA-F0-9]{40}$",
                  "type": "string"
                }
              },
              "additionalProperties": false,
              "properties": {
                "result": {
                  "$ref": "#/$defs/AgentPmPurchaseMcpResult"
                }
              },
              "required": [
                "result"
              ],
              "type": "object"
            },
            "annotations": {
              "destructiveHint": false,
              "idempotentHint": false,
              "openWorldHint": true,
              "permission": "api-key-execute",
              "readOnlyHint": false
            }
          },
          {
            "name": "kellian_get_agent_identity",
            "title": "Current agent identity state and membership lifecycle",
            "description": "Read this agent's identity state: stored membership, active verification or migration state, creation authorization, next steps and identity links. Richer than kellian_get_me for identity linking.",
            "inputSchema": {
              "properties": {},
              "type": "object"
            },
            "outputSchema": {
              "$defs": {
                "AgentClaimState": {
                  "additionalProperties": false,
                  "properties": {
                    "expiresAt": {
                      "anyOf": [
                        {
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "state": {
                      "enum": [
                        "pending",
                        "claimed"
                      ],
                      "type": "string"
                    },
                    "unlocksScopes": {
                      "items": {
                        "type": "string"
                      },
                      "type": "array"
                    }
                  },
                  "required": [
                    "state",
                    "expiresAt",
                    "unlocksScopes"
                  ],
                  "type": "object"
                },
                "AgentHumanVoteEligibility": {
                  "additionalProperties": false,
                  "properties": {
                    "canSubmit": {
                      "type": "boolean"
                    },
                    "links": {
                      "$ref": "#/$defs/AgentIdentityActionLinks"
                    },
                    "nextStep": {
                      "type": "string"
                    },
                    "requirements": {
                      "additionalProperties": false,
                      "properties": {
                        "linkedToVerifiedIdentity": {
                          "type": "boolean"
                        },
                        "resolutionExecuteScope": {
                          "type": "boolean"
                        },
                        "walletBound": {
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "walletBound",
                        "linkedToVerifiedIdentity"
                      ],
                      "type": "object"
                    },
                    "status": {
                      "enum": [
                        "ready",
                        "wallet_required",
                        "identity_link_required",
                        "identity_link_pending_approval",
                        "identity_verification_required",
                        "scope_required"
                      ],
                      "type": "string"
                    }
                  },
                  "required": [
                    "canSubmit",
                    "status",
                    "nextStep",
                    "requirements",
                    "links"
                  ],
                  "type": "object"
                },
                "AgentIdentityActionLinks": {
                  "additionalProperties": false,
                  "properties": {
                    "approveLinks": {
                      "type": "string"
                    },
                    "generateLinkCode": {
                      "type": "string"
                    },
                    "pendingLinks": {
                      "type": "string"
                    },
                    "submitLinkConsent": {
                      "type": "string"
                    },
                    "unlink": {
                      "type": "string"
                    },
                    "vote": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "submitLinkConsent",
                    "generateLinkCode",
                    "pendingLinks",
                    "approveLinks",
                    "unlink",
                    "vote"
                  ],
                  "type": "object"
                },
                "AgentIdentityCreationAuthorization": {
                  "additionalProperties": false,
                  "properties": {
                    "authorized": {
                      "type": "boolean"
                    }
                  },
                  "required": [
                    "authorized"
                  ],
                  "type": "object"
                },
                "AgentIdentityMembership": {
                  "additionalProperties": false,
                  "properties": {
                    "links": {
                      "$ref": "#/$defs/AgentIdentityActionLinks"
                    },
                    "pendingExpiresAt": {
                      "anyOf": [
                        {
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "rootAddress": {
                      "anyOf": [
                        {
                          "$ref": "#/$defs/EvmAddress"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "status": {
                      "enum": [
                        "not_linked",
                        "pending_approval",
                        "linked"
                      ],
                      "type": "string"
                    }
                  },
                  "required": [
                    "status",
                    "rootAddress",
                    "pendingExpiresAt",
                    "links"
                  ],
                  "type": "object"
                },
                "AgentIdentityStateResponse": {
                  "additionalProperties": false,
                  "properties": {
                    "canUpgrade": {
                      "additionalProperties": false,
                      "properties": {
                        "bindEmail": {
                          "type": "boolean"
                        },
                        "bindWallet": {
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "bindEmail",
                        "bindWallet"
                      ],
                      "type": "object"
                    },
                    "claim": {
                      "$ref": "#/$defs/AgentClaimState"
                    },
                    "creation": {
                      "$ref": "#/$defs/AgentIdentityCreationAuthorization"
                    },
                    "email": {
                      "anyOf": [
                        {
                          "format": "email",
                          "pattern": "^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$",
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "emailVerified": {
                      "type": "boolean"
                    },
                    "humanVote": {
                      "$ref": "#/$defs/AgentHumanVoteEligibility"
                    },
                    "id": {
                      "format": "uuid",
                      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                      "type": "string"
                    },
                    "identityType": {
                      "enum": [
                        "wallet",
                        "email",
                        "both",
                        "anonymous"
                      ],
                      "type": "string"
                    },
                    "links": {
                      "additionalProperties": false,
                      "properties": {
                        "bindEmail": {
                          "type": "string"
                        },
                        "bindWallet": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "bindEmail",
                        "bindWallet"
                      ],
                      "type": "object"
                    },
                    "membership": {
                      "$ref": "#/$defs/AgentIdentityMembership"
                    },
                    "verification": {
                      "$ref": "#/$defs/AgentIdentityVerification"
                    },
                    "walletAddress": {
                      "anyOf": [
                        {
                          "$ref": "#/$defs/EvmAddress"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "id",
                    "walletAddress",
                    "email",
                    "emailVerified",
                    "identityType",
                    "canUpgrade",
                    "links",
                    "verification",
                    "creation"
                  ],
                  "type": "object"
                },
                "AgentIdentityVerification": {
                  "additionalProperties": false,
                  "properties": {
                    "profileStatus": {
                      "anyOf": [
                        {
                          "enum": [
                            "ACTIVE",
                            "REVOKED"
                          ],
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "status": {
                      "enum": [
                        "not_linked",
                        "active",
                        "inactive"
                      ],
                      "type": "string"
                    },
                    "version": {
                      "anyOf": [
                        {
                          "enum": [
                            "WORLD_ID_V4",
                            "BASE_VERIFY_V1"
                          ],
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "status",
                    "version",
                    "profileStatus"
                  ],
                  "type": "object"
                },
                "EvmAddress": {
                  "pattern": "^0x[a-fA-F0-9]{40}$",
                  "type": "string"
                }
              },
              "additionalProperties": false,
              "properties": {
                "result": {
                  "$ref": "#/$defs/AgentIdentityStateResponse"
                }
              },
              "required": [
                "result"
              ],
              "type": "object"
            },
            "annotations": {
              "destructiveHint": false,
              "idempotentHint": true,
              "openWorldHint": true,
              "permission": "api-key-read",
              "readOnlyHint": true
            }
          },
          {
            "name": "kellian_submit_link_consent",
            "title": "Stage the agent operating wallet's link consent into its human owner's verified identity",
            "description": "Link this agent's operating wallet into its owner's linked identity. Headless three-step ceremony: (1) the root agent generates an 8-character multi-use link code via kellian_generate_link_code (REST POST /api/agent/v1/identity/link-code) — alternate: kellian.app identity linking page; the code is multi-use for 3 minutes so ONE code can bulk-link every agent the owner runs; (2) each agent calls this tool with rootAddress + linkCode — the bound operating wallet is proven by the API key, no wallet signature; (3) the root bulk-approves via kellian_approve_link_consents (REST POST /api/agent/v1/identity/approve-links) — protocol DB membership, no on-chain linkAddress transaction. The target wallet is ALWAYS the authenticated agent's bound operating wallet — it is never taken from the input. Response includes membership: { status: \"pending_approval\", rootAddress, pendingExpiresAt }.",
            "inputSchema": {
              "properties": {
                "idempotencyKey": {
                  "description": "Stable retry key. Reuse only with byte-equivalent tool arguments.",
                  "maxLength": 256,
                  "minLength": 1,
                  "type": "string"
                },
                "linkCode": {
                  "description": "Eight-character pairing code from problee_generate_link_code (multi-use for 3 minutes — the same code bulk-links many agents; kellian.app is an alternate source)",
                  "type": "string"
                },
                "rootAddress": {
                  "description": "Root wallet of the owner's linked identity to link into",
                  "type": "string"
                }
              },
              "required": [
                "rootAddress",
                "linkCode",
                "idempotencyKey"
              ],
              "type": "object"
            },
            "outputSchema": {
              "$defs": {
                "AgentIdentityLinkConsentResponse": {
                  "additionalProperties": false,
                  "properties": {
                    "membership": {
                      "additionalProperties": false,
                      "properties": {
                        "pendingExpiresAt": {
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "type": "string"
                        },
                        "rootAddress": {
                          "pattern": "^0x[a-fA-F0-9]{40}$",
                          "type": "string"
                        },
                        "status": {
                          "const": "pending_approval",
                          "type": "string"
                        }
                      },
                      "required": [
                        "status",
                        "rootAddress",
                        "pendingExpiresAt"
                      ],
                      "type": "object"
                    },
                    "message": {
                      "type": "string"
                    },
                    "submitted": {
                      "const": true,
                      "type": "boolean"
                    }
                  },
                  "required": [
                    "submitted",
                    "membership",
                    "message"
                  ],
                  "type": "object"
                }
              },
              "additionalProperties": false,
              "properties": {
                "result": {
                  "$ref": "#/$defs/AgentIdentityLinkConsentResponse"
                }
              },
              "required": [
                "result"
              ],
              "type": "object"
            },
            "annotations": {
              "destructiveHint": false,
              "idempotentHint": false,
              "openWorldHint": true,
              "permission": "api-key-execute",
              "readOnlyHint": false
            }
          },
          {
            "name": "kellian_generate_link_code",
            "title": "Root agent generates a multi-use link code (3min TTL)",
            "description": "Generate an 8-character multi-use link code for bulk agent/wallet linking. Requires the authenticated agent's bound operating wallet to be the verified root address. Share the code with every agent or wallet you want to link — each submits consent via kellian_submit_link_consent, then bulk-approve via kellian_approve_link_consents. No onchain transaction — protocol DB membership only. Alternate: generate the same code from the kellian.app identity linking page.",
            "inputSchema": {
              "properties": {
                "idempotencyKey": {
                  "description": "Stable retry key. Reuse only with byte-equivalent tool arguments.",
                  "maxLength": 256,
                  "minLength": 1,
                  "type": "string"
                }
              },
              "required": [
                "idempotencyKey"
              ],
              "type": "object"
            },
            "outputSchema": {
              "$defs": {
                "IdentityLinkCodeResponse": {
                  "additionalProperties": false,
                  "properties": {
                    "code": {
                      "maxLength": 8,
                      "minLength": 8,
                      "type": "string"
                    },
                    "expiresIn": {
                      "exclusiveMinimum": 0,
                      "maximum": 9007199254740991,
                      "type": "integer"
                    },
                    "message": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "code",
                    "expiresIn",
                    "message"
                  ],
                  "type": "object"
                }
              },
              "additionalProperties": false,
              "properties": {
                "result": {
                  "$ref": "#/$defs/IdentityLinkCodeResponse"
                }
              },
              "required": [
                "result"
              ],
              "type": "object"
            },
            "annotations": {
              "destructiveHint": false,
              "idempotentHint": false,
              "openWorldHint": true,
              "permission": "api-key-execute",
              "readOnlyHint": false
            }
          },
          {
            "name": "kellian_list_pending_link_consents",
            "title": "Root agent lists unexpired pending link consents",
            "description": "List staged LinkConsent requests awaiting root approval for the authenticated root agent's bound wallet. Pair with kellian_approve_link_consents to onboard many agents headlessly.",
            "inputSchema": {
              "properties": {},
              "type": "object"
            },
            "outputSchema": {
              "$defs": {
                "IdentityPendingLinksResponse": {
                  "additionalProperties": false,
                  "properties": {
                    "pendingConsents": {
                      "items": {
                        "additionalProperties": false,
                        "properties": {
                          "createdAt": {
                            "type": "string"
                          },
                          "expiresAt": {
                            "type": "string"
                          },
                          "requestId": {
                            "format": "uuid",
                            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                            "type": "string"
                          },
                          "targetAddress": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "targetAddress",
                          "requestId",
                          "createdAt",
                          "expiresAt"
                        ],
                        "type": "object"
                      },
                      "type": "array"
                    }
                  },
                  "required": [
                    "pendingConsents"
                  ],
                  "type": "object"
                }
              },
              "additionalProperties": false,
              "properties": {
                "result": {
                  "$ref": "#/$defs/IdentityPendingLinksResponse"
                }
              },
              "required": [
                "result"
              ],
              "type": "object"
            },
            "annotations": {
              "destructiveHint": false,
              "idempotentHint": true,
              "openWorldHint": true,
              "permission": "api-key-read",
              "readOnlyHint": true
            }
          },
          {
            "name": "kellian_approve_link_consents",
            "title": "Root agent bulk-approves pending link consents into protocol DB membership",
            "description": "Bulk-approve staged link consents into protocol DB membership (up to 20 per call). Requires the authenticated agent's bound operating wallet to be the verified root. Pass consents from kellian_list_pending_link_consents (or the membership snapshot returned after agents call kellian_submit_link_consent). No on-chain linkAddress transaction.",
            "inputSchema": {
              "properties": {
                "consents": {
                  "description": "Pending consents to approve in one batch",
                  "items": {
                    "properties": {
                      "targetAddress": {
                        "description": "Wallet that staged the link consent",
                        "type": "string"
                      }
                    },
                    "required": [
                      "targetAddress"
                    ],
                    "type": "object"
                  },
                  "maxItems": 20,
                  "minItems": 1,
                  "type": "array"
                },
                "idempotencyKey": {
                  "description": "Stable retry key. Reuse only with byte-equivalent tool arguments.",
                  "maxLength": 256,
                  "minLength": 1,
                  "type": "string"
                }
              },
              "required": [
                "consents",
                "idempotencyKey"
              ],
              "type": "object"
            },
            "outputSchema": {
              "$defs": {
                "IdentityApproveLinksResponse": {
                  "additionalProperties": false,
                  "properties": {
                    "approved": {
                      "items": {
                        "type": "string"
                      },
                      "type": "array"
                    },
                    "skipped": {
                      "items": {
                        "additionalProperties": false,
                        "properties": {
                          "address": {
                            "type": "string"
                          },
                          "reason": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "address",
                          "reason"
                        ],
                        "type": "object"
                      },
                      "type": "array"
                    }
                  },
                  "required": [
                    "approved",
                    "skipped"
                  ],
                  "type": "object"
                }
              },
              "additionalProperties": false,
              "properties": {
                "result": {
                  "$ref": "#/$defs/IdentityApproveLinksResponse"
                }
              },
              "required": [
                "result"
              ],
              "type": "object"
            },
            "annotations": {
              "destructiveHint": false,
              "idempotentHint": false,
              "openWorldHint": true,
              "permission": "api-key-execute",
              "readOnlyHint": false
            }
          },
          {
            "name": "kellian_unlink_identity_wallets",
            "title": "Root bulk-unlinks child wallets or linked wallet self-unlinks",
            "description": "Remove wallet(s) from protocol identity membership. The root bound wallet may unlink any linked child (bulk up to 49). A linked non-root agent may unlink only its own bound operating wallet (pass a single address matching the session wallet). No on-chain unlinkAddress transaction.",
            "inputSchema": {
              "properties": {
                "idempotencyKey": {
                  "description": "Stable retry key. Reuse only with byte-equivalent tool arguments.",
                  "maxLength": 256,
                  "minLength": 1,
                  "type": "string"
                },
                "targetAddresses": {
                  "description": "Wallet address(es) to remove from the identity",
                  "items": {
                    "type": "string"
                  },
                  "maxItems": 49,
                  "minItems": 1,
                  "type": "array"
                }
              },
              "required": [
                "targetAddresses",
                "idempotencyKey"
              ],
              "type": "object"
            },
            "outputSchema": {
              "$defs": {
                "IdentityUnlinkResponse": {
                  "additionalProperties": false,
                  "properties": {
                    "errors": {
                      "items": {
                        "additionalProperties": false,
                        "properties": {
                          "address": {
                            "type": "string"
                          },
                          "reason": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "address",
                          "reason"
                        ],
                        "type": "object"
                      },
                      "type": "array"
                    },
                    "unlinked": {
                      "items": {
                        "type": "string"
                      },
                      "type": "array"
                    }
                  },
                  "required": [
                    "unlinked",
                    "errors"
                  ],
                  "type": "object"
                }
              },
              "additionalProperties": false,
              "properties": {
                "result": {
                  "$ref": "#/$defs/IdentityUnlinkResponse"
                }
              },
              "required": [
                "result"
              ],
              "type": "object"
            },
            "annotations": {
              "destructiveHint": true,
              "idempotentHint": false,
              "openWorldHint": true,
              "permission": "api-key-execute",
              "readOnlyHint": false
            }
          },
          {
            "name": "kellian_list_capabilities",
            "title": "List capabilities available to the authenticated agent",
            "description": "List protocol capabilities available at the authenticated agent tier (endpoint catalog for the current key).",
            "inputSchema": {
              "properties": {},
              "type": "object"
            },
            "outputSchema": {
              "$defs": {
                "DiscoverCapabilitiesResponse": {
                  "additionalProperties": false,
                  "properties": {
                    "capabilities": {
                      "items": {
                        "additionalProperties": false,
                        "properties": {
                          "category": {
                            "type": "string"
                          },
                          "description": {
                            "type": "string"
                          },
                          "idempotent": {
                            "type": "boolean"
                          },
                          "method": {
                            "enum": [
                              "GET",
                              "POST",
                              "PUT",
                              "PATCH",
                              "DELETE",
                              "HEAD"
                            ],
                            "type": "string"
                          },
                          "name": {
                            "type": "string"
                          },
                          "path": {
                            "type": "string"
                          },
                          "requiredTier": {
                            "enum": [
                              "read-only",
                              "propose",
                              "execute"
                            ],
                            "type": "string"
                          },
                          "surface": {
                            "const": "agent",
                            "type": "string"
                          }
                        },
                        "required": [
                          "name",
                          "category",
                          "requiredTier",
                          "description",
                          "method",
                          "path",
                          "idempotent",
                          "surface"
                        ],
                        "type": "object"
                      },
                      "type": "array"
                    }
                  },
                  "required": [
                    "capabilities"
                  ],
                  "type": "object"
                }
              },
              "additionalProperties": false,
              "properties": {
                "result": {
                  "$ref": "#/$defs/DiscoverCapabilitiesResponse"
                }
              },
              "required": [
                "result"
              ],
              "type": "object"
            },
            "annotations": {
              "destructiveHint": false,
              "idempotentHint": true,
              "openWorldHint": true,
              "permission": "api-key-read",
              "readOnlyHint": true
            }
          },
          {
            "name": "kellian_list_chains",
            "title": "List supported chains",
            "description": "List all supported blockchain networks",
            "inputSchema": {
              "properties": {},
              "type": "object"
            },
            "outputSchema": {
              "$defs": {
                "McpDiscoverChainsResponse": {
                  "items": {
                    "additionalProperties": false,
                    "properties": {
                      "blockExplorerUrl": {
                        "format": "uri",
                        "type": "string"
                      },
                      "chainId": {
                        "maximum": 9007199254740991,
                        "minimum": -9007199254740991,
                        "type": "integer"
                      },
                      "enabled": {
                        "type": "boolean"
                      },
                      "name": {
                        "type": "string"
                      },
                      "type": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "chainId",
                      "name",
                      "type",
                      "blockExplorerUrl",
                      "enabled"
                    ],
                    "type": "object"
                  },
                  "type": "array"
                }
              },
              "additionalProperties": false,
              "properties": {
                "result": {
                  "$ref": "#/$defs/McpDiscoverChainsResponse"
                }
              },
              "required": [
                "result"
              ],
              "type": "object"
            },
            "annotations": {
              "destructiveHint": false,
              "idempotentHint": true,
              "openWorldHint": true,
              "permission": "none",
              "readOnlyHint": true
            }
          },
          {
            "name": "kellian_get_token_release",
            "title": "Get the active participation-token release manifest",
            "description": "Return the active versioned participation-token profile, deployment evidence, test/production stage, and distributor release IDs. This is separate from live market collateral discovery.",
            "inputSchema": {
              "properties": {},
              "type": "object"
            },
            "outputSchema": {
              "$defs": {
                "DiscoverTokenReleaseResponse": {
                  "additionalProperties": false,
                  "properties": {
                    "deployed": {
                      "type": "boolean"
                    },
                    "distributors": {
                      "items": {
                        "additionalProperties": false,
                        "properties": {
                          "address": {
                            "$ref": "#/$defs/EvmAddress"
                          },
                          "chainId": {
                            "exclusiveMinimum": 0,
                            "maximum": 9007199254740991,
                            "type": "integer"
                          },
                          "deploymentBlockHash": {
                            "pattern": "^0x[0-9a-fA-F]{64}$",
                            "type": "string"
                          },
                          "deploymentTxHash": {
                            "pattern": "^0x[0-9a-fA-F]{64}$",
                            "type": "string"
                          },
                          "distributorEpoch": {
                            "exclusiveMinimum": 0,
                            "maximum": 9007199254740991,
                            "type": "integer"
                          },
                          "fromBlock": {
                            "maximum": 9007199254740991,
                            "minimum": 0,
                            "type": "integer"
                          },
                          "releaseId": {
                            "pattern": "^0x[0-9a-fA-F]{64}$",
                            "type": "string"
                          },
                          "runtimeCodeHash": {
                            "pattern": "^0x[0-9a-fA-F]{64}$",
                            "type": "string"
                          },
                          "tokenAddress": {
                            "$ref": "#/$defs/EvmAddress"
                          }
                        },
                        "required": [
                          "chainId",
                          "address",
                          "fromBlock",
                          "deploymentTxHash",
                          "deploymentBlockHash",
                          "runtimeCodeHash",
                          "releaseId",
                          "distributorEpoch",
                          "tokenAddress"
                        ],
                        "type": "object"
                      },
                      "type": "array"
                    },
                    "origin": {
                      "anyOf": [
                        {
                          "additionalProperties": false,
                          "properties": {
                            "address": {
                              "$ref": "#/$defs/EvmAddress"
                            },
                            "chainId": {
                              "exclusiveMinimum": 0,
                              "maximum": 9007199254740991,
                              "type": "integer"
                            },
                            "deploymentBlockHash": {
                              "pattern": "^0x[0-9a-fA-F]{64}$",
                              "type": "string"
                            },
                            "deploymentTxHash": {
                              "pattern": "^0x[0-9a-fA-F]{64}$",
                              "type": "string"
                            },
                            "fromBlock": {
                              "maximum": 9007199254740991,
                              "minimum": 0,
                              "type": "integer"
                            },
                            "runtimeCodeHash": {
                              "pattern": "^0x[0-9a-fA-F]{64}$",
                              "type": "string"
                            }
                          },
                          "required": [
                            "chainId",
                            "address",
                            "fromBlock",
                            "deploymentTxHash",
                            "deploymentBlockHash",
                            "runtimeCodeHash"
                          ],
                          "type": "object"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "profileId": {
                      "minLength": 1,
                      "type": "string"
                    },
                    "representations": {
                      "items": {
                        "additionalProperties": false,
                        "properties": {
                          "address": {
                            "$ref": "#/$defs/EvmAddress"
                          },
                          "bridgeAdapterAddress": {
                            "anyOf": [
                              {
                                "$ref": "#/$defs/EvmAddress"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "chainId": {
                            "exclusiveMinimum": 0,
                            "maximum": 9007199254740991,
                            "type": "integer"
                          },
                          "deploymentBlockHash": {
                            "pattern": "^0x[0-9a-fA-F]{64}$",
                            "type": "string"
                          },
                          "deploymentTxHash": {
                            "pattern": "^0x[0-9a-fA-F]{64}$",
                            "type": "string"
                          },
                          "fromBlock": {
                            "maximum": 9007199254740991,
                            "minimum": 0,
                            "type": "integer"
                          },
                          "originChainId": {
                            "exclusiveMinimum": 0,
                            "maximum": 9007199254740991,
                            "type": "integer"
                          },
                          "originTokenAddress": {
                            "$ref": "#/$defs/EvmAddress"
                          },
                          "runtimeCodeHash": {
                            "pattern": "^0x[0-9a-fA-F]{64}$",
                            "type": "string"
                          }
                        },
                        "required": [
                          "chainId",
                          "address",
                          "fromBlock",
                          "deploymentTxHash",
                          "deploymentBlockHash",
                          "runtimeCodeHash",
                          "originChainId",
                          "originTokenAddress",
                          "bridgeAdapterAddress"
                        ],
                        "type": "object"
                      },
                      "type": "array"
                    },
                    "stage": {
                      "enum": [
                        "test",
                        "production"
                      ],
                      "type": "string"
                    },
                    "token": {
                      "additionalProperties": false,
                      "properties": {
                        "decimals": {
                          "maximum": 30,
                          "minimum": 0,
                          "type": "integer"
                        },
                        "disclaimer": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "logoPath": {
                          "minLength": 1,
                          "type": "string"
                        },
                        "name": {
                          "minLength": 1,
                          "type": "string"
                        },
                        "symbol": {
                          "minLength": 1,
                          "type": "string"
                        },
                        "totalSupplyWei": {
                          "pattern": "^\\d+$",
                          "type": "string"
                        }
                      },
                      "required": [
                        "name",
                        "symbol",
                        "decimals",
                        "totalSupplyWei",
                        "logoPath",
                        "disclaimer"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "profileId",
                    "stage",
                    "deployed",
                    "token",
                    "origin",
                    "representations",
                    "distributors"
                  ],
                  "type": "object"
                },
                "EvmAddress": {
                  "pattern": "^0x[a-fA-F0-9]{40}$",
                  "type": "string"
                }
              },
              "additionalProperties": false,
              "properties": {
                "result": {
                  "$ref": "#/$defs/DiscoverTokenReleaseResponse"
                }
              },
              "required": [
                "result"
              ],
              "type": "object"
            },
            "annotations": {
              "destructiveHint": false,
              "idempotentHint": true,
              "openWorldHint": true,
              "permission": "none",
              "readOnlyHint": true
            }
          },
          {
            "name": "kellian_list_collateral",
            "title": "List public launch collateral tokens",
            "description": "List public launch collateral tokens (symbol, address, decimals, chainId). chainId is optional only when exactly one chain is active.",
            "inputSchema": {
              "properties": {
                "chainId": {
                  "description": "Optional only when exactly one chain is active; required when multiple chains are active.",
                  "exclusiveMinimum": 0,
                  "maximum": 9007199254740991,
                  "type": "integer"
                }
              },
              "type": "object"
            },
            "outputSchema": {
              "$defs": {
                "DiscoverCollateralResponse": {
                  "additionalProperties": false,
                  "properties": {
                    "tokens": {
                      "items": {
                        "additionalProperties": false,
                        "properties": {
                          "chainId": {
                            "maximum": 9007199254740991,
                            "minimum": -9007199254740991,
                            "type": "integer"
                          },
                          "decimals": {
                            "maximum": 30,
                            "minimum": 0,
                            "type": "integer"
                          },
                          "enabled": {
                            "type": "boolean"
                          },
                          "settlement": {
                            "enum": [
                              "onchain",
                              "committed"
                            ],
                            "type": "string"
                          },
                          "symbol": {
                            "maxLength": 16,
                            "minLength": 1,
                            "type": "string"
                          },
                          "token": {
                            "pattern": "^0x[a-fA-F0-9]{40}$",
                            "type": "string"
                          }
                        },
                        "required": [
                          "token",
                          "symbol",
                          "decimals",
                          "chainId",
                          "enabled"
                        ],
                        "type": "object"
                      },
                      "type": "array"
                    }
                  },
                  "required": [
                    "tokens"
                  ],
                  "type": "object"
                }
              },
              "additionalProperties": false,
              "properties": {
                "result": {
                  "$ref": "#/$defs/DiscoverCollateralResponse"
                }
              },
              "required": [
                "result"
              ],
              "type": "object"
            },
            "annotations": {
              "destructiveHint": false,
              "idempotentHint": true,
              "openWorldHint": true,
              "permission": "none",
              "readOnlyHint": true
            }
          },
          {
            "name": "kellian_get_contracts",
            "title": "Canonical protocol addresses, collateral capabilities, and trading approvals",
            "description": "Canonical per-chain collateral capabilities and addresses (per-collateral MarketRouter proxies, the shared OutcomeToken1155, and factories) plus the exact one-time approvals for collaterals with trading=true: approve(collateral -\u003e router, MAX) for buys (AMM + orderbook), setApprovalForAll(OutcomeToken1155 -\u003e router, true) for a LMSR or orderbook sell today — engine-scoped, so this drops out per settlement venue as each ships approval-free sells (burn-and-mint instead of a pull); check the actual /trade/prepare or /trade/simulate response for one market rather than assuming this list is permanent. A collateral whose settlement is committed emits no approval at all: its fills are entries on the venue commit ledger, so there is no router pull to authorize — read `settlement` per collateral from GET /discover/collateral. Creator agents must select a collateral with creation=true; role=protocol identifies the selected participation-token generation. Cancel and direct market-local claims need no approval. Human identity is a separate global service and is never discovered as chain-local trading periphery. All addresses are stable/permanent (UUPS) where applicable.",
            "inputSchema": {
              "properties": {
                "chainId": {
                  "description": "Optional chainId. Returns all enabled chains if omitted.",
                  "exclusiveMinimum": 0,
                  "maximum": 9007199254740991,
                  "type": "integer"
                },
                "collateral": {
                  "description": "Optional reviewed collateral symbol or token address filter.",
                  "type": "string"
                }
              },
              "type": "object"
            },
            "outputSchema": {
              "$defs": {
                "ChainId": {
                  "maximum": 9007199254740991,
                  "minimum": -9007199254740991,
                  "type": "integer"
                },
                "DiscoverContractsResponse": {
                  "additionalProperties": false,
                  "properties": {
                    "chains": {
                      "items": {
                        "additionalProperties": false,
                        "properties": {
                          "approvals": {
                            "items": {
                              "additionalProperties": false,
                              "properties": {
                                "amount": {
                                  "$ref": "#/$defs/WeiString"
                                },
                                "chainId": {
                                  "$ref": "#/$defs/ChainId"
                                },
                                "kind": {
                                  "enum": [
                                    "erc20_approve",
                                    "erc1155_set_approval_for_all"
                                  ],
                                  "type": "string"
                                },
                                "reason": {
                                  "enum": [
                                    "buy_collateral",
                                    "sell_outcome_token"
                                  ],
                                  "type": "string"
                                },
                                "spender": {
                                  "$ref": "#/$defs/EvmAddress"
                                },
                                "token": {
                                  "$ref": "#/$defs/EvmAddress"
                                }
                              },
                              "required": [
                                "kind",
                                "reason",
                                "chainId",
                                "token",
                                "spender"
                              ],
                              "type": "object"
                            },
                            "type": "array"
                          },
                          "chainId": {
                            "$ref": "#/$defs/ChainId"
                          },
                          "collaterals": {
                            "items": {
                              "additionalProperties": false,
                              "properties": {
                                "capabilities": {
                                  "additionalProperties": false,
                                  "properties": {
                                    "creation": {
                                      "type": "boolean"
                                    },
                                    "trading": {
                                      "type": "boolean"
                                    }
                                  },
                                  "required": [
                                    "trading",
                                    "creation"
                                  ],
                                  "type": "object"
                                },
                                "decimals": {
                                  "maximum": 30,
                                  "minimum": 0,
                                  "type": "integer"
                                },
                                "role": {
                                  "$ref": "#/$defs/ServedCollateralRole"
                                },
                                "router": {
                                  "$ref": "#/$defs/EvmAddress"
                                },
                                "symbol": {
                                  "maxLength": 16,
                                  "minLength": 1,
                                  "type": "string"
                                },
                                "token": {
                                  "$ref": "#/$defs/EvmAddress"
                                }
                              },
                              "required": [
                                "symbol",
                                "token",
                                "router",
                                "role",
                                "capabilities"
                              ],
                              "type": "object"
                            },
                            "type": "array"
                          },
                          "factories": {
                            "additionalProperties": false,
                            "properties": {
                              "binary": {
                                "$ref": "#/$defs/EvmAddress"
                              },
                              "orderbook": {
                                "anyOf": [
                                  {
                                    "$ref": "#/$defs/EvmAddress"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "ternary": {
                                "$ref": "#/$defs/EvmAddress"
                              }
                            },
                            "required": [
                              "binary",
                              "ternary",
                              "orderbook"
                            ],
                            "type": "object"
                          },
                          "name": {
                            "type": "string"
                          },
                          "outcomeToken": {
                            "$ref": "#/$defs/EvmAddress"
                          },
                          "routerInterface": {
                            "additionalProperties": false,
                            "properties": {
                              "abiVersion": {
                                "type": "string"
                              },
                              "functions": {
                                "additionalProperties": false,
                                "properties": {
                                  "executeBasketIntent": {
                                    "$ref": "#/$defs/RouterInterfaceFunction"
                                  },
                                  "executeTradeIntent": {
                                    "$ref": "#/$defs/RouterInterfaceFunction"
                                  }
                                },
                                "required": [
                                  "executeTradeIntent",
                                  "executeBasketIntent"
                                ],
                                "type": "object"
                              },
                              "runtimeCodeHash": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "abiVersion",
                              "runtimeCodeHash",
                              "functions"
                            ],
                            "type": "object"
                          },
                          "stable": {
                            "const": true,
                            "type": "boolean"
                          }
                        },
                        "required": [
                          "chainId",
                          "name",
                          "stable",
                          "collaterals",
                          "outcomeToken",
                          "factories",
                          "routerInterface",
                          "approvals"
                        ],
                        "type": "object"
                      },
                      "type": "array"
                    }
                  },
                  "required": [
                    "chains"
                  ],
                  "type": "object"
                },
                "EvmAddress": {
                  "pattern": "^0x[a-fA-F0-9]{40}$",
                  "type": "string"
                },
                "RouterInterfaceFunction": {
                  "additionalProperties": false,
                  "properties": {
                    "selector": {
                      "type": "string"
                    },
                    "signature": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "signature",
                    "selector"
                  ],
                  "type": "object"
                },
                "ServedCollateralRole": {
                  "maxLength": 32,
                  "minLength": 1,
                  "type": "string"
                },
                "WeiString": {
                  "pattern": "^\\d+$",
                  "type": "string"
                }
              },
              "additionalProperties": false,
              "properties": {
                "result": {
                  "$ref": "#/$defs/DiscoverContractsResponse"
                }
              },
              "required": [
                "result"
              ],
              "type": "object"
            },
            "annotations": {
              "destructiveHint": false,
              "idempotentHint": true,
              "openWorldHint": true,
              "permission": "none",
              "readOnlyHint": true
            }
          },
          {
            "name": "kellian_get_fees",
            "title": "Canonical two-lane protocol fee schedule (LMSR + ORDERBOOK factory defaults)",
            "description": "Canonical two-lane fee schedule read from live factory defaults: LMSR (buy 0% / sell+claim exit) and ORDERBOOK (place 0% / taker fee charged to the economic taker on BOTH wallet-router market orders and operator-matched signed limit fills / claim exit). Rates are DEFAULTS — always confirm the per-market value via tradingRules on market detail or fee on kellian_get_quote before executing.",
            "inputSchema": {
              "properties": {},
              "type": "object"
            },
            "outputSchema": {
              "$defs": {
                "DiscoverFeesLmsrLane": {
                  "additionalProperties": false,
                  "properties": {
                    "buyFeeBps": {
                      "const": 0,
                      "type": "number"
                    },
                    "sellExitFeeBps": {
                      "maximum": 9007199254740991,
                      "minimum": 0,
                      "type": "integer"
                    },
                    "winningsExitFeeBps": {
                      "maximum": 9007199254740991,
                      "minimum": 0,
                      "type": "integer"
                    }
                  },
                  "required": [
                    "buyFeeBps",
                    "sellExitFeeBps",
                    "winningsExitFeeBps"
                  ],
                  "type": "object"
                },
                "DiscoverFeesOrderbookLane": {
                  "additionalProperties": false,
                  "properties": {
                    "feePolicyVersion": {
                      "enum": [
                        "notional-v1",
                        "shares-v2"
                      ],
                      "type": "string"
                    },
                    "operatorBatchFeeBps": {
                      "maximum": 9007199254740991,
                      "minimum": 0,
                      "type": "integer"
                    },
                    "placeFeeBps": {
                      "const": 0,
                      "type": "number"
                    },
                    "routerTakerFeeBps": {
                      "maximum": 9007199254740991,
                      "minimum": 0,
                      "type": "integer"
                    },
                    "winningsExitFeeBps": {
                      "maximum": 9007199254740991,
                      "minimum": 0,
                      "type": "integer"
                    }
                  },
                  "required": [
                    "placeFeeBps",
                    "routerTakerFeeBps",
                    "operatorBatchFeeBps",
                    "winningsExitFeeBps"
                  ],
                  "type": "object"
                },
                "DiscoverFeesResponse": {
                  "additionalProperties": false,
                  "properties": {
                    "chainId": {
                      "maximum": 9007199254740991,
                      "minimum": -9007199254740991,
                      "type": "integer"
                    },
                    "lmsr": {
                      "$ref": "#/$defs/DiscoverFeesLmsrLane"
                    },
                    "note": {
                      "type": "string"
                    },
                    "notes": {
                      "items": {
                        "type": "string"
                      },
                      "type": "array"
                    },
                    "orderbook": {
                      "$ref": "#/$defs/DiscoverFeesOrderbookLane"
                    }
                  },
                  "required": [
                    "lmsr",
                    "orderbook",
                    "chainId"
                  ],
                  "type": "object"
                }
              },
              "additionalProperties": false,
              "properties": {
                "result": {
                  "$ref": "#/$defs/DiscoverFeesResponse"
                }
              },
              "required": [
                "result"
              ],
              "type": "object"
            },
            "annotations": {
              "destructiveHint": false,
              "idempotentHint": true,
              "openWorldHint": true,
              "permission": "none",
              "readOnlyHint": true
            }
          },
          {
            "name": "kellian_get_rules",
            "title": "Canonical public protocol rules for resolution windows, bonds, fund flows, and actor actions",
            "description": "Canonical public protocol facts: resolution timing, final review, bonds, fund flows and actor conditions. Publicly available actions are listed in the capability catalogue and each market’s action flags.",
            "inputSchema": {
              "properties": {},
              "type": "object"
            },
            "outputSchema": {
              "$defs": {
                "ProtocolRulesResponse": {
                  "additionalProperties": false,
                  "properties": {
                    "actorModel": {
                      "additionalProperties": false,
                      "properties": {
                        "challenge": {
                          "additionalProperties": false,
                          "properties": {
                            "refusedAfterWindow": {
                              "const": "CHALLENGE_WINDOW_CLOSED",
                              "type": "string"
                            },
                            "who": {
                              "const": "eligible_challenger",
                              "type": "string"
                            },
                            "window": {
                              "const": "proposal_created_to_challengeBy",
                              "type": "string"
                            }
                          },
                          "required": [
                            "who",
                            "window",
                            "refusedAfterWindow"
                          ],
                          "type": "object"
                        },
                        "council": {
                          "additionalProperties": false,
                          "properties": {
                            "limits": {
                              "items": {
                                "enum": [
                                  "cannot_act_before_human_vote_ends"
                                ],
                                "type": "string"
                              },
                              "type": "array"
                            },
                            "powers": {
                              "items": {
                                "enum": [
                                  "decide_any_valid_outcome_after_human_vote",
                                  "void_after_human_vote",
                                  "restart_for_integrity"
                                ],
                                "type": "string"
                              },
                              "type": "array"
                            }
                          },
                          "required": [
                            "powers",
                            "limits"
                          ],
                          "type": "object"
                        },
                        "creatorResolve": {
                          "additionalProperties": false,
                          "properties": {
                            "refusedAfterWindow": {
                              "const": "CREATOR_WINDOW_ELAPSED",
                              "type": "string"
                            },
                            "who": {
                              "const": "market_creator",
                              "type": "string"
                            },
                            "window": {
                              "const": "openTime_to_creatorResolveBy",
                              "type": "string"
                            }
                          },
                          "required": [
                            "who",
                            "window",
                            "refusedAfterWindow"
                          ],
                          "type": "object"
                        },
                        "vote": {
                          "additionalProperties": false,
                          "properties": {
                            "unlinkedAgentWallets": {
                              "const": "vote_by_staking",
                              "type": "string"
                            },
                            "who": {
                              "const": "any_wallet_staked",
                              "type": "string"
                            }
                          },
                          "required": [
                            "who",
                            "unlinkedAgentWallets"
                          ],
                          "type": "object"
                        }
                      },
                      "required": [
                        "creatorResolve",
                        "challenge",
                        "vote",
                        "council"
                      ],
                      "type": "object"
                    },
                    "bonds": {
                      "additionalProperties": false,
                      "properties": {
                        "challenger": {
                          "const": "equals_market_protocol_creation_bond",
                          "type": "string"
                        },
                        "creator": {
                          "additionalProperties": false,
                          "properties": {
                            "maxProtocolToken": {
                              "anyOf": [
                                {
                                  "minimum": 0,
                                  "type": "number"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "minProtocolToken": {
                              "minimum": 0,
                              "type": "number"
                            },
                            "ratioOfSeed": {
                              "minimum": 0,
                              "type": "number"
                            }
                          },
                          "required": [
                            "ratioOfSeed",
                            "minProtocolToken",
                            "maxProtocolToken"
                          ],
                          "type": "object"
                        }
                      },
                      "required": [
                        "creator",
                        "challenger"
                      ],
                      "type": "object"
                    },
                    "deadlineFields": {
                      "items": {
                        "enum": [
                          "closeTime",
                          "creatorResolveBy",
                          "challengeBy",
                          "humanVote.endsAt",
                          "councilReviewEndsAt",
                          "nextActionDeadline"
                        ],
                        "type": "string"
                      },
                      "type": "array"
                    },
                    "fundFlows": {
                      "additionalProperties": false,
                      "properties": {
                        "challengerRight": {
                          "additionalProperties": false,
                          "properties": {
                            "challenger": {
                              "maximum": 1,
                              "minimum": 0,
                              "type": "number"
                            },
                            "correctVoters": {
                              "maximum": 1,
                              "minimum": 0,
                              "type": "number"
                            },
                            "treasury": {
                              "maximum": 1,
                              "minimum": 0,
                              "type": "number"
                            }
                          },
                          "required": [
                            "challenger",
                            "treasury",
                            "correctVoters"
                          ],
                          "type": "object"
                        },
                        "challengerWrong": {
                          "additionalProperties": false,
                          "properties": {
                            "correctVoters": {
                              "maximum": 1,
                              "minimum": 0,
                              "type": "number"
                            },
                            "creator": {
                              "maximum": 1,
                              "minimum": 0,
                              "type": "number"
                            },
                            "treasury": {
                              "maximum": 1,
                              "minimum": 0,
                              "type": "number"
                            }
                          },
                          "required": [
                            "creator",
                            "treasury",
                            "correctVoters"
                          ],
                          "type": "object"
                        },
                        "creatorMia": {
                          "additionalProperties": false,
                          "properties": {
                            "miaKeeper": {
                              "additionalProperties": false,
                              "properties": {
                                "capProtocolToken": {
                                  "minimum": 0,
                                  "type": "number"
                                },
                                "shareBps": {
                                  "maximum": 9007199254740991,
                                  "minimum": 0,
                                  "type": "integer"
                                }
                              },
                              "required": [
                                "shareBps",
                                "capProtocolToken"
                              ],
                              "type": "object"
                            },
                            "seed": {
                              "const": "not_slashed",
                              "type": "string"
                            },
                            "treasury": {
                              "maximum": 1,
                              "minimum": 0,
                              "type": "number"
                            },
                            "voterPool": {
                              "const": "remainder_after_keeper_and_treasury",
                              "type": "string"
                            }
                          },
                          "required": [
                            "miaKeeper",
                            "treasury",
                            "voterPool",
                            "seed"
                          ],
                          "type": "object"
                        },
                        "creatorResolvedUnchallenged": {
                          "additionalProperties": false,
                          "properties": {
                            "bond": {
                              "const": "returned",
                              "type": "string"
                            },
                            "seed": {
                              "const": "sweepable_after_finality",
                              "type": "string"
                            }
                          },
                          "required": [
                            "bond",
                            "seed"
                          ],
                          "type": "object"
                        }
                      },
                      "required": [
                        "creatorResolvedUnchallenged",
                        "challengerRight",
                        "challengerWrong",
                        "creatorMia"
                      ],
                      "type": "object"
                    },
                    "references": {
                      "additionalProperties": false,
                      "properties": {
                        "eligibility": {
                          "const": "/discover/reputation",
                          "type": "string"
                        },
                        "fees": {
                          "const": "/discover/fees",
                          "type": "string"
                        },
                        "marketStates": {
                          "const": "/discover/market-states",
                          "type": "string"
                        },
                        "perMarketState": {
                          "const": "/discover/markets/:address/resolution-state",
                          "type": "string"
                        }
                      },
                      "required": [
                        "fees",
                        "marketStates",
                        "eligibility",
                        "perMarketState"
                      ],
                      "type": "object"
                    },
                    "resolution": {
                      "additionalProperties": false,
                      "properties": {
                        "challengeWindow": {
                          "additionalProperties": false,
                          "properties": {
                            "bond": {
                              "const": "equals_market_protocol_creation_bond",
                              "type": "string"
                            },
                            "seconds": {
                              "exclusiveMinimum": 0,
                              "maximum": 9007199254740991,
                              "type": "integer"
                            }
                          },
                          "required": [
                            "seconds",
                            "bond"
                          ],
                          "type": "object"
                        },
                        "councilReview": {
                          "additionalProperties": false,
                          "properties": {
                            "can": {
                              "items": {
                                "enum": [
                                  "decide_any_valid_outcome_after_human_vote",
                                  "void_after_human_vote",
                                  "restart_for_integrity"
                                ],
                                "type": "string"
                              },
                              "type": "array"
                            },
                            "cannot": {
                              "items": {
                                "enum": [
                                  "act_before_human_vote_ends"
                                ],
                                "type": "string"
                              },
                              "type": "array"
                            },
                            "seconds": {
                              "exclusiveMinimum": 0,
                              "maximum": 9007199254740991,
                              "type": "integer"
                            },
                            "silence": {
                              "const": "unique_vote_result_else_neutral_void",
                              "type": "string"
                            },
                            "source": {
                              "const": "signed_release_manifest",
                              "type": "string"
                            }
                          },
                          "required": [
                            "seconds",
                            "source",
                            "can",
                            "cannot",
                            "silence"
                          ],
                          "type": "object"
                        },
                        "creatorWindow": {
                          "additionalProperties": false,
                          "properties": {
                            "deadlineAnchor": {
                              "const": "closeTime",
                              "type": "string"
                            },
                            "graceSecondsAfterClose": {
                              "exclusiveMinimum": 0,
                              "maximum": 9007199254740991,
                              "type": "integer"
                            },
                            "onMiss": {
                              "additionalProperties": false,
                              "properties": {
                                "bond": {
                                  "const": "creation_bond_slashed",
                                  "type": "string"
                                },
                                "seed": {
                                  "const": "not_slashed_residual_sweepable_after_finality",
                                  "type": "string"
                                },
                                "slashSplit": {
                                  "additionalProperties": false,
                                  "properties": {
                                    "miaKeeperBps": {
                                      "maximum": 9007199254740991,
                                      "minimum": 0,
                                      "type": "integer"
                                    },
                                    "miaKeeperCapProtocolToken": {
                                      "minimum": 0,
                                      "type": "number"
                                    },
                                    "treasury": {
                                      "maximum": 1,
                                      "minimum": 0,
                                      "type": "number"
                                    },
                                    "voterPool": {
                                      "const": "remainder_after_keeper_and_treasury",
                                      "type": "string"
                                    }
                                  },
                                  "required": [
                                    "miaKeeperBps",
                                    "miaKeeperCapProtocolToken",
                                    "treasury",
                                    "voterPool"
                                  ],
                                  "type": "object"
                                },
                                "state": {
                                  "const": "creator_mia",
                                  "type": "string"
                                }
                              },
                              "required": [
                                "state",
                                "bond",
                                "seed",
                                "slashSplit"
                              ],
                              "type": "object"
                            },
                            "startsAt": {
                              "const": "openTime",
                              "type": "string"
                            }
                          },
                          "required": [
                            "startsAt",
                            "deadlineAnchor",
                            "graceSecondsAfterClose",
                            "onMiss"
                          ],
                          "type": "object"
                        },
                        "humanVote": {
                          "additionalProperties": false,
                          "properties": {
                            "ballotWeight": {
                              "const": "one_staked_ballot_one_equal_vote",
                              "type": "string"
                            },
                            "deadlineImmutable": {
                              "const": true,
                              "type": "boolean"
                            },
                            "eligibility": {
                              "additionalProperties": false,
                              "properties": {
                                "allBallotsStaked": {
                                  "const": true,
                                  "type": "boolean"
                                },
                                "correctStakeOutcome": {
                                  "const": "refunded_plus_share_of_slashed_stakes_and_reward_pool",
                                  "type": "string"
                                },
                                "incorrectStakeOutcome": {
                                  "const": "slashed_to_session_correct_voters",
                                  "type": "string"
                                },
                                "linkedAgentWalletsMayVoteForOwnIdentity": {
                                  "const": true,
                                  "type": "boolean"
                                },
                                "nonBindingSessionStakeOutcome": {
                                  "const": "refunded_in_full",
                                  "type": "string"
                                },
                                "oneBallotPerVoter": {
                                  "const": true,
                                  "type": "boolean"
                                },
                                "oneVotePerVerifiedIdentity": {
                                  "const": true,
                                  "type": "boolean"
                                },
                                "stakeSource": {
                                  "const": "economy.voting.unverifiedStakePm",
                                  "type": "string"
                                },
                                "tierGateReference": {
                                  "const": "/discover/reputation",
                                  "type": "string"
                                },
                                "unlinkedAgentWalletsRefused": {
                                  "const": false,
                                  "type": "boolean"
                                },
                                "verifiedIdentityRequired": {
                                  "const": false,
                                  "type": "boolean"
                                }
                              },
                              "required": [
                                "verifiedIdentityRequired",
                                "oneVotePerVerifiedIdentity",
                                "linkedAgentWalletsMayVoteForOwnIdentity",
                                "unlinkedAgentWalletsRefused",
                                "allBallotsStaked",
                                "stakeSource",
                                "oneBallotPerVoter",
                                "correctStakeOutcome",
                                "incorrectStakeOutcome",
                                "nonBindingSessionStakeOutcome",
                                "tierGateReference"
                              ],
                              "type": "object"
                            },
                            "quorum": {
                              "additionalProperties": false,
                              "properties": {
                                "exposureMetric": {
                                  "const": "market_locked_collateral_wei",
                                  "type": "string"
                                },
                                "highExposure": {
                                  "maximum": 9007199254740991,
                                  "minimum": 1,
                                  "type": "integer"
                                },
                                "highExposureThresholds": {
                                  "items": {
                                    "additionalProperties": false,
                                    "properties": {
                                      "collateralAddress": {
                                        "pattern": "^0x[a-fA-F0-9]{40}$",
                                        "type": "string"
                                      },
                                      "thresholdWei": {
                                        "pattern": "^[1-9][0-9]*$",
                                        "type": "string"
                                      }
                                    },
                                    "required": [
                                      "collateralAddress",
                                      "thresholdWei"
                                    ],
                                    "type": "object"
                                  },
                                  "minItems": 1,
                                  "type": "array"
                                },
                                "lowExposure": {
                                  "maximum": 9007199254740991,
                                  "minimum": 1,
                                  "type": "integer"
                                },
                                "source": {
                                  "const": "signed_release_manifest",
                                  "type": "string"
                                },
                                "thresholdPolicyHash": {
                                  "pattern": "^0x[0-9a-f]{64}$",
                                  "type": "string"
                                }
                              },
                              "required": [
                                "lowExposure",
                                "highExposure",
                                "exposureMetric",
                                "highExposureThresholds",
                                "thresholdPolicyHash",
                                "source"
                              ],
                              "type": "object"
                            },
                            "reputationAffectsTally": {
                              "const": false,
                              "type": "boolean"
                            },
                            "result": {
                              "additionalProperties": false,
                              "properties": {
                                "belowQuorum": {
                                  "const": "no_quorum",
                                  "type": "string"
                                },
                                "tieAtQuorum": {
                                  "const": "deadlock",
                                  "type": "string"
                                },
                                "uniqueHighestAtQuorum": {
                                  "const": "guidance_default_if_council_silent",
                                  "type": "string"
                                }
                              },
                              "required": [
                                "uniqueHighestAtQuorum",
                                "tieAtQuorum",
                                "belowQuorum"
                              ],
                              "type": "object"
                            },
                            "sessions": {
                              "const": 1,
                              "type": "number"
                            },
                            "windowSeconds": {
                              "exclusiveMinimum": 0,
                              "maximum": 9007199254740991,
                              "type": "integer"
                            },
                            "windowStartsAt": {
                              "const": "session_open",
                              "type": "string"
                            }
                          },
                          "required": [
                            "sessions",
                            "windowSeconds",
                            "windowStartsAt",
                            "deadlineImmutable",
                            "ballotWeight",
                            "reputationAffectsTally",
                            "quorum",
                            "result",
                            "eligibility"
                          ],
                          "type": "object"
                        }
                      },
                      "required": [
                        "creatorWindow",
                        "challengeWindow",
                        "humanVote",
                        "councilReview"
                      ],
                      "type": "object"
                    },
                    "rulesVersion": {
                      "const": "2026-08-28-staked-voting-v1",
                      "type": "string"
                    }
                  },
                  "required": [
                    "rulesVersion",
                    "resolution",
                    "bonds",
                    "fundFlows",
                    "actorModel",
                    "deadlineFields",
                    "references"
                  ],
                  "type": "object"
                }
              },
              "additionalProperties": false,
              "properties": {
                "result": {
                  "$ref": "#/$defs/ProtocolRulesResponse"
                }
              },
              "required": [
                "result"
              ],
              "type": "object"
            },
            "annotations": {
              "destructiveHint": false,
              "idempotentHint": true,
              "openWorldHint": true,
              "permission": "none",
              "readOnlyHint": true
            }
          },
          {
            "name": "kellian_list_leaderboard",
            "title": "Public participant leaderboard",
            "description": "Ranked public leaderboard, the same data people see. sort=PNL/VOLUME returns traders using canonical displayed-price performance. Legacy sort=RETURN aliases PNL; return percentage fields are null. Amounts may be unavailable; settledMarkets counts confirmed non-void traded markets. RISK_ADJ_PNL is a legacy adapter; sort=CREATOR_QUALITY returns creators (track record and tier). Every row carries its participant identity and reputation tier.",
            "inputSchema": {
              "$defs": {
                "LeaderboardPeriod": {
                  "description": "Window the board covers: `7d` is THIS CALENDAR WEEK (from Monday 00:00 UTC) and `30d` THIS CALENDAR MONTH — calendar windows since 2026-09-18, not trailing days; the keys are kept because this enum never renames a member. `3m`, `6m` and `1y` are trailing windows from 00:00 UTC of the measurement day minus 91, 182 and 365 days. `all` is the life score. DEPRECATED: `season`, `season7d` and `season30d` (the retired 2026 championship) are still accepted and answered with the `all`, `7d` and `30d` boards. OPEN enum: windows are added over time — tolerate unseen values.",
                  "enum": [
                    "7d",
                    "30d",
                    "all",
                    "season",
                    "season7d",
                    "season30d",
                    "3m",
                    "6m",
                    "1y"
                  ],
                  "type": "string",
                  "x-extensible-enum": true
                },
                "LeaderboardSort": {
                  "description": "Board ordering. `MARKETS`, `SETTLED` and `WINS` rank the table's count columns; `WIN_RATE` ranks Wins ÷ Settled among accounts with enough settled markets; `ROI` ranks P\u0026L ÷ PM spent over closed calls (sold out, or held to a resolved winner) among accounts with enough of them. Ties on any board are ordered by Volume, then P\u0026L. OPEN enum: boards are added over time — tolerate unseen values.",
                  "enum": [
                    "PNL",
                    "VOLUME",
                    "RISK_ADJ_PNL",
                    "CREATOR_QUALITY",
                    "VOTERS",
                    "RETURN",
                    "MARKETS",
                    "SETTLED",
                    "WINS",
                    "WIN_RATE",
                    "ROI"
                  ],
                  "type": "string",
                  "x-extensible-enum": true
                },
                "ServedCollateralSymbol": {
                  "description": "Collateral symbol as this venue currently offers it. Read the live set from GET /markets/config or GET /discover/contracts rather than assuming the set in this document.",
                  "maxLength": 16,
                  "minLength": 1,
                  "type": "string"
                }
              },
              "properties": {
                "category": {
                  "default": "ALL",
                  "description": "Market category for PNL and VOLUME.",
                  "enum": [
                    "ALL",
                    "CRYPTO",
                    "SPORTS",
                    "POLITICS",
                    "ELECTIONS",
                    "FINANCE",
                    "TECH",
                    "WORLD",
                    "ECONOMY",
                    "CULTURE",
                    "WEATHER",
                    "SCIENCE_HEALTH",
                    "AI",
                    "GAMING",
                    "BUSINESS",
                    "FASHION",
                    "MOVIES_TV",
                    "MUSIC",
                    "SHOPPING",
                    "BEAUTY",
                    "TRAVEL",
                    "CLIMATE",
                    "DAILY_LIFE",
                    "LOCAL",
                    "SOCIAL",
                    "FUN",
                    "OTHER"
                  ],
                  "type": "string"
                },
                "collateral": {
                  "$ref": "#/$defs/ServedCollateralSymbol",
                  "description": "Collateral symbol whose board to read. Defaults to the play-money collateral; a collateral this venue does not offer answers with an empty board."
                },
                "generation": {
                  "description": "Pin the generation from the preceding leaderboard response.",
                  "format": "uuid",
                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                  "type": "string"
                },
                "limit": {
                  "default": 50,
                  "maximum": 100,
                  "minimum": 1,
                  "type": "integer"
                },
                "offset": {
                  "default": 0,
                  "maximum": 200,
                  "minimum": 0,
                  "type": "integer"
                },
                "period": {
                  "$ref": "#/$defs/LeaderboardPeriod",
                  "default": "7d",
                  "description": "7d (this calendar week from Monday 00:00 UTC), 30d (this calendar month), 3m, 6m or 1y (trailing from 00:00 UTC of today minus 91, 182 or 365 days), or all (the life score). Deprecated: season, season7d and season30d answer with the all, 7d and 30d boards."
                },
                "sort": {
                  "$ref": "#/$defs/LeaderboardSort",
                  "default": "PNL",
                  "description": "PNL, VOLUME (traders). Legacy RETURN aliases PNL. RISK_ADJ_PNL is legacy. CREATOR_QUALITY (creators)."
                }
              },
              "type": "object"
            },
            "outputSchema": {
              "$defs": {
                "EvmAddress": {
                  "pattern": "^0x[a-fA-F0-9]{40}$",
                  "type": "string"
                },
                "ExactTradingRatio": {
                  "additionalProperties": false,
                  "properties": {
                    "denominator": {
                      "maxLength": 4096,
                      "pattern": "^[1-9][0-9]*$",
                      "type": "string"
                    },
                    "numerator": {
                      "maxLength": 4096,
                      "pattern": "^-?(0|[1-9][0-9]*)$",
                      "type": "string"
                    }
                  },
                  "required": [
                    "numerator",
                    "denominator"
                  ],
                  "type": "object"
                },
                "LeaderboardMeasurement": {
                  "additionalProperties": false,
                  "properties": {
                    "asOf": {
                      "format": "date-time",
                      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                      "type": "string"
                    },
                    "availableAccounts": {
                      "maximum": 9007199254740991,
                      "minimum": 0,
                      "type": "integer"
                    },
                    "category": {
                      "type": "string"
                    },
                    "evaluatedAccounts": {
                      "maximum": 9007199254740991,
                      "minimum": 0,
                      "type": "integer"
                    },
                    "generation": {
                      "type": "string"
                    },
                    "markMethod": {
                      "const": "displayed-market-price-v1",
                      "type": "string"
                    },
                    "methodVersion": {
                      "const": "committed-pm-trading-account-v2",
                      "type": "string"
                    },
                    "period": {
                      "additionalProperties": false,
                      "properties": {
                        "end": {
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "type": "string"
                        },
                        "kind": {
                          "$ref": "#/$defs/LeaderboardPeriod"
                        },
                        "start": {
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "type": "string"
                        }
                      },
                      "required": [
                        "kind",
                        "start",
                        "end"
                      ],
                      "type": "object"
                    },
                    "scope": {
                      "enum": [
                        "committed_trading_account",
                        "committed_trading_category"
                      ],
                      "type": "string"
                    },
                    "sort": {
                      "enum": [
                        "PNL",
                        "VOLUME",
                        "RISK_ADJ_PNL",
                        "CREATOR_QUALITY",
                        "VOTERS",
                        "RETURN",
                        "MARKETS",
                        "SETTLED",
                        "WINS",
                        "WIN_RATE",
                        "ROI"
                      ],
                      "type": "string",
                      "x-extensible-enum": true
                    },
                    "stale": {
                      "type": "boolean"
                    },
                    "unit": {
                      "additionalProperties": false,
                      "properties": {
                        "cashValue": {
                          "const": false,
                          "type": "boolean"
                        },
                        "decimals": {
                          "maximum": 9007199254740991,
                          "minimum": 0,
                          "type": "integer"
                        },
                        "symbol": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "symbol",
                        "decimals",
                        "cashValue"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "methodVersion",
                    "markMethod",
                    "unit",
                    "scope",
                    "category",
                    "sort",
                    "generation",
                    "period",
                    "asOf",
                    "stale",
                    "evaluatedAccounts",
                    "availableAccounts"
                  ],
                  "type": "object"
                },
                "LeaderboardPeriod": {
                  "enum": [
                    "7d",
                    "30d",
                    "all",
                    "season",
                    "season7d",
                    "season30d",
                    "3m",
                    "6m",
                    "1y"
                  ],
                  "type": "string",
                  "x-extensible-enum": true
                },
                "LeaderboardResponse": {
                  "anyOf": [
                    {
                      "additionalProperties": false,
                      "properties": {
                        "hasMore": {
                          "type": "boolean"
                        },
                        "measurement": {
                          "$ref": "#/$defs/LeaderboardMeasurement"
                        },
                        "minClosedCallsToRank": {
                          "maximum": 9007199254740991,
                          "minimum": 1,
                          "type": "integer"
                        },
                        "minSettledMarketsToRank": {
                          "maximum": 9007199254740991,
                          "minimum": 1,
                          "type": "integer"
                        },
                        "period": {
                          "$ref": "#/$defs/LeaderboardPeriod"
                        },
                        "total": {
                          "maximum": 9007199254740991,
                          "minimum": 0,
                          "type": "integer"
                        },
                        "traders": {
                          "items": {
                            "additionalProperties": false,
                            "properties": {
                              "address": {
                                "$ref": "#/$defs/EvmAddress"
                              },
                              "closedCalls": {
                                "anyOf": [
                                  {
                                    "maximum": 9007199254740991,
                                    "minimum": 0,
                                    "type": "integer"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "identity": {
                                "anyOf": [
                                  {
                                    "$ref": "#/$defs/WalletIdentity"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "losses": {
                                "anyOf": [
                                  {
                                    "maximum": 9007199254740991,
                                    "minimum": 0,
                                    "type": "integer"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "marketsTraded": {
                                "maximum": 9007199254740991,
                                "minimum": 0,
                                "type": "integer"
                              },
                              "performance": {
                                "additionalProperties": false,
                                "properties": {
                                  "pnl": {
                                    "anyOf": [
                                      {
                                        "$ref": "#/$defs/ExactTradingRatio"
                                      },
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  },
                                  "return": {
                                    "anyOf": [
                                      {
                                        "$ref": "#/$defs/ExactTradingRatio"
                                      },
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  },
                                  "volumeWei": {
                                    "anyOf": [
                                      {
                                        "maxLength": 256,
                                        "pattern": "^-?(0|[1-9][0-9]*)$",
                                        "type": "string"
                                      },
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  }
                                },
                                "required": [
                                  "pnl",
                                  "return",
                                  "volumeWei"
                                ],
                                "type": "object"
                              },
                              "pnl": {
                                "anyOf": [
                                  {
                                    "pattern": "^-?\\d+(?:\\.\\d+)?$",
                                    "type": "string"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "rank": {
                                "exclusiveMinimum": 0,
                                "maximum": 9007199254740991,
                                "type": "integer"
                              },
                              "reputationTier": {
                                "anyOf": [
                                  {
                                    "$ref": "#/$defs/ReputationTier"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "returnPercent": {
                                "anyOf": [
                                  {
                                    "pattern": "^-?\\d+(?:\\.\\d+)?$",
                                    "type": "string"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "riskAdjustedPnl": {
                                "pattern": "^-?\\d+(?:\\.\\d+)?$",
                                "type": "string"
                              },
                              "roiPercent": {
                                "anyOf": [
                                  {
                                    "pattern": "^-?\\d+(?:\\.\\d+)?$",
                                    "type": "string"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "settledMarkets": {
                                "anyOf": [
                                  {
                                    "maximum": 9007199254740991,
                                    "minimum": 0,
                                    "type": "integer"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "sourceRevision": {
                                "type": "string"
                              },
                              "unavailableReasons": {
                                "items": {
                                  "type": "string"
                                },
                                "type": "array"
                              },
                              "volume": {
                                "anyOf": [
                                  {
                                    "pattern": "^\\d+(?:\\.\\d+)?$",
                                    "type": "string"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "winRate": {
                                "anyOf": [
                                  {
                                    "maximum": 100,
                                    "minimum": 0,
                                    "type": "number"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "wins": {
                                "anyOf": [
                                  {
                                    "maximum": 9007199254740991,
                                    "minimum": 0,
                                    "type": "integer"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              }
                            },
                            "required": [
                              "rank",
                              "address",
                              "pnl",
                              "volume",
                              "marketsTraded",
                              "wins",
                              "losses",
                              "winRate",
                              "reputationTier"
                            ],
                            "type": "object"
                          },
                          "type": "array"
                        },
                        "updatedAt": {
                          "type": [
                            "string",
                            "null"
                          ]
                        }
                      },
                      "required": [
                        "updatedAt",
                        "total",
                        "hasMore",
                        "traders"
                      ],
                      "type": "object"
                    },
                    {
                      "additionalProperties": false,
                      "properties": {
                        "creators": {
                          "items": {
                            "additionalProperties": false,
                            "properties": {
                              "address": {
                                "$ref": "#/$defs/EvmAddress"
                              },
                              "cleanResolutionRate": {
                                "anyOf": [
                                  {
                                    "maximum": 100,
                                    "minimum": 0,
                                    "type": "number"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "identity": {
                                "anyOf": [
                                  {
                                    "$ref": "#/$defs/WalletIdentity"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "marketsCreated": {
                                "maximum": 9007199254740991,
                                "minimum": 0,
                                "type": "integer"
                              },
                              "marketsOverturned": {
                                "maximum": 9007199254740991,
                                "minimum": 0,
                                "type": "integer"
                              },
                              "marketsVoided": {
                                "maximum": 9007199254740991,
                                "minimum": 0,
                                "type": "integer"
                              },
                              "rank": {
                                "exclusiveMinimum": 0,
                                "maximum": 9007199254740991,
                                "type": "integer"
                              },
                              "reputationTier": {
                                "anyOf": [
                                  {
                                    "$ref": "#/$defs/ReputationTier"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "resolvedCount": {
                                "maximum": 9007199254740991,
                                "minimum": 0,
                                "type": "integer"
                              },
                              "tier": {
                                "$ref": "#/$defs/ReputationTier"
                              },
                              "upheldRate": {
                                "anyOf": [
                                  {
                                    "maximum": 100,
                                    "minimum": 0,
                                    "type": "number"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              }
                            },
                            "required": [
                              "rank",
                              "address",
                              "tier",
                              "marketsCreated",
                              "resolvedCount",
                              "marketsVoided",
                              "marketsOverturned",
                              "upheldRate",
                              "cleanResolutionRate",
                              "reputationTier"
                            ],
                            "type": "object"
                          },
                          "type": "array"
                        },
                        "generatedAt": {
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "type": "string"
                        },
                        "hasMore": {
                          "type": "boolean"
                        },
                        "measurement": {
                          "$ref": "#/$defs/LeaderboardMeasurement"
                        },
                        "period": {
                          "$ref": "#/$defs/LeaderboardPeriod"
                        },
                        "total": {
                          "maximum": 9007199254740991,
                          "minimum": 0,
                          "type": "integer"
                        },
                        "updatedAt": {
                          "type": [
                            "string",
                            "null"
                          ]
                        }
                      },
                      "required": [
                        "updatedAt",
                        "total",
                        "hasMore",
                        "creators"
                      ],
                      "type": "object"
                    },
                    {
                      "additionalProperties": false,
                      "properties": {
                        "generatedAt": {
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "type": "string"
                        },
                        "hasMore": {
                          "type": "boolean"
                        },
                        "measurement": {
                          "$ref": "#/$defs/LeaderboardMeasurement"
                        },
                        "period": {
                          "$ref": "#/$defs/LeaderboardPeriod"
                        },
                        "total": {
                          "maximum": 9007199254740991,
                          "minimum": 0,
                          "type": "integer"
                        },
                        "updatedAt": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "voters": {
                          "items": {
                            "additionalProperties": false,
                            "properties": {
                              "accuracy": {
                                "anyOf": [
                                  {
                                    "maximum": 100,
                                    "minimum": 0,
                                    "type": "number"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "address": {
                                "$ref": "#/$defs/EvmAddress"
                              },
                              "correctCount": {
                                "anyOf": [
                                  {
                                    "maximum": 9007199254740991,
                                    "minimum": 0,
                                    "type": "integer"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "identity": {
                                "anyOf": [
                                  {
                                    "$ref": "#/$defs/WalletIdentity"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "rank": {
                                "exclusiveMinimum": 0,
                                "maximum": 9007199254740991,
                                "type": "integer"
                              },
                              "reputationTier": {
                                "anyOf": [
                                  {
                                    "$ref": "#/$defs/ReputationTier"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "rewardTotal": {
                                "type": "string"
                              },
                              "voteCount": {
                                "maximum": 9007199254740991,
                                "minimum": 0,
                                "type": "integer"
                              }
                            },
                            "required": [
                              "rank",
                              "address",
                              "rewardTotal",
                              "voteCount",
                              "correctCount",
                              "accuracy",
                              "reputationTier"
                            ],
                            "type": "object"
                          },
                          "type": "array"
                        }
                      },
                      "required": [
                        "updatedAt",
                        "total",
                        "hasMore",
                        "voters"
                      ],
                      "type": "object"
                    }
                  ]
                },
                "ReputationTier": {
                  "enum": [
                    "banned",
                    "new",
                    "established",
                    "trusted",
                    "expert",
                    "legend"
                  ],
                  "type": "string"
                },
                "WalletIdentity": {
                  "additionalProperties": false,
                  "properties": {
                    "actorType": {
                      "anyOf": [
                        {
                          "enum": [
                            "human",
                            "agent",
                            "venue"
                          ],
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "avatarUrl": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "displayName": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "generatedName": {
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "required": [
                    "displayName",
                    "generatedName",
                    "avatarUrl"
                  ],
                  "type": "object"
                }
              },
              "additionalProperties": false,
              "properties": {
                "result": {
                  "$ref": "#/$defs/LeaderboardResponse"
                }
              },
              "required": [
                "result"
              ],
              "type": "object"
            },
            "annotations": {
              "destructiveHint": false,
              "idempotentHint": true,
              "openWorldHint": true,
              "permission": "none",
              "readOnlyHint": true
            }
          },
          {
            "name": "kellian_get_market_state",
            "title": "Canonical market-state graph",
            "description": "Get marketState, lifecycleStage, stageDeadline, tradingEndsAt and outcome.",
            "inputSchema": {
              "properties": {
                "chainId": {
                  "type": "number"
                },
                "marketAddress": {
                  "type": "string"
                }
              },
              "required": [
                "marketAddress"
              ],
              "type": "object"
            },
            "outputSchema": {
              "$defs": {
                "MarketLifecycleStage": {
                  "enum": [
                    "open",
                    "closed",
                    "result_proposed",
                    "result_challenged",
                    "vote_open",
                    "vote_closed",
                    "under_review",
                    "resolved",
                    "voided"
                  ],
                  "type": "string"
                },
                "McpMarketStateResponse": {
                  "additionalProperties": false,
                  "properties": {
                    "market": {
                      "additionalProperties": false,
                      "properties": {
                        "address": {
                          "pattern": "^0x[a-fA-F0-9]{40}$",
                          "type": "string"
                        },
                        "lifecycleStage": {
                          "$ref": "#/$defs/MarketLifecycleStage"
                        },
                        "marketState": {
                          "enum": [
                            "open",
                            "closed",
                            "creator_proposal",
                            "challenge",
                            "human_voting",
                            "council_review",
                            "resolved",
                            "void"
                          ],
                          "type": "string"
                        },
                        "outcome": {
                          "anyOf": [
                            {
                              "maximum": 9007199254740991,
                              "minimum": -9007199254740991,
                              "type": "integer"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "stageDeadline": {
                          "anyOf": [
                            {
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "tradingEndsAt": {
                          "anyOf": [
                            {
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        }
                      },
                      "required": [
                        "address",
                        "marketState",
                        "tradingEndsAt",
                        "lifecycleStage",
                        "stageDeadline",
                        "outcome"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "market"
                  ],
                  "type": "object"
                }
              },
              "additionalProperties": false,
              "properties": {
                "result": {
                  "$ref": "#/$defs/McpMarketStateResponse"
                }
              },
              "required": [
                "result"
              ],
              "type": "object"
            },
            "annotations": {
              "destructiveHint": false,
              "idempotentHint": true,
              "openWorldHint": true,
              "permission": "none",
              "readOnlyHint": true
            }
          },
          {
            "name": "kellian_discover_renderers",
            "title": "Native renderer catalog (UI hint)",
            "description": "List the built-in market surface renderer types with data schemas and examples. Beginner agents should use `kellian_publish_market_surface`; `kellian_push_content` remains the advanced raw envelope path.",
            "inputSchema": {
              "properties": {},
              "type": "object"
            },
            "outputSchema": {
              "$defs": {
                "DiscoverRenderersResponse": {
                  "additionalProperties": false,
                  "properties": {
                    "maxDataSize": {
                      "exclusiveMinimum": 0,
                      "maximum": 9007199254740991,
                      "type": "integer"
                    },
                    "note": {
                      "type": "string"
                    },
                    "pushEndpoint": {
                      "type": "string"
                    },
                    "renderers": {
                      "items": {
                        "additionalProperties": false,
                        "properties": {
                          "description": {
                            "type": "string"
                          },
                          "example": {
                            "additionalProperties": {},
                            "propertyNames": {
                              "type": "string"
                            },
                            "type": "object"
                          },
                          "fallbackRenderer": {
                            "type": "string"
                          },
                          "frontendNative": {
                            "type": "boolean"
                          },
                          "renderer": {
                            "type": "string"
                          },
                          "schema": {
                            "additionalProperties": {},
                            "propertyNames": {
                              "type": "string"
                            },
                            "type": "object"
                          },
                          "supportedChannels": {
                            "items": {
                              "enum": [
                                "agent_api",
                                "wallet_self_serve"
                              ],
                              "type": "string"
                            },
                            "type": "array"
                          }
                        },
                        "required": [
                          "renderer",
                          "description",
                          "schema",
                          "example",
                          "supportedChannels",
                          "frontendNative",
                          "fallbackRenderer"
                        ],
                        "type": "object"
                      },
                      "type": "array"
                    },
                    "specVersion": {
                      "exclusiveMinimum": 0,
                      "maximum": 9007199254740991,
                      "type": "integer"
                    },
                    "surfaceEndpoint": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "specVersion",
                    "renderers",
                    "surfaceEndpoint",
                    "pushEndpoint",
                    "maxDataSize",
                    "note"
                  ],
                  "type": "object"
                }
              },
              "additionalProperties": false,
              "properties": {
                "result": {
                  "$ref": "#/$defs/DiscoverRenderersResponse"
                }
              },
              "required": [
                "result"
              ],
              "type": "object"
            },
            "annotations": {
              "destructiveHint": false,
              "idempotentHint": true,
              "openWorldHint": true,
              "permission": "none",
              "readOnlyHint": true
            }
          },
          {
            "name": "kellian_get_my_reputation",
            "title": "Reputation for the authenticated agent",
            "description": "The authenticated agent's own reputation tiers and available capability gates. Same slice as the `reputation` field on kellian_get_me, exposed standalone for callers that only need this.",
            "inputSchema": {
              "properties": {},
              "type": "object"
            },
            "outputSchema": {
              "$defs": {
                "ReputationResponse": {
                  "additionalProperties": false,
                  "properties": {
                    "creatorTier": {
                      "$ref": "#/$defs/ReputationTier"
                    },
                    "jurorTier": {
                      "$ref": "#/$defs/ReputationTier"
                    },
                    "tierGates": {
                      "additionalProperties": false,
                      "properties": {
                        "canChallenge": {
                          "type": "boolean"
                        },
                        "canVote": {
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "canVote",
                        "canChallenge"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "creatorTier",
                    "jurorTier",
                    "tierGates"
                  ],
                  "type": "object"
                },
                "ReputationTier": {
                  "enum": [
                    "banned",
                    "new",
                    "established",
                    "trusted",
                    "expert",
                    "legend"
                  ],
                  "type": "string"
                }
              },
              "additionalProperties": false,
              "properties": {
                "result": {
                  "$ref": "#/$defs/ReputationResponse"
                }
              },
              "required": [
                "result"
              ],
              "type": "object"
            },
            "annotations": {
              "destructiveHint": false,
              "idempotentHint": true,
              "openWorldHint": true,
              "permission": "api-key-read",
              "readOnlyHint": true
            }
          },
          {
            "name": "kellian_list_markets",
            "title": "Paginated list of active markets",
            "description": "Use this when someone names an event or a topic and wants its prediction-market question or odds: pass the words as `search`. List prediction markets on Kellian. Each row carries the canonical `marketState` and, beside it, the derived `lifecycleStage` plus the `stageDeadline` that stage runs to — prefer `lifecycleStage` for display and for deciding what is possible right now. `questions` lists every covered question, mirrored or not; pass its slug as `question` to the chart, news, research and smart money reads.\n\nExamples: List live CRYPTO markets on Base",
            "inputSchema": {
              "$defs": {
                "EvmAddress": {
                  "description": "Checksummed or lowercase 20-byte EVM address (0x + 40 hex).",
                  "pattern": "^0x[a-fA-F0-9]{40}$",
                  "type": "string"
                },
                "MarketState": {
                  "description": "Canonical market state shared by every protocol surface.",
                  "enum": [
                    "open",
                    "closed",
                    "creator_proposal",
                    "challenge",
                    "human_voting",
                    "council_review",
                    "resolved",
                    "void"
                  ],
                  "type": "string"
                }
              },
              "properties": {
                "category": {
                  "enum": [
                    "CRYPTO",
                    "SPORTS",
                    "POLITICS",
                    "ELECTIONS",
                    "FINANCE",
                    "TECH",
                    "WORLD",
                    "ECONOMY",
                    "CULTURE",
                    "WEATHER",
                    "SCIENCE_HEALTH",
                    "AI",
                    "GAMING",
                    "BUSINESS",
                    "FASHION",
                    "MOVIES_TV",
                    "MUSIC",
                    "SHOPPING",
                    "BEAUTY",
                    "TRAVEL",
                    "CLIMATE",
                    "DAILY_LIFE",
                    "LOCAL",
                    "SOCIAL",
                    "FUN",
                    "OTHER"
                  ],
                  "type": "string"
                },
                "chainId": {
                  "type": "number"
                },
                "creator": {
                  "$ref": "#/$defs/EvmAddress",
                  "description": "Filter to markets whose on-chain creator wallet matches this address."
                },
                "cursor": {
                  "description": "Keyset cursor from a prior response nextCursor.",
                  "type": "string"
                },
                "marketState": {
                  "$ref": "#/$defs/MarketState",
                  "description": "Exact canonical market-state filter."
                },
                "pageSize": {
                  "default": 20,
                  "maximum": 100,
                  "minimum": 1,
                  "type": "integer"
                },
                "pricingModel": {
                  "description": "Filter by pricing engine: 'ORDERBOOK' = central limit order book markets; 'automated' = automated-market-maker markets.",
                  "enum": [
                    "automated",
                    "ORDERBOOK"
                  ],
                  "type": "string"
                },
                "search": {
                  "description": "Free-text search over the market question.",
                  "maxLength": 200,
                  "minLength": 2,
                  "type": "string"
                },
                "sort": {
                  "default": "new",
                  "description": "Sort order. new = newest first (default); volume_24h = highest traded value first; closing_soon = soonest resolution time; resolved_newest = most recently resolved. The keyset `cursor` only applies to `new`.",
                  "enum": [
                    "new",
                    "volume_24h",
                    "closing_soon",
                    "resolved_newest"
                  ],
                  "type": "string"
                },
                "sourceConditionId": {
                  "description": "Source market condition ID: lists the markets whose `resolutionSource` is `{type: 'polymarket', conditionId}` with this ID.",
                  "pattern": "^0x[0-9a-fA-F]{64}$",
                  "type": "string"
                },
                "sourceTokenId": {
                  "description": "Source outcome token ID, in decimal as the source market's orders name it: lists the market that follows it, each row carrying `sourceToken.side`, the order side that is that outcome.",
                  "pattern": "^[0-9]{1,78}$",
                  "type": "string"
                },
                "view": {
                  "description": "full (default): the whole rows. compact: the questions first, then each market's question, chance, stage and trading end.",
                  "enum": [
                    "full",
                    "compact"
                  ],
                  "type": "string"
                }
              },
              "type": "object"
            },
            "outputSchema": {
              "$defs": {
                "ErrorReason": {
                  "enum": [
                    "AUTH_REQUIRED",
                    "WALLET_AUTH_REQUIRED",
                    "WALLET_AUTH_INVALID",
                    "INSUFFICIENT_TIER",
                    "FORBIDDEN",
                    "FEATURE_DISABLED",
                    "SERVICE_UNAVAILABLE_IN_REGION",
                    "NOT_ORB_VERIFIED",
                    "NOT_AUTHORIZED",
                    "NOT_MARKET_CREATOR",
                    "CALLER_NOT_CREATOR",
                    "AGENT_WALLET_CANNOT_VOTE",
                    "WALLET_REQUIRED",
                    "EMAIL_NOT_VERIFIED",
                    "EMAIL_ALREADY_REGISTERED",
                    "WALLET_ADDRESS_MISMATCH",
                    "WALLET_PARAM_NOT_ALLOWED",
                    "OWNER_ID_MISMATCH",
                    "OWNERSHIP_MISMATCH",
                    "OWNERSHIP_PROOF_REQUIRED",
                    "WALLET_MISMATCH",
                    "KEY_LIMIT_REACHED",
                    "SCOPE_WIDENING_DENIED",
                    "INVALID_REQUEST",
                    "INVALID_PAYLOAD",
                    "INVALID_QUERY",
                    "INVALID_HEADER",
                    "MISSING_FIELDS",
                    "INVALID_ID",
                    "INVALID_SCOPES",
                    "INVALID_SPENDING_LIMIT",
                    "INVALID_EXPIRES_AT",
                    "INVALID_WEBHOOK_URL",
                    "WEBHOOK_LIMIT_REACHED",
                    "KEY_ALREADY_REVOKED",
                    "MARKET_ID_REQUIRED",
                    "INVALID_OUTCOME",
                    "INVALID_CHAIN",
                    "INVALID_COLLATERAL",
                    "MISSING_COLLATERAL",
                    "INVALID_QUESTION",
                    "QUESTION_TOO_LONG",
                    "INVALID_SNAPSHOT",
                    "BATCH_TOO_LARGE",
                    "MAX_DEPTH_EXCEEDED",
                    "AMOUNT_ABOVE_MAXIMUM",
                    "AMOUNT_BELOW_MINIMUM",
                    "AMOUNT_BELOW_MINIMUM_FILL",
                    "AMOUNT_NOT_MULTIPLE",
                    "PRICE_OFF_TICK",
                    "ORDER_EXPIRY_TOO_SOON",
                    "BELOW_MINIMUM",
                    "OUTCOME_UNKNOWN",
                    "NOT_TWO_OUTCOMES",
                    "EXPIRY_TOO_SOON",
                    "MARKET_UNAVAILABLE",
                    "TRADING_ENDED",
                    "NO_LIQUIDITY",
                    "INSUFFICIENT_BALANCE",
                    "PAYLOAD_TOO_LARGE",
                    "PRIVATE_MARKET",
                    "INVALID_MARKET_REQUIRED",
                    "INVALID_MARKET_PAIR",
                    "PREFLIGHT_FAILED",
                    "PROPOSAL_FAILED",
                    "ACCEPT_FAILED",
                    "REJECT_FAILED",
                    "CONTENT_BLOCKED",
                    "SECURITY_RISK_BLOCKED",
                    "NO_PENDING_FEES",
                    "BAD_REQUEST",
                    "CORS_REJECTED",
                    "UNSUPPORTED_CHAIN",
                    "WORLD_ID_VERIFICATION_FAILED",
                    "REVOCATION_REQUIRES_ROOT",
                    "RECOVERY_REQUIRES_ROOT",
                    "IDENTITY_ALREADY_ENROLLED",
                    "RECOVERY_NOT_CONFIGURED",
                    "RECOVERY_KEY_INVALID",
                    "WORLD_ID_REVERIFICATION_REQUIRED",
                    "ROOT_RECOVERY_COOLDOWN",
                    "NOT_FOUND",
                    "MARKET_NOT_FOUND",
                    "MARKET_PRIOR_RELEASE",
                    "AGENT_NOT_FOUND",
                    "CHAIN_NOT_FOUND",
                    "PARENT_NOT_FOUND",
                    "FACTORY_NOT_DEPLOYED",
                    "KEY_NOT_FOUND",
                    "API_KEY_NOT_FOUND",
                    "WEBHOOK_NOT_FOUND",
                    "BUILDER_ID_NOT_FOUND",
                    "NO_API_KEYS",
                    "SEASON_NOT_FOUND",
                    "COHORT_NOT_FOUND",
                    "MARKET_CLOSED",
                    "MARKET_NOT_OPEN_YET",
                    "NOT_RESOLVABLE_YET",
                    "EXPIRED_TOKEN",
                    "ENDPOINT_RETIRED",
                    "CONFLICT",
                    "HEARTBEAT_SESSION_CONFLICT",
                    "HEARTBEAT_SESSION_REVISION_EXHAUSTED",
                    "SEASON_STATE_CONFLICT",
                    "MARKET_NOT_LIVE",
                    "MARKET_NOT_RESOLVED",
                    "CONTENT_SEALED",
                    "TIMING_SEALED",
                    "STALE_UPDATE",
                    "CATALOG_CHANGED",
                    "ALREADY_RESOLVED",
                    "CREATOR_WINDOW_ELAPSED",
                    "RELAY_REVERTED",
                    "HUMAN_VOTE_ACTIVE",
                    "CHALLENGE_WINDOW_CLOSED",
                    "COUNCIL_REVIEW_ACTIVE",
                    "MARKET_NOT_PENDING_RESOLUTION",
                    "ALREADY_SWEPT",
                    "SWEEP_IN_PROGRESS",
                    "DUPLICATE_CONTENT",
                    "AGENT_ALREADY_EXISTS",
                    "NAME_TAKEN",
                    "AMBIGUOUS_MARKET_ADDRESS",
                    "IDEMPOTENCY_KEY_CONFLICT",
                    "NONCE_REUSED",
                    "KEY_GENERATION_CONFLICT",
                    "MARKET_INSOLVENT",
                    "SLIPPAGE_EXCEEDED",
                    "INSUFFICIENT_ALLOWANCE",
                    "OPERATOR_APPROVAL_REQUIRED",
                    "INSUFFICIENT_DEPOSIT",
                    "INSUFFICIENT_PULL",
                    "SALE_PAUSED",
                    "SALE_INVENTORY_SHORT",
                    "QUOTE_MISMATCH",
                    "INSUFFICIENT_PAYMENT_BALANCE",
                    "PURCHASE_NOT_A_BUNDLE",
                    "PURCHASE_CAP_EXCEEDED",
                    "FILL_ALLOWANCE_EXHAUSTED",
                    "SPONSORED_TRADING_PAUSED",
                    "PASSKEY_REQUIRED",
                    "ACCOUNT_RESTRICTED",
                    "NOT_VERIFIED",
                    "STAKE_REQUIRED",
                    "STAKE_INTENT_INVALID",
                    "INSUFFICIENT_PM_FOR_VOTE_STAKE",
                    "STAKE_PULL_FAILED",
                    "VERIFIED_HUMAN_REQUIRED",
                    "CREATION_SLOTS_FULL",
                    "CREATOR_NOT_ADMITTED",
                    "CREATOR_CAPACITY_REACHED",
                    "REPUTATION_TOO_LOW",
                    "CONCURRENT_LIMIT_REACHED",
                    "LIFETIME_LIMIT_REACHED",
                    "CREATION_COOLDOWN_ACTIVE",
                    "SEED_LIMIT_EXCEEDED",
                    "DURATION_OUT_OF_RANGE",
                    "ACTIVE_VERIFIED_IDENTITY_REQUIRED",
                    "CURRENT_IDENTITY_MEMBERSHIP_REQUIRED",
                    "AGENT_OPERATING_WALLET_NOT_LINKED",
                    "IDENTITY_INTEGRITY_UNKNOWN",
                    "PARTICIPATION_RELEASE_NOT_DEPLOYED",
                    "PARTICIPATION_RELEASE_ROUTE_NOT_DEPLOYED",
                    "PARTICIPATION_PROFILE_MISMATCH",
                    "PARTICIPATION_RELEASE_INACTIVE",
                    "PARTICIPATION_DISTRIBUTION_PAUSED",
                    "PARTICIPATION_MONEY_PATH_INCOMPLETE",
                    "PARTICIPATION_LEDGER_ACCOUNTING_INVALID",
                    "PARTICIPATION_ROUTE_DEGRADED",
                    "PARTICIPATION_ROUTE_QUARANTINED",
                    "PARTICIPATION_INVENTORY_LOW",
                    "NO_PARTICIPATION_RELEASE_CREDITS",
                    "NEW_PARTICIPATION_RELEASE_UNITS_EXHAUSTED",
                    "PARTICIPATION_CLAIM_CADENCE_ACTIVE",
                    "PARTICIPATION_IDENTITY_ATTESTATION_REQUIRED",
                    "PARTICIPATION_DISTRIBUTION_ZERO_DELTA",
                    "PARTICIPATION_DISTRIBUTION_ALREADY_PREPARED",
                    "PARTICIPATION_DISTRIBUTION_RECIPIENT_STALE",
                    "PARTICIPATION_DISTRIBUTION_VOUCHER_EXPIRED",
                    "PARTICIPATION_DISTRIBUTION_EVENT_MISMATCH",
                    "PARTICIPATION_DISTRIBUTION_FINALITY_PENDING",
                    "RATE_LIMITED",
                    "INTERNAL_ERROR",
                    "SERVICE_UNAVAILABLE",
                    "ELIGIBILITY_UNDETERMINED",
                    "COLLATERAL_CONFIGURATION_MISMATCH",
                    "QUOTE_STATE_UNAVAILABLE",
                    "PROTOCOL_UNAVAILABLE",
                    "PROTOCOL_PAUSED",
                    "VENUE_HALTED",
                    "EMBED_ATTRIBUTION_UNAVAILABLE",
                    "QUOTE_FAILED",
                    "INVALID_MARKET_STATE",
                    "MATH_OVERFLOW",
                    "UNKNOWN_CONTRACT_ERROR",
                    "DEADLINE_EXPIRED",
                    "ZERO_INPUT",
                    "ZERO_NET_INPUT",
                    "ZERO_DELTA",
                    "INVALID_MARKET",
                    "INVALID_TOKEN",
                    "NATIVE_ROUTE_UNAVAILABLE",
                    "POST_ONLY_WOULD_CROSS",
                    "FOK_UNFILLABLE",
                    "CLORDID_CONFLICT",
                    "QUOTE_SET_INVALID",
                    "QUOTE_GENERATION_STALE",
                    "ORDER_IN_FLIGHT",
                    "MAKER_NOT_EXECUTABLE",
                    "LIQUIDITY_CHANGED",
                    "CANCELLATION_EVENT_NOT_FOUND",
                    "CANCELLATION_EVENT_MISMATCH",
                    "INVALID_NONCE_FLOOR",
                    "NONCE_INVALIDATION_EVENT_NOT_FOUND",
                    "NONCE_INVALIDATION_EVENT_MISMATCH",
                    "INVALID_TX_HASH"
                  ],
                  "type": "string",
                  "x-extensible-enum": true
                },
                "EvmAddress": {
                  "pattern": "^0x[a-fA-F0-9]{40}$",
                  "type": "string"
                },
                "MarketLifecycleStage": {
                  "enum": [
                    "open",
                    "closed",
                    "result_proposed",
                    "result_challenged",
                    "vote_open",
                    "vote_closed",
                    "under_review",
                    "resolved",
                    "voided"
                  ],
                  "type": "string"
                },
                "ReputationTier": {
                  "enum": [
                    "banned",
                    "new",
                    "established",
                    "trusted",
                    "expert",
                    "legend"
                  ],
                  "type": "string"
                },
                "WeiString": {
                  "pattern": "^\\d+$",
                  "type": "string"
                }
              },
              "additionalProperties": false,
              "properties": {
                "result": {
                  "anyOf": [
                    {
                      "additionalProperties": false,
                      "properties": {
                        "hasMore": {
                          "type": "boolean"
                        },
                        "markets": {
                          "items": {
                            "additionalProperties": false,
                            "properties": {
                              "address": {
                                "anyOf": [
                                  {
                                    "$ref": "#/$defs/EvmAddress"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "chance": {
                                "anyOf": [
                                  {
                                    "maximum": 1,
                                    "minimum": 0,
                                    "type": "number"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "lifecycleStage": {
                                "$ref": "#/$defs/MarketLifecycleStage"
                              },
                              "question": {
                                "type": "string"
                              },
                              "tradingEndsAt": {
                                "anyOf": [
                                  {
                                    "format": "date-time",
                                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                                    "type": "string"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              }
                            },
                            "required": [
                              "address",
                              "question",
                              "chance",
                              "lifecycleStage",
                              "tradingEndsAt"
                            ],
                            "type": "object"
                          },
                          "type": "array"
                        },
                        "nextCursor": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "questions": {
                          "items": {
                            "additionalProperties": false,
                            "properties": {
                              "endsAt": {
                                "anyOf": [
                                  {
                                    "format": "date-time",
                                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                                    "type": "string"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "options": {
                                "items": {
                                  "additionalProperties": false,
                                  "properties": {
                                    "label": {
                                      "type": "string"
                                    },
                                    "price": {
                                      "anyOf": [
                                        {
                                          "maximum": 1,
                                          "minimum": 0,
                                          "type": "number"
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    }
                                  },
                                  "required": [
                                    "label",
                                    "price"
                                  ],
                                  "type": "object"
                                },
                                "maxItems": 4,
                                "type": "array"
                              },
                              "slug": {
                                "type": "string"
                              },
                              "title": {
                                "type": "string"
                              },
                              "volume24hUsd": {
                                "anyOf": [
                                  {
                                    "minimum": 0,
                                    "type": "number"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              }
                            },
                            "required": [
                              "slug",
                              "title",
                              "endsAt",
                              "options",
                              "volume24hUsd"
                            ],
                            "type": "object"
                          },
                          "type": "array"
                        },
                        "view": {
                          "const": "compact",
                          "type": "string"
                        }
                      },
                      "required": [
                        "view",
                        "markets",
                        "hasMore",
                        "nextCursor"
                      ],
                      "type": "object"
                    },
                    {
                      "additionalProperties": false,
                      "properties": {
                        "hasMore": {
                          "type": "boolean"
                        },
                        "markets": {
                          "items": {
                            "additionalProperties": false,
                            "properties": {
                              "actions": {
                                "additionalProperties": false,
                                "properties": {
                                  "canChallenge": {
                                    "type": "boolean"
                                  },
                                  "canClaim": {
                                    "type": "boolean"
                                  },
                                  "canCreatorResolve": {
                                    "type": "boolean"
                                  },
                                  "canVote": {
                                    "type": "boolean"
                                  },
                                  "creatorAddress": {
                                    "$ref": "#/$defs/EvmAddress"
                                  },
                                  "reason": {
                                    "$ref": "#/$defs/ErrorReason"
                                  }
                                },
                                "required": [
                                  "canCreatorResolve",
                                  "canChallenge",
                                  "canVote",
                                  "canClaim"
                                ],
                                "type": "object"
                              },
                              "address": {
                                "anyOf": [
                                  {
                                    "$ref": "#/$defs/EvmAddress"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "category": {
                                "enum": [
                                  "CRYPTO",
                                  "SPORTS",
                                  "POLITICS",
                                  "ELECTIONS",
                                  "FINANCE",
                                  "TECH",
                                  "WORLD",
                                  "ECONOMY",
                                  "CULTURE",
                                  "WEATHER",
                                  "SCIENCE_HEALTH",
                                  "AI",
                                  "GAMING",
                                  "BUSINESS",
                                  "FASHION",
                                  "MOVIES_TV",
                                  "MUSIC",
                                  "SHOPPING",
                                  "BEAUTY",
                                  "TRAVEL",
                                  "CLIMATE",
                                  "DAILY_LIFE",
                                  "LOCAL",
                                  "SOCIAL",
                                  "FUN",
                                  "OTHER"
                                ],
                                "type": "string",
                                "x-extensible-enum": true
                              },
                              "chainId": {
                                "maximum": 9007199254740991,
                                "minimum": -9007199254740991,
                                "type": "integer"
                              },
                              "challengeBy": {
                                "anyOf": [
                                  {
                                    "format": "date-time",
                                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                                    "type": "string"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "closeTime": {
                                "anyOf": [
                                  {
                                    "format": "date-time",
                                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                                    "type": "string"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "collateralToken": {
                                "anyOf": [
                                  {
                                    "$ref": "#/$defs/EvmAddress"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "councilReviewEndsAt": {
                                "anyOf": [
                                  {
                                    "format": "date-time",
                                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                                    "type": "string"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "createdAt": {
                                "format": "date-time",
                                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                                "type": "string"
                              },
                              "createdBy": {
                                "anyOf": [
                                  {
                                    "$ref": "#/$defs/EvmAddress"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "creatorAgentId": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "creatorResolveBy": {
                                "anyOf": [
                                  {
                                    "format": "date-time",
                                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                                    "type": "string"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "creatorTier": {
                                "anyOf": [
                                  {
                                    "$ref": "#/$defs/ReputationTier"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "finality": {
                                "enum": [
                                  "pending",
                                  "finalized"
                                ],
                                "type": "string"
                              },
                              "geo": {
                                "anyOf": [
                                  {
                                    "additionalProperties": false,
                                    "properties": {
                                      "countryCode": {
                                        "type": [
                                          "string",
                                          "null"
                                        ]
                                      },
                                      "derivation": {
                                        "anyOf": [
                                          {
                                            "enum": [
                                              "explicit",
                                              "entity_hq"
                                            ],
                                            "type": "string"
                                          },
                                          {
                                            "type": "null"
                                          }
                                        ]
                                      },
                                      "lat": {
                                        "type": [
                                          "number",
                                          "null"
                                        ]
                                      },
                                      "lon": {
                                        "type": [
                                          "number",
                                          "null"
                                        ]
                                      },
                                      "place": {
                                        "type": [
                                          "string",
                                          "null"
                                        ]
                                      },
                                      "scope": {
                                        "enum": [
                                          "city",
                                          "region",
                                          "country",
                                          "global"
                                        ],
                                        "type": "string"
                                      }
                                    },
                                    "required": [
                                      "scope",
                                      "countryCode",
                                      "place",
                                      "lat",
                                      "lon",
                                      "derivation"
                                    ],
                                    "type": "object"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "humanVote": {
                                "additionalProperties": false,
                                "properties": {
                                  "deadlineImmutable": {
                                    "const": true,
                                    "type": "boolean"
                                  },
                                  "endsAt": {
                                    "anyOf": [
                                      {
                                        "format": "date-time",
                                        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                                        "type": "string"
                                      },
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  },
                                  "sessionId": {
                                    "type": [
                                      "string",
                                      "null"
                                    ]
                                  },
                                  "windowStartsAt": {
                                    "const": "session_open",
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "sessionId",
                                  "windowStartsAt",
                                  "deadlineImmutable",
                                  "endsAt"
                                ],
                                "type": "object"
                              },
                              "id": {
                                "type": "string"
                              },
                              "isTernary": {
                                "type": "boolean"
                              },
                              "jurorTier": {
                                "anyOf": [
                                  {
                                    "$ref": "#/$defs/ReputationTier"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "language": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "lifecycleStage": {
                                "$ref": "#/$defs/MarketLifecycleStage"
                              },
                              "marketReference": {
                                "pattern": "^mkt_[\\da-f]{8}-[\\da-f]{4}-[\\da-f]{4}-[\\da-f]{4}-[\\da-f]{12}$",
                                "type": "string"
                              },
                              "marketState": {
                                "enum": [
                                  "open",
                                  "closed",
                                  "creator_proposal",
                                  "challenge",
                                  "human_voting",
                                  "council_review",
                                  "resolved",
                                  "void"
                                ],
                                "type": "string"
                              },
                              "marketType": {
                                "type": "string"
                              },
                              "nextActionDeadline": {
                                "anyOf": [
                                  {
                                    "format": "date-time",
                                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                                    "type": "string"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "openTime": {
                                "anyOf": [
                                  {
                                    "format": "date-time",
                                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                                    "type": "string"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "outcome": {
                                "maximum": 9007199254740991,
                                "minimum": -9007199254740991,
                                "type": "integer"
                              },
                              "outcomes": {
                                "items": {
                                  "additionalProperties": false,
                                  "properties": {
                                    "label": {
                                      "type": "string"
                                    },
                                    "pricePercent": {
                                      "anyOf": [
                                        {
                                          "maximum": 100,
                                          "minimum": 0,
                                          "type": "number"
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    }
                                  },
                                  "required": [
                                    "label",
                                    "pricePercent"
                                  ],
                                  "type": "object"
                                },
                                "maxItems": 3,
                                "minItems": 2,
                                "type": "array"
                              },
                              "prices": {
                                "additionalProperties": false,
                                "properties": {
                                  "outcome1": {
                                    "anyOf": [
                                      {
                                        "maximum": 1,
                                        "minimum": 0,
                                        "type": "number"
                                      },
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  },
                                  "outcome2": {
                                    "anyOf": [
                                      {
                                        "maximum": 1,
                                        "minimum": 0,
                                        "type": "number"
                                      },
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  },
                                  "outcome3": {
                                    "anyOf": [
                                      {
                                        "maximum": 1,
                                        "minimum": 0,
                                        "type": "number"
                                      },
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  }
                                },
                                "type": "object"
                              },
                              "pricingModel": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "question": {
                                "type": "string"
                              },
                              "resolutionCriteria": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "resolutionSource": {
                                "anyOf": [
                                  {
                                    "additionalProperties": {},
                                    "propertyNames": {
                                      "type": "string"
                                    },
                                    "type": "object"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "resolutionTime": {
                                "format": "date-time",
                                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                                "type": "string"
                              },
                              "settlement": {
                                "enum": [
                                  "onchain",
                                  "committed"
                                ],
                                "type": "string"
                              },
                              "sourceToken": {
                                "additionalProperties": false,
                                "properties": {
                                  "side": {
                                    "maximum": 1,
                                    "minimum": 0,
                                    "type": "integer"
                                  },
                                  "tokenId": {
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "tokenId",
                                  "side"
                                ],
                                "type": "object"
                              },
                              "stageDeadline": {
                                "anyOf": [
                                  {
                                    "format": "date-time",
                                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                                    "type": "string"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "supportsVoid": {
                                "type": "boolean"
                              },
                              "tradingEndsAt": {
                                "anyOf": [
                                  {
                                    "format": "date-time",
                                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                                    "type": "string"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "volume": {
                                "$ref": "#/$defs/WeiString"
                              },
                              "volume24h": {
                                "$ref": "#/$defs/WeiString"
                              },
                              "volumePm": {
                                "additionalProperties": false,
                                "properties": {
                                  "last24hPm": {
                                    "pattern": "^(?:0|[1-9]\\d*)(?:\\.\\d{1,6})?$",
                                    "type": "string"
                                  },
                                  "lifetimePm": {
                                    "pattern": "^(?:0|[1-9]\\d*)(?:\\.\\d{1,6})?$",
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "lifetimePm",
                                  "last24hPm"
                                ],
                                "type": "object"
                              }
                            },
                            "required": [
                              "id",
                              "address",
                              "chainId",
                              "question",
                              "category",
                              "marketState",
                              "tradingEndsAt",
                              "lifecycleStage",
                              "stageDeadline",
                              "isTernary",
                              "outcome",
                              "marketType",
                              "finality",
                              "pricingModel",
                              "openTime",
                              "closeTime",
                              "resolutionTime",
                              "creatorResolveBy",
                              "challengeBy",
                              "humanVote",
                              "councilReviewEndsAt",
                              "nextActionDeadline",
                              "actions",
                              "createdAt",
                              "collateralToken",
                              "language",
                              "volume"
                            ],
                            "type": "object"
                          },
                          "type": "array"
                        },
                        "nextCursor": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "questions": {
                          "items": {
                            "additionalProperties": false,
                            "properties": {
                              "category": {
                                "type": "string"
                              },
                              "endsAt": {
                                "anyOf": [
                                  {
                                    "format": "date-time",
                                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                                    "type": "string"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "marketAddress": {
                                "anyOf": [
                                  {
                                    "$ref": "#/$defs/EvmAddress"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "options": {
                                "items": {
                                  "additionalProperties": false,
                                  "properties": {
                                    "label": {
                                      "type": "string"
                                    },
                                    "price": {
                                      "anyOf": [
                                        {
                                          "maximum": 1,
                                          "minimum": 0,
                                          "type": "number"
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    }
                                  },
                                  "required": [
                                    "label",
                                    "price"
                                  ],
                                  "type": "object"
                                },
                                "maxItems": 4,
                                "type": "array"
                              },
                              "slug": {
                                "type": "string"
                              },
                              "title": {
                                "type": "string"
                              },
                              "url": {
                                "format": "uri",
                                "type": "string"
                              },
                              "volume24hUsd": {
                                "anyOf": [
                                  {
                                    "minimum": 0,
                                    "type": "number"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              }
                            },
                            "required": [
                              "slug",
                              "title",
                              "url",
                              "category",
                              "endsAt",
                              "options",
                              "volume24hUsd",
                              "marketAddress"
                            ],
                            "type": "object"
                          },
                          "type": "array"
                        }
                      },
                      "required": [
                        "markets",
                        "hasMore",
                        "nextCursor"
                      ],
                      "type": "object"
                    }
                  ]
                }
              },
              "required": [
                "result"
              ],
              "type": "object"
            },
            "annotations": {
              "destructiveHint": false,
              "idempotentHint": true,
              "openWorldHint": true,
              "permission": "none",
              "readOnlyHint": true
            }
          },
          {
            "name": "kellian_get_market",
            "title": "Get detailed information about a specific prediction market",
            "description": "Use this when someone asks for a prediction-market question's odds, options, end date or rules. Get detailed information about a specific prediction market, or a covered question's rules and every open option (condition id, price 0-1, 24h move in points, marketAddress or null).",
            "inputSchema": {
              "properties": {
                "address": {
                  "type": "string"
                },
                "chainId": {
                  "type": "number"
                },
                "question": {
                  "description": "Instead of address: a covered question, mirrored or not, by its slug or its Kellian or Polymarket link.",
                  "maxLength": 2048,
                  "minLength": 1,
                  "type": "string"
                }
              },
              "type": "object"
            },
            "outputSchema": {
              "$defs": {
                "ErrorReason": {
                  "enum": [
                    "AUTH_REQUIRED",
                    "WALLET_AUTH_REQUIRED",
                    "WALLET_AUTH_INVALID",
                    "INSUFFICIENT_TIER",
                    "FORBIDDEN",
                    "FEATURE_DISABLED",
                    "SERVICE_UNAVAILABLE_IN_REGION",
                    "NOT_ORB_VERIFIED",
                    "NOT_AUTHORIZED",
                    "NOT_MARKET_CREATOR",
                    "CALLER_NOT_CREATOR",
                    "AGENT_WALLET_CANNOT_VOTE",
                    "WALLET_REQUIRED",
                    "EMAIL_NOT_VERIFIED",
                    "EMAIL_ALREADY_REGISTERED",
                    "WALLET_ADDRESS_MISMATCH",
                    "WALLET_PARAM_NOT_ALLOWED",
                    "OWNER_ID_MISMATCH",
                    "OWNERSHIP_MISMATCH",
                    "OWNERSHIP_PROOF_REQUIRED",
                    "WALLET_MISMATCH",
                    "KEY_LIMIT_REACHED",
                    "SCOPE_WIDENING_DENIED",
                    "INVALID_REQUEST",
                    "INVALID_PAYLOAD",
                    "INVALID_QUERY",
                    "INVALID_HEADER",
                    "MISSING_FIELDS",
                    "INVALID_ID",
                    "INVALID_SCOPES",
                    "INVALID_SPENDING_LIMIT",
                    "INVALID_EXPIRES_AT",
                    "INVALID_WEBHOOK_URL",
                    "WEBHOOK_LIMIT_REACHED",
                    "KEY_ALREADY_REVOKED",
                    "MARKET_ID_REQUIRED",
                    "INVALID_OUTCOME",
                    "INVALID_CHAIN",
                    "INVALID_COLLATERAL",
                    "MISSING_COLLATERAL",
                    "INVALID_QUESTION",
                    "QUESTION_TOO_LONG",
                    "INVALID_SNAPSHOT",
                    "BATCH_TOO_LARGE",
                    "MAX_DEPTH_EXCEEDED",
                    "AMOUNT_ABOVE_MAXIMUM",
                    "AMOUNT_BELOW_MINIMUM",
                    "AMOUNT_BELOW_MINIMUM_FILL",
                    "AMOUNT_NOT_MULTIPLE",
                    "PRICE_OFF_TICK",
                    "ORDER_EXPIRY_TOO_SOON",
                    "BELOW_MINIMUM",
                    "OUTCOME_UNKNOWN",
                    "NOT_TWO_OUTCOMES",
                    "EXPIRY_TOO_SOON",
                    "MARKET_UNAVAILABLE",
                    "TRADING_ENDED",
                    "NO_LIQUIDITY",
                    "INSUFFICIENT_BALANCE",
                    "PAYLOAD_TOO_LARGE",
                    "PRIVATE_MARKET",
                    "INVALID_MARKET_REQUIRED",
                    "INVALID_MARKET_PAIR",
                    "PREFLIGHT_FAILED",
                    "PROPOSAL_FAILED",
                    "ACCEPT_FAILED",
                    "REJECT_FAILED",
                    "CONTENT_BLOCKED",
                    "SECURITY_RISK_BLOCKED",
                    "NO_PENDING_FEES",
                    "BAD_REQUEST",
                    "CORS_REJECTED",
                    "UNSUPPORTED_CHAIN",
                    "WORLD_ID_VERIFICATION_FAILED",
                    "REVOCATION_REQUIRES_ROOT",
                    "RECOVERY_REQUIRES_ROOT",
                    "IDENTITY_ALREADY_ENROLLED",
                    "RECOVERY_NOT_CONFIGURED",
                    "RECOVERY_KEY_INVALID",
                    "WORLD_ID_REVERIFICATION_REQUIRED",
                    "ROOT_RECOVERY_COOLDOWN",
                    "NOT_FOUND",
                    "MARKET_NOT_FOUND",
                    "MARKET_PRIOR_RELEASE",
                    "AGENT_NOT_FOUND",
                    "CHAIN_NOT_FOUND",
                    "PARENT_NOT_FOUND",
                    "FACTORY_NOT_DEPLOYED",
                    "KEY_NOT_FOUND",
                    "API_KEY_NOT_FOUND",
                    "WEBHOOK_NOT_FOUND",
                    "BUILDER_ID_NOT_FOUND",
                    "NO_API_KEYS",
                    "SEASON_NOT_FOUND",
                    "COHORT_NOT_FOUND",
                    "MARKET_CLOSED",
                    "MARKET_NOT_OPEN_YET",
                    "NOT_RESOLVABLE_YET",
                    "EXPIRED_TOKEN",
                    "ENDPOINT_RETIRED",
                    "CONFLICT",
                    "HEARTBEAT_SESSION_CONFLICT",
                    "HEARTBEAT_SESSION_REVISION_EXHAUSTED",
                    "SEASON_STATE_CONFLICT",
                    "MARKET_NOT_LIVE",
                    "MARKET_NOT_RESOLVED",
                    "CONTENT_SEALED",
                    "TIMING_SEALED",
                    "STALE_UPDATE",
                    "CATALOG_CHANGED",
                    "ALREADY_RESOLVED",
                    "CREATOR_WINDOW_ELAPSED",
                    "RELAY_REVERTED",
                    "HUMAN_VOTE_ACTIVE",
                    "CHALLENGE_WINDOW_CLOSED",
                    "COUNCIL_REVIEW_ACTIVE",
                    "MARKET_NOT_PENDING_RESOLUTION",
                    "ALREADY_SWEPT",
                    "SWEEP_IN_PROGRESS",
                    "DUPLICATE_CONTENT",
                    "AGENT_ALREADY_EXISTS",
                    "NAME_TAKEN",
                    "AMBIGUOUS_MARKET_ADDRESS",
                    "IDEMPOTENCY_KEY_CONFLICT",
                    "NONCE_REUSED",
                    "KEY_GENERATION_CONFLICT",
                    "MARKET_INSOLVENT",
                    "SLIPPAGE_EXCEEDED",
                    "INSUFFICIENT_ALLOWANCE",
                    "OPERATOR_APPROVAL_REQUIRED",
                    "INSUFFICIENT_DEPOSIT",
                    "INSUFFICIENT_PULL",
                    "SALE_PAUSED",
                    "SALE_INVENTORY_SHORT",
                    "QUOTE_MISMATCH",
                    "INSUFFICIENT_PAYMENT_BALANCE",
                    "PURCHASE_NOT_A_BUNDLE",
                    "PURCHASE_CAP_EXCEEDED",
                    "FILL_ALLOWANCE_EXHAUSTED",
                    "SPONSORED_TRADING_PAUSED",
                    "PASSKEY_REQUIRED",
                    "ACCOUNT_RESTRICTED",
                    "NOT_VERIFIED",
                    "STAKE_REQUIRED",
                    "STAKE_INTENT_INVALID",
                    "INSUFFICIENT_PM_FOR_VOTE_STAKE",
                    "STAKE_PULL_FAILED",
                    "VERIFIED_HUMAN_REQUIRED",
                    "CREATION_SLOTS_FULL",
                    "CREATOR_NOT_ADMITTED",
                    "CREATOR_CAPACITY_REACHED",
                    "REPUTATION_TOO_LOW",
                    "CONCURRENT_LIMIT_REACHED",
                    "LIFETIME_LIMIT_REACHED",
                    "CREATION_COOLDOWN_ACTIVE",
                    "SEED_LIMIT_EXCEEDED",
                    "DURATION_OUT_OF_RANGE",
                    "ACTIVE_VERIFIED_IDENTITY_REQUIRED",
                    "CURRENT_IDENTITY_MEMBERSHIP_REQUIRED",
                    "AGENT_OPERATING_WALLET_NOT_LINKED",
                    "IDENTITY_INTEGRITY_UNKNOWN",
                    "PARTICIPATION_RELEASE_NOT_DEPLOYED",
                    "PARTICIPATION_RELEASE_ROUTE_NOT_DEPLOYED",
                    "PARTICIPATION_PROFILE_MISMATCH",
                    "PARTICIPATION_RELEASE_INACTIVE",
                    "PARTICIPATION_DISTRIBUTION_PAUSED",
                    "PARTICIPATION_MONEY_PATH_INCOMPLETE",
                    "PARTICIPATION_LEDGER_ACCOUNTING_INVALID",
                    "PARTICIPATION_ROUTE_DEGRADED",
                    "PARTICIPATION_ROUTE_QUARANTINED",
                    "PARTICIPATION_INVENTORY_LOW",
                    "NO_PARTICIPATION_RELEASE_CREDITS",
                    "NEW_PARTICIPATION_RELEASE_UNITS_EXHAUSTED",
                    "PARTICIPATION_CLAIM_CADENCE_ACTIVE",
                    "PARTICIPATION_IDENTITY_ATTESTATION_REQUIRED",
                    "PARTICIPATION_DISTRIBUTION_ZERO_DELTA",
                    "PARTICIPATION_DISTRIBUTION_ALREADY_PREPARED",
                    "PARTICIPATION_DISTRIBUTION_RECIPIENT_STALE",
                    "PARTICIPATION_DISTRIBUTION_VOUCHER_EXPIRED",
                    "PARTICIPATION_DISTRIBUTION_EVENT_MISMATCH",
                    "PARTICIPATION_DISTRIBUTION_FINALITY_PENDING",
                    "RATE_LIMITED",
                    "INTERNAL_ERROR",
                    "SERVICE_UNAVAILABLE",
                    "ELIGIBILITY_UNDETERMINED",
                    "COLLATERAL_CONFIGURATION_MISMATCH",
                    "QUOTE_STATE_UNAVAILABLE",
                    "PROTOCOL_UNAVAILABLE",
                    "PROTOCOL_PAUSED",
                    "VENUE_HALTED",
                    "EMBED_ATTRIBUTION_UNAVAILABLE",
                    "QUOTE_FAILED",
                    "INVALID_MARKET_STATE",
                    "MATH_OVERFLOW",
                    "UNKNOWN_CONTRACT_ERROR",
                    "DEADLINE_EXPIRED",
                    "ZERO_INPUT",
                    "ZERO_NET_INPUT",
                    "ZERO_DELTA",
                    "INVALID_MARKET",
                    "INVALID_TOKEN",
                    "NATIVE_ROUTE_UNAVAILABLE",
                    "POST_ONLY_WOULD_CROSS",
                    "FOK_UNFILLABLE",
                    "CLORDID_CONFLICT",
                    "QUOTE_SET_INVALID",
                    "QUOTE_GENERATION_STALE",
                    "ORDER_IN_FLIGHT",
                    "MAKER_NOT_EXECUTABLE",
                    "LIQUIDITY_CHANGED",
                    "CANCELLATION_EVENT_NOT_FOUND",
                    "CANCELLATION_EVENT_MISMATCH",
                    "INVALID_NONCE_FLOOR",
                    "NONCE_INVALIDATION_EVENT_NOT_FOUND",
                    "NONCE_INVALIDATION_EVENT_MISMATCH",
                    "INVALID_TX_HASH"
                  ],
                  "type": "string",
                  "x-extensible-enum": true
                },
                "EvmAddress": {
                  "pattern": "^0x[a-fA-F0-9]{40}$",
                  "type": "string"
                },
                "MarketLifecycleStage": {
                  "enum": [
                    "open",
                    "closed",
                    "result_proposed",
                    "result_challenged",
                    "vote_open",
                    "vote_closed",
                    "under_review",
                    "resolved",
                    "voided"
                  ],
                  "type": "string"
                },
                "ReputationTier": {
                  "enum": [
                    "banned",
                    "new",
                    "established",
                    "trusted",
                    "expert",
                    "legend"
                  ],
                  "type": "string"
                },
                "WeiString": {
                  "pattern": "^\\d+$",
                  "type": "string"
                }
              },
              "additionalProperties": false,
              "properties": {
                "result": {
                  "anyOf": [
                    {
                      "additionalProperties": false,
                      "properties": {
                        "actions": {
                          "additionalProperties": false,
                          "properties": {
                            "canChallenge": {
                              "type": "boolean"
                            },
                            "canClaim": {
                              "type": "boolean"
                            },
                            "canCreatorResolve": {
                              "type": "boolean"
                            },
                            "canVote": {
                              "type": "boolean"
                            },
                            "creatorAddress": {
                              "$ref": "#/$defs/EvmAddress"
                            },
                            "reason": {
                              "$ref": "#/$defs/ErrorReason"
                            }
                          },
                          "required": [
                            "canCreatorResolve",
                            "canChallenge",
                            "canVote",
                            "canClaim"
                          ],
                          "type": "object"
                        },
                        "address": {
                          "anyOf": [
                            {
                              "$ref": "#/$defs/EvmAddress"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "category": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "chainId": {
                          "maximum": 9007199254740991,
                          "minimum": -9007199254740991,
                          "type": "integer"
                        },
                        "challengeBy": {
                          "anyOf": [
                            {
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "clarifications": {
                          "items": {
                            "additionalProperties": false,
                            "properties": {
                              "body": {
                                "type": "string"
                              },
                              "createdAt": {
                                "type": "string"
                              },
                              "id": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "id",
                              "body",
                              "createdAt"
                            ],
                            "type": "object"
                          },
                          "type": "array"
                        },
                        "closeTime": {
                          "anyOf": [
                            {
                              "anyOf": [
                                {
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                                  "type": "string"
                                },
                                {
                                  "format": "date-time",
                                  "type": "string"
                                }
                              ]
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "collateralDecimals": {
                          "anyOf": [
                            {
                              "maximum": 9007199254740991,
                              "minimum": -9007199254740991,
                              "type": "integer"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "collateralToken": {
                          "anyOf": [
                            {
                              "$ref": "#/$defs/EvmAddress"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "councilReviewEndsAt": {
                          "anyOf": [
                            {
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "createdAt": {
                          "anyOf": [
                            {
                              "anyOf": [
                                {
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                                  "type": "string"
                                },
                                {
                                  "format": "date-time",
                                  "type": "string"
                                }
                              ]
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "createdBy": {
                          "anyOf": [
                            {
                              "$ref": "#/$defs/EvmAddress"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "creatorAgentId": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "creatorResolveBy": {
                          "anyOf": [
                            {
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "creatorTier": {
                          "anyOf": [
                            {
                              "$ref": "#/$defs/ReputationTier"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "description": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "finality": {
                          "enum": [
                            "pending",
                            "finalized"
                          ],
                          "type": "string"
                        },
                        "geo": {
                          "anyOf": [
                            {
                              "additionalProperties": false,
                              "properties": {
                                "countryCode": {
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "derivation": {
                                  "anyOf": [
                                    {
                                      "enum": [
                                        "explicit",
                                        "entity_hq"
                                      ],
                                      "type": "string"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "lat": {
                                  "type": [
                                    "number",
                                    "null"
                                  ]
                                },
                                "lon": {
                                  "type": [
                                    "number",
                                    "null"
                                  ]
                                },
                                "place": {
                                  "type": [
                                    "string",
                                    "null"
                                  ]
                                },
                                "scope": {
                                  "enum": [
                                    "city",
                                    "region",
                                    "country",
                                    "global"
                                  ],
                                  "type": "string"
                                }
                              },
                              "required": [
                                "scope",
                                "countryCode",
                                "place",
                                "lat",
                                "lon",
                                "derivation"
                              ],
                              "type": "object"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "humanVote": {
                          "additionalProperties": false,
                          "properties": {
                            "deadlineImmutable": {
                              "const": true,
                              "type": "boolean"
                            },
                            "endsAt": {
                              "anyOf": [
                                {
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                                  "type": "string"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "sessionId": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "windowStartsAt": {
                              "const": "session_open",
                              "type": "string"
                            }
                          },
                          "required": [
                            "sessionId",
                            "windowStartsAt",
                            "deadlineImmutable",
                            "endsAt"
                          ],
                          "type": "object"
                        },
                        "imageUrl": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "jurorTier": {
                          "anyOf": [
                            {
                              "$ref": "#/$defs/ReputationTier"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "lifecycleStage": {
                          "$ref": "#/$defs/MarketLifecycleStage"
                        },
                        "marketReference": {
                          "pattern": "^mkt_[\\da-f]{8}-[\\da-f]{4}-[\\da-f]{4}-[\\da-f]{4}-[\\da-f]{12}$",
                          "type": "string"
                        },
                        "marketState": {
                          "enum": [
                            "open",
                            "closed",
                            "creator_proposal",
                            "challenge",
                            "human_voting",
                            "council_review",
                            "resolved",
                            "void"
                          ],
                          "type": "string"
                        },
                        "marketType": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "nextActionDeadline": {
                          "anyOf": [
                            {
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "openTime": {
                          "anyOf": [
                            {
                              "anyOf": [
                                {
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                                  "type": "string"
                                },
                                {
                                  "format": "date-time",
                                  "type": "string"
                                }
                              ]
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "outcome": {
                          "anyOf": [
                            {
                              "maximum": 9007199254740991,
                              "minimum": -9007199254740991,
                              "type": "integer"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "outcome1Label": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "outcome2Label": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "outcome3Label": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "outcomes": {
                          "items": {
                            "additionalProperties": false,
                            "properties": {
                              "label": {
                                "type": "string"
                              },
                              "pricePercent": {
                                "anyOf": [
                                  {
                                    "maximum": 100,
                                    "minimum": 0,
                                    "type": "number"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              }
                            },
                            "required": [
                              "label",
                              "pricePercent"
                            ],
                            "type": "object"
                          },
                          "maxItems": 3,
                          "minItems": 2,
                          "type": "array"
                        },
                        "prices": {
                          "additionalProperties": false,
                          "properties": {
                            "outcome1": {
                              "maximum": 1,
                              "minimum": 0,
                              "type": "number"
                            },
                            "outcome2": {
                              "maximum": 1,
                              "minimum": 0,
                              "type": "number"
                            },
                            "outcome3": {
                              "maximum": 1,
                              "minimum": 0,
                              "type": "number"
                            }
                          },
                          "type": "object"
                        },
                        "pricingModel": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "pricingTimestampMs": {
                          "type": "number"
                        },
                        "question": {
                          "type": "string"
                        },
                        "resolutionCriteria": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "resolutionPending": {
                          "anyOf": [
                            {
                              "additionalProperties": false,
                              "properties": {
                                "createdAt": {
                                  "type": "string"
                                },
                                "expectedBy": {
                                  "type": "string"
                                },
                                "id": {
                                  "type": "string"
                                },
                                "note": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "id",
                                "expectedBy",
                                "note",
                                "createdAt"
                              ],
                              "type": "object"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "resolutionSource": {
                          "anyOf": [
                            {
                              "additionalProperties": {},
                              "propertyNames": {
                                "type": "string"
                              },
                              "type": "object"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "settlement": {
                          "enum": [
                            "onchain",
                            "committed"
                          ],
                          "type": "string"
                        },
                        "stageDeadline": {
                          "anyOf": [
                            {
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "supportsVoid": {
                          "type": "boolean"
                        },
                        "tradingEndsAt": {
                          "anyOf": [
                            {
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "tradingRules": {
                          "anyOf": [
                            {
                              "additionalProperties": false,
                              "properties": {
                                "feePolicyVersion": {
                                  "enum": [
                                    "notional-v1",
                                    "shares-v2"
                                  ],
                                  "type": "string"
                                },
                                "liquidityMode": {
                                  "enum": [
                                    "shared",
                                    "source_book"
                                  ],
                                  "type": "string"
                                },
                                "makerFeeBps": {
                                  "maximum": 10000,
                                  "minimum": 0,
                                  "type": "integer"
                                },
                                "maxPriceSpreadBps": {
                                  "maximum": 9007199254740991,
                                  "minimum": 0,
                                  "type": "integer"
                                },
                                "minBuyAmount": {
                                  "$ref": "#/$defs/WeiString"
                                },
                                "minOrderSize": {
                                  "$ref": "#/$defs/WeiString"
                                },
                                "minRestingExpirySeconds": {
                                  "exclusiveMinimum": 0,
                                  "maximum": 9007199254740991,
                                  "type": "integer"
                                },
                                "minRestingNotional": {
                                  "$ref": "#/$defs/WeiString"
                                },
                                "minRestingShares": {
                                  "$ref": "#/$defs/WeiString"
                                },
                                "minSellShares": {
                                  "$ref": "#/$defs/WeiString"
                                },
                                "postOnlySupported": {
                                  "const": true,
                                  "type": "boolean"
                                },
                                "priceBands": {
                                  "items": {
                                    "additionalProperties": false,
                                    "properties": {
                                      "maxBps": {
                                        "maximum": 9007199254740991,
                                        "minimum": -9007199254740991,
                                        "type": "integer"
                                      },
                                      "minBps": {
                                        "maximum": 9007199254740991,
                                        "minimum": -9007199254740991,
                                        "type": "integer"
                                      },
                                      "tickBps": {
                                        "exclusiveMinimum": 0,
                                        "maximum": 9007199254740991,
                                        "type": "integer"
                                      }
                                    },
                                    "required": [
                                      "minBps",
                                      "maxBps",
                                      "tickBps"
                                    ],
                                    "type": "object"
                                  },
                                  "type": "array"
                                },
                                "priceIncrement": {
                                  "exclusiveMinimum": 0,
                                  "type": "number"
                                },
                                "priceIncrementBps": {
                                  "exclusiveMinimum": 0,
                                  "maximum": 9007199254740991,
                                  "type": "integer"
                                },
                                "priceMax": {
                                  "maximum": 1,
                                  "minimum": 0,
                                  "type": "number"
                                },
                                "priceMaxBps": {
                                  "maximum": 9007199254740991,
                                  "minimum": -9007199254740991,
                                  "type": "integer"
                                },
                                "priceMin": {
                                  "maximum": 1,
                                  "minimum": 0,
                                  "type": "number"
                                },
                                "priceMinBps": {
                                  "maximum": 9007199254740991,
                                  "minimum": -9007199254740991,
                                  "type": "integer"
                                },
                                "pricePlacementMaxBps": {
                                  "maximum": 9007199254740991,
                                  "minimum": -9007199254740991,
                                  "type": "integer"
                                },
                                "pricePlacementMinBps": {
                                  "maximum": 9007199254740991,
                                  "minimum": -9007199254740991,
                                  "type": "integer"
                                },
                                "priceScale": {
                                  "const": 1,
                                  "type": "number"
                                },
                                "principalRounding": {
                                  "const": "binary-outcome1-floor-remainder-v1",
                                  "type": "string"
                                },
                                "selfTradePrevention": {
                                  "const": "SKIP_SELF",
                                  "type": "string"
                                },
                                "shareStep": {
                                  "$ref": "#/$defs/WeiString"
                                },
                                "supportedTimeInForce": {
                                  "items": {
                                    "enum": [
                                      "GTC",
                                      "IOC",
                                      "FOK"
                                    ],
                                    "type": "string"
                                  },
                                  "type": "array"
                                },
                                "takerDelayMs": {
                                  "maximum": 60000,
                                  "minimum": 0,
                                  "type": "integer"
                                },
                                "takerFeeBps": {
                                  "maximum": 10000,
                                  "minimum": 0,
                                  "type": "integer"
                                }
                              },
                              "required": [
                                "priceScale",
                                "priceIncrement",
                                "priceMin",
                                "priceMax",
                                "priceIncrementBps",
                                "priceMinBps",
                                "priceMaxBps",
                                "pricePlacementMinBps",
                                "pricePlacementMaxBps",
                                "priceBands",
                                "shareStep",
                                "minOrderSize",
                                "minRestingShares",
                                "minRestingNotional",
                                "minBuyAmount",
                                "takerFeeBps",
                                "maxPriceSpreadBps",
                                "selfTradePrevention",
                                "supportedTimeInForce",
                                "postOnlySupported"
                              ],
                              "type": "object"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "tradingRulesPm": {
                          "anyOf": [
                            {
                              "additionalProperties": false,
                              "properties": {
                                "minBuyPm": {
                                  "pattern": "^(?:0|[1-9]\\d*)(?:\\.\\d{1,6})?$",
                                  "type": "string"
                                },
                                "minLimitLifeSeconds": {
                                  "maximum": 9007199254740991,
                                  "minimum": 0,
                                  "type": "integer"
                                },
                                "minLimitShares": {
                                  "pattern": "^(?:0|[1-9]\\d*)(?:\\.\\d{1,6})?$",
                                  "type": "string"
                                },
                                "minSellShares": {
                                  "pattern": "^(?:0|[1-9]\\d*)(?:\\.\\d{1,6})?$",
                                  "type": "string"
                                },
                                "priceSteps": {
                                  "items": {
                                    "additionalProperties": false,
                                    "properties": {
                                      "fromPercent": {
                                        "maximum": 100,
                                        "minimum": 0,
                                        "type": "number"
                                      },
                                      "stepPercent": {
                                        "maximum": 100,
                                        "minimum": 0,
                                        "type": "number"
                                      },
                                      "toPercent": {
                                        "maximum": 100,
                                        "minimum": 0,
                                        "type": "number"
                                      }
                                    },
                                    "required": [
                                      "fromPercent",
                                      "toPercent",
                                      "stepPercent"
                                    ],
                                    "type": "object"
                                  },
                                  "minItems": 1,
                                  "type": "array"
                                },
                                "prices": {
                                  "enum": [
                                    "own_book",
                                    "source_book"
                                  ],
                                  "type": "string"
                                },
                                "takerDelaySeconds": {
                                  "minimum": 0,
                                  "type": "number"
                                }
                              },
                              "required": [
                                "minBuyPm",
                                "minLimitShares",
                                "minSellShares",
                                "minLimitLifeSeconds",
                                "priceSteps"
                              ],
                              "type": "object"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "volume": {
                          "$ref": "#/$defs/WeiString"
                        },
                        "volume24h": {
                          "$ref": "#/$defs/WeiString"
                        }
                      },
                      "required": [
                        "address",
                        "question",
                        "description",
                        "category",
                        "collateralToken",
                        "collateralDecimals",
                        "closeTime",
                        "creatorResolveBy",
                        "challengeBy",
                        "humanVote",
                        "councilReviewEndsAt",
                        "nextActionDeadline",
                        "actions",
                        "openTime",
                        "marketType",
                        "finality",
                        "supportsVoid",
                        "pricingModel",
                        "outcome",
                        "outcome1Label",
                        "outcome2Label",
                        "outcome3Label",
                        "createdAt",
                        "createdBy",
                        "chainId",
                        "marketState",
                        "tradingEndsAt",
                        "lifecycleStage",
                        "stageDeadline",
                        "imageUrl",
                        "resolutionCriteria",
                        "volume",
                        "volume24h",
                        "creatorTier",
                        "jurorTier",
                        "creatorAgentId",
                        "resolutionSource"
                      ],
                      "type": "object"
                    },
                    {
                      "additionalProperties": false,
                      "properties": {
                        "category": {
                          "type": "string"
                        },
                        "endsAt": {
                          "anyOf": [
                            {
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "options": {
                          "items": {
                            "additionalProperties": false,
                            "properties": {
                              "change24h": {
                                "type": [
                                  "number",
                                  "null"
                                ]
                              },
                              "conditionId": {
                                "type": "string"
                              },
                              "label": {
                                "type": "string"
                              },
                              "marketAddress": {
                                "anyOf": [
                                  {
                                    "$ref": "#/$defs/EvmAddress"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "price": {
                                "anyOf": [
                                  {
                                    "maximum": 1,
                                    "minimum": 0,
                                    "type": "number"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              }
                            },
                            "required": [
                              "conditionId",
                              "label",
                              "price",
                              "change24h",
                              "marketAddress"
                            ],
                            "type": "object"
                          },
                          "minItems": 1,
                          "type": "array"
                        },
                        "polymarket": {
                          "format": "uri",
                          "type": "string"
                        },
                        "rules": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "slug": {
                          "type": "string"
                        },
                        "title": {
                          "type": "string"
                        },
                        "url": {
                          "format": "uri",
                          "type": "string"
                        },
                        "volume24hUsd": {
                          "anyOf": [
                            {
                              "minimum": 0,
                              "type": "number"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        }
                      },
                      "required": [
                        "slug",
                        "title",
                        "url",
                        "polymarket",
                        "category",
                        "endsAt",
                        "rules",
                        "volume24hUsd",
                        "options"
                      ],
                      "type": "object"
                    }
                  ]
                }
              },
              "required": [
                "result"
              ],
              "type": "object"
            },
            "annotations": {
              "destructiveHint": false,
              "idempotentHint": true,
              "openWorldHint": true,
              "permission": "api-key-read",
              "readOnlyHint": true
            }
          },
          {
            "name": "kellian_batch_get_trading_rules",
            "title": "Get static orderbook trading rules for many markets in one call",
            "description": "Get static per-market orderbook trading rules (price grid, size floors, fees, TIF, STP) for up to 200 markets in one call. Use this instead of polling kellian_get_market per market to renew rules — it does only the rules work, not volume, reputation, resolution surfaces, or prices.",
            "inputSchema": {
              "properties": {
                "chainId": {
                  "description": "Compiled protocol release chain ID (Base 8453).",
                  "maximum": 9007199254740991,
                  "minimum": -9007199254740991,
                  "type": "integer"
                },
                "marketAddresses": {
                  "items": {
                    "description": "Checksummed or lowercase 20-byte EVM address (0x + 40 hex).",
                    "pattern": "^0x[a-fA-F0-9]{40}$",
                    "type": "string"
                  },
                  "maxItems": 200,
                  "minItems": 1,
                  "type": "array"
                }
              },
              "required": [
                "chainId",
                "marketAddresses"
              ],
              "type": "object"
            },
            "outputSchema": {
              "$defs": {
                "DiscoverBatchTradingRulesResponse": {
                  "additionalProperties": false,
                  "properties": {
                    "asOf": {
                      "format": "date-time",
                      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                      "type": "string"
                    },
                    "chainId": {
                      "maximum": 9007199254740991,
                      "minimum": -9007199254740991,
                      "type": "integer"
                    },
                    "items": {
                      "items": {
                        "additionalProperties": false,
                        "properties": {
                          "collateralToken": {
                            "anyOf": [
                              {
                                "$ref": "#/$defs/EvmAddress"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "error": {
                            "additionalProperties": false,
                            "properties": {
                              "code": {
                                "enum": [
                                  "MARKET_NOT_FOUND",
                                  "RULES_UNAVAILABLE"
                                ],
                                "type": "string"
                              },
                              "detail": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "code",
                              "detail"
                            ],
                            "type": "object"
                          },
                          "marketAddress": {
                            "$ref": "#/$defs/EvmAddress"
                          },
                          "pricingModel": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "tradingRules": {
                            "anyOf": [
                              {
                                "additionalProperties": false,
                                "properties": {
                                  "feePolicyVersion": {
                                    "enum": [
                                      "notional-v1",
                                      "shares-v2"
                                    ],
                                    "type": "string"
                                  },
                                  "liquidityMode": {
                                    "enum": [
                                      "shared",
                                      "source_book"
                                    ],
                                    "type": "string"
                                  },
                                  "makerFeeBps": {
                                    "maximum": 10000,
                                    "minimum": 0,
                                    "type": "integer"
                                  },
                                  "maxPriceSpreadBps": {
                                    "maximum": 9007199254740991,
                                    "minimum": 0,
                                    "type": "integer"
                                  },
                                  "minBuyAmount": {
                                    "$ref": "#/$defs/WeiString"
                                  },
                                  "minOrderSize": {
                                    "$ref": "#/$defs/WeiString"
                                  },
                                  "minRestingExpirySeconds": {
                                    "exclusiveMinimum": 0,
                                    "maximum": 9007199254740991,
                                    "type": "integer"
                                  },
                                  "minRestingNotional": {
                                    "$ref": "#/$defs/WeiString"
                                  },
                                  "minRestingShares": {
                                    "$ref": "#/$defs/WeiString"
                                  },
                                  "minSellShares": {
                                    "$ref": "#/$defs/WeiString"
                                  },
                                  "postOnlySupported": {
                                    "const": true,
                                    "type": "boolean"
                                  },
                                  "priceBands": {
                                    "items": {
                                      "additionalProperties": false,
                                      "properties": {
                                        "maxBps": {
                                          "maximum": 9007199254740991,
                                          "minimum": -9007199254740991,
                                          "type": "integer"
                                        },
                                        "minBps": {
                                          "maximum": 9007199254740991,
                                          "minimum": -9007199254740991,
                                          "type": "integer"
                                        },
                                        "tickBps": {
                                          "exclusiveMinimum": 0,
                                          "maximum": 9007199254740991,
                                          "type": "integer"
                                        }
                                      },
                                      "required": [
                                        "minBps",
                                        "maxBps",
                                        "tickBps"
                                      ],
                                      "type": "object"
                                    },
                                    "type": "array"
                                  },
                                  "priceIncrement": {
                                    "exclusiveMinimum": 0,
                                    "type": "number"
                                  },
                                  "priceIncrementBps": {
                                    "exclusiveMinimum": 0,
                                    "maximum": 9007199254740991,
                                    "type": "integer"
                                  },
                                  "priceMax": {
                                    "maximum": 1,
                                    "minimum": 0,
                                    "type": "number"
                                  },
                                  "priceMaxBps": {
                                    "maximum": 9007199254740991,
                                    "minimum": -9007199254740991,
                                    "type": "integer"
                                  },
                                  "priceMin": {
                                    "maximum": 1,
                                    "minimum": 0,
                                    "type": "number"
                                  },
                                  "priceMinBps": {
                                    "maximum": 9007199254740991,
                                    "minimum": -9007199254740991,
                                    "type": "integer"
                                  },
                                  "pricePlacementMaxBps": {
                                    "maximum": 9007199254740991,
                                    "minimum": -9007199254740991,
                                    "type": "integer"
                                  },
                                  "pricePlacementMinBps": {
                                    "maximum": 9007199254740991,
                                    "minimum": -9007199254740991,
                                    "type": "integer"
                                  },
                                  "priceScale": {
                                    "const": 1,
                                    "type": "number"
                                  },
                                  "principalRounding": {
                                    "const": "binary-outcome1-floor-remainder-v1",
                                    "type": "string"
                                  },
                                  "selfTradePrevention": {
                                    "const": "SKIP_SELF",
                                    "type": "string"
                                  },
                                  "shareStep": {
                                    "$ref": "#/$defs/WeiString"
                                  },
                                  "supportedTimeInForce": {
                                    "items": {
                                      "enum": [
                                        "GTC",
                                        "IOC",
                                        "FOK"
                                      ],
                                      "type": "string"
                                    },
                                    "type": "array"
                                  },
                                  "takerDelayMs": {
                                    "maximum": 60000,
                                    "minimum": 0,
                                    "type": "integer"
                                  },
                                  "takerFeeBps": {
                                    "maximum": 10000,
                                    "minimum": 0,
                                    "type": "integer"
                                  }
                                },
                                "required": [
                                  "priceScale",
                                  "priceIncrement",
                                  "priceMin",
                                  "priceMax",
                                  "priceIncrementBps",
                                  "priceMinBps",
                                  "priceMaxBps",
                                  "pricePlacementMinBps",
                                  "pricePlacementMaxBps",
                                  "priceBands",
                                  "shareStep",
                                  "minOrderSize",
                                  "minRestingShares",
                                  "minRestingNotional",
                                  "minBuyAmount",
                                  "takerFeeBps",
                                  "maxPriceSpreadBps",
                                  "selfTradePrevention",
                                  "supportedTimeInForce",
                                  "postOnlySupported"
                                ],
                                "type": "object"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          }
                        },
                        "required": [
                          "marketAddress",
                          "pricingModel",
                          "collateralToken",
                          "tradingRules"
                        ],
                        "type": "object"
                      },
                      "type": "array"
                    }
                  },
                  "required": [
                    "chainId",
                    "items",
                    "asOf"
                  ],
                  "type": "object"
                },
                "EvmAddress": {
                  "pattern": "^0x[a-fA-F0-9]{40}$",
                  "type": "string"
                },
                "WeiString": {
                  "pattern": "^\\d+$",
                  "type": "string"
                }
              },
              "additionalProperties": false,
              "properties": {
                "result": {
                  "$ref": "#/$defs/DiscoverBatchTradingRulesResponse"
                }
              },
              "required": [
                "result"
              ],
              "type": "object"
            },
            "annotations": {
              "destructiveHint": false,
              "idempotentHint": true,
              "openWorldHint": true,
              "permission": "api-key-read",
              "readOnlyHint": true
            }
          },
          {
            "name": "kellian_list_market_comments",
            "title": "Position- and reputation-tagged human comments on a market (read-only)",
            "description": "Read human comments on a market (newest first, read-only): comment body + timestamps, the commenter wallet, their black-box reputation tier, and the position they held plus the market prices frozen when they wrote it (shares per outcome, avg entry, prices at write) — position- and reputation-tagged sentiment for trade decisions.",
            "inputSchema": {
              "$defs": {
                "EvmAddress": {
                  "description": "Checksummed or lowercase 20-byte EVM address (0x + 40 hex).",
                  "pattern": "^0x[a-fA-F0-9]{40}$",
                  "type": "string"
                }
              },
              "properties": {
                "address": {
                  "$ref": "#/$defs/EvmAddress",
                  "description": "Market contract address."
                },
                "cursor": {
                  "description": "nextCursor from a prior call.",
                  "format": "uuid",
                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                  "type": "string"
                },
                "limit": {
                  "default": 20,
                  "maximum": 50,
                  "minimum": 1,
                  "type": "integer"
                }
              },
              "required": [
                "address"
              ],
              "type": "object"
            },
            "outputSchema": {
              "$defs": {
                "CommentPositionSnapshot": {
                  "additionalProperties": false,
                  "properties": {
                    "avgEntry": {
                      "additionalProperties": false,
                      "properties": {
                        "outcome1": {
                          "type": [
                            "number",
                            "null"
                          ]
                        },
                        "outcome2": {
                          "type": [
                            "number",
                            "null"
                          ]
                        },
                        "outcome3": {
                          "type": [
                            "number",
                            "null"
                          ]
                        }
                      },
                      "required": [
                        "outcome1",
                        "outcome2"
                      ],
                      "type": "object"
                    },
                    "capturedAt": {
                      "maximum": 9007199254740991,
                      "minimum": 0,
                      "type": "integer"
                    },
                    "collateralDecimals": {
                      "maximum": 36,
                      "minimum": 0,
                      "type": "integer"
                    },
                    "outcome1Shares": {
                      "$ref": "#/$defs/WeiString"
                    },
                    "outcome2Shares": {
                      "$ref": "#/$defs/WeiString"
                    },
                    "outcome3Shares": {
                      "$ref": "#/$defs/WeiString"
                    },
                    "prices": {
                      "anyOf": [
                        {
                          "additionalProperties": false,
                          "properties": {
                            "outcome1": {
                              "type": "number"
                            },
                            "outcome2": {
                              "type": "number"
                            },
                            "outcome3": {
                              "type": "number"
                            },
                            "pricingTimestampMs": {
                              "anyOf": [
                                {
                                  "maximum": 9007199254740991,
                                  "minimum": -9007199254740991,
                                  "type": "integer"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            }
                          },
                          "required": [
                            "outcome1",
                            "outcome2",
                            "pricingTimestampMs"
                          ],
                          "type": "object"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "v": {
                      "const": 1,
                      "type": "number"
                    }
                  },
                  "required": [
                    "v",
                    "capturedAt",
                    "collateralDecimals",
                    "outcome1Shares",
                    "outcome2Shares",
                    "outcome3Shares",
                    "avgEntry",
                    "prices"
                  ],
                  "type": "object"
                },
                "DiscoverMarketCommentsResponse": {
                  "additionalProperties": false,
                  "properties": {
                    "comments": {
                      "items": {
                        "additionalProperties": false,
                        "properties": {
                          "authorReputationTier": {
                            "anyOf": [
                              {
                                "$ref": "#/$defs/ReputationTier"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "content": {
                            "type": "string"
                          },
                          "createdAt": {
                            "format": "date-time",
                            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                            "type": "string"
                          },
                          "id": {
                            "type": "string"
                          },
                          "positionSnapshot": {
                            "anyOf": [
                              {
                                "$ref": "#/$defs/CommentPositionSnapshot"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "reactionCount": {
                            "maximum": 9007199254740991,
                            "minimum": 0,
                            "type": "integer"
                          },
                          "replies": {
                            "items": {
                              "additionalProperties": false,
                              "properties": {
                                "authorReputationTier": {
                                  "anyOf": [
                                    {
                                      "$ref": "#/$defs/ReputationTier"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "content": {
                                  "type": "string"
                                },
                                "createdAt": {
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                                  "type": "string"
                                },
                                "id": {
                                  "type": "string"
                                },
                                "positionSnapshot": {
                                  "anyOf": [
                                    {
                                      "$ref": "#/$defs/CommentPositionSnapshot"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "updatedAt": {
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                                  "type": "string"
                                },
                                "walletAddress": {
                                  "$ref": "#/$defs/EvmAddress"
                                }
                              },
                              "required": [
                                "id",
                                "walletAddress",
                                "content",
                                "createdAt",
                                "updatedAt",
                                "authorReputationTier",
                                "positionSnapshot"
                              ],
                              "type": "object"
                            },
                            "type": "array"
                          },
                          "replyCount": {
                            "maximum": 9007199254740991,
                            "minimum": 0,
                            "type": "integer"
                          },
                          "updatedAt": {
                            "format": "date-time",
                            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                            "type": "string"
                          },
                          "walletAddress": {
                            "$ref": "#/$defs/EvmAddress"
                          }
                        },
                        "required": [
                          "id",
                          "walletAddress",
                          "content",
                          "createdAt",
                          "updatedAt",
                          "authorReputationTier",
                          "positionSnapshot",
                          "reactionCount",
                          "replyCount",
                          "replies"
                        ],
                        "type": "object"
                      },
                      "type": "array"
                    },
                    "hasMore": {
                      "type": "boolean"
                    },
                    "nextCursor": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "total": {
                      "maximum": 9007199254740991,
                      "minimum": 0,
                      "type": "integer"
                    }
                  },
                  "required": [
                    "comments",
                    "nextCursor",
                    "hasMore"
                  ],
                  "type": "object"
                },
                "EvmAddress": {
                  "pattern": "^0x[a-fA-F0-9]{40}$",
                  "type": "string"
                },
                "ReputationTier": {
                  "enum": [
                    "banned",
                    "new",
                    "established",
                    "trusted",
                    "expert",
                    "legend"
                  ],
                  "type": "string"
                },
                "WeiString": {
                  "pattern": "^\\d+$",
                  "type": "string"
                }
              },
              "additionalProperties": false,
              "properties": {
                "result": {
                  "$ref": "#/$defs/DiscoverMarketCommentsResponse"
                }
              },
              "required": [
                "result"
              ],
              "type": "object"
            },
            "annotations": {
              "destructiveHint": false,
              "idempotentHint": true,
              "openWorldHint": true,
              "permission": "none",
              "readOnlyHint": true
            }
          },
          {
            "name": "kellian_get_market_depth",
            "title": "5-level market depth: LMSR buy ladder or live order book, discriminated by kind",
            "description": "5-level market depth for a market: a simulated LMSR buy ladder (kind: 'amm') or a live aggregated order-book snapshot (kind: 'orderbook'), discriminated by `kind`. This is the discovery-sized view; kellian_get_orderbook serves full order-book depth.",
            "inputSchema": {
              "$defs": {
                "EvmAddress": {
                  "description": "Checksummed or lowercase 20-byte EVM address (0x + 40 hex).",
                  "pattern": "^0x[a-fA-F0-9]{40}$",
                  "type": "string"
                }
              },
              "properties": {
                "address": {
                  "$ref": "#/$defs/EvmAddress",
                  "description": "Market contract address."
                },
                "chainId": {
                  "description": "Chain id; probes enabled chains if omitted.",
                  "exclusiveMinimum": 0,
                  "maximum": 9007199254740991,
                  "type": "integer"
                }
              },
              "required": [
                "address"
              ],
              "type": "object"
            },
            "outputSchema": {
              "$defs": {
                "ChainId": {
                  "maximum": 9007199254740991,
                  "minimum": -9007199254740991,
                  "type": "integer"
                },
                "DepthQuote": {
                  "additionalProperties": false,
                  "properties": {
                    "priceAfter": {
                      "maximum": 1,
                      "minimum": 0,
                      "type": "number"
                    },
                    "tokensOut": {
                      "$ref": "#/$defs/WeiString"
                    }
                  },
                  "required": [
                    "tokensOut",
                    "priceAfter"
                  ],
                  "type": "object"
                },
                "DiscoverMarketDepthResponse": {
                  "anyOf": [
                    {
                      "additionalProperties": false,
                      "properties": {
                        "chainId": {
                          "$ref": "#/$defs/ChainId"
                        },
                        "currentPriceOutcome1": {
                          "maximum": 1,
                          "minimum": 0,
                          "type": "number"
                        },
                        "kind": {
                          "const": "amm",
                          "default": "amm",
                          "type": "string"
                        },
                        "levels": {
                          "items": {
                            "additionalProperties": false,
                            "properties": {
                              "amountWei": {
                                "$ref": "#/$defs/WeiString"
                              },
                              "outcome1": {
                                "anyOf": [
                                  {
                                    "$ref": "#/$defs/DepthQuote"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "outcome2": {
                                "anyOf": [
                                  {
                                    "$ref": "#/$defs/DepthQuote"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "size": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "size",
                              "amountWei",
                              "outcome1",
                              "outcome2"
                            ],
                            "type": "object"
                          },
                          "maxItems": 5,
                          "type": "array"
                        },
                        "marketAddress": {
                          "$ref": "#/$defs/EvmAddress"
                        }
                      },
                      "required": [
                        "kind",
                        "marketAddress",
                        "chainId",
                        "levels",
                        "currentPriceOutcome1"
                      ],
                      "type": "object"
                    },
                    {
                      "additionalProperties": false,
                      "properties": {
                        "asks": {
                          "items": {
                            "$ref": "#/$defs/OrderbookDepthLevel"
                          },
                          "maxItems": 5,
                          "type": "array"
                        },
                        "bestAsk": {
                          "anyOf": [
                            {
                              "maximum": 1,
                              "minimum": 0,
                              "type": "number"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "bestBid": {
                          "anyOf": [
                            {
                              "maximum": 1,
                              "minimum": 0,
                              "type": "number"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "bids": {
                          "items": {
                            "$ref": "#/$defs/OrderbookDepthLevel"
                          },
                          "maxItems": 5,
                          "type": "array"
                        },
                        "chainId": {
                          "$ref": "#/$defs/ChainId"
                        },
                        "currentPriceOutcome1": {
                          "maximum": 1,
                          "minimum": 0,
                          "type": "number"
                        },
                        "feePolicyVersion": {
                          "enum": [
                            "notional-v1",
                            "shares-v2"
                          ],
                          "type": "string"
                        },
                        "kind": {
                          "const": "orderbook",
                          "type": "string"
                        },
                        "marketAddress": {
                          "$ref": "#/$defs/EvmAddress"
                        },
                        "mid": {
                          "anyOf": [
                            {
                              "maximum": 1,
                              "minimum": 0,
                              "type": "number"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "seq": {
                          "maximum": 9007199254740991,
                          "minimum": 0,
                          "type": "integer"
                        },
                        "spread": {
                          "anyOf": [
                            {
                              "maximum": 1,
                              "minimum": -1,
                              "type": "number"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "takerFeeBps": {
                          "maximum": 9007199254740991,
                          "minimum": 0,
                          "type": "integer"
                        }
                      },
                      "required": [
                        "kind",
                        "marketAddress",
                        "chainId",
                        "bids",
                        "asks",
                        "bestBid",
                        "bestAsk",
                        "spread",
                        "mid",
                        "currentPriceOutcome1",
                        "seq",
                        "takerFeeBps"
                      ],
                      "type": "object"
                    }
                  ]
                },
                "EvmAddress": {
                  "pattern": "^0x[a-fA-F0-9]{40}$",
                  "type": "string"
                },
                "OrderbookDepthLevel": {
                  "additionalProperties": false,
                  "properties": {
                    "amountWei": {
                      "$ref": "#/$defs/WeiString"
                    },
                    "orderCount": {
                      "maximum": 9007199254740991,
                      "minimum": 0,
                      "type": "integer"
                    },
                    "price": {
                      "maximum": 1,
                      "minimum": 0,
                      "type": "number"
                    },
                    "priceBps": {
                      "pattern": "^\\d+$",
                      "type": "string"
                    }
                  },
                  "required": [
                    "price",
                    "priceBps",
                    "amountWei",
                    "orderCount"
                  ],
                  "type": "object"
                },
                "WeiString": {
                  "pattern": "^\\d+$",
                  "type": "string"
                }
              },
              "additionalProperties": false,
              "properties": {
                "result": {
                  "$ref": "#/$defs/DiscoverMarketDepthResponse"
                }
              },
              "required": [
                "result"
              ],
              "type": "object"
            },
            "annotations": {
              "destructiveHint": false,
              "idempotentHint": true,
              "openWorldHint": true,
              "permission": "none",
              "readOnlyHint": true
            }
          },
          {
            "name": "kellian_get_market_chart",
            "title": "Price history + latest frame for a market across a time window",
            "description": "Get price history + latest for a market. Window defaults to ALL; supports 1H, 1D, 1W.\n\nExamples: Read the 1D price history for a market",
            "inputSchema": {
              "properties": {
                "address": {
                  "type": "string"
                },
                "chainId": {
                  "type": "number"
                },
                "question": {
                  "description": "Instead of address: a covered question, mirrored or not, by its slug or its Kellian or Polymarket link.",
                  "maxLength": 2048,
                  "minLength": 1,
                  "type": "string"
                },
                "window": {
                  "enum": [
                    "1H",
                    "1D",
                    "1W",
                    "ALL"
                  ],
                  "type": "string"
                }
              },
              "type": "object"
            },
            "outputSchema": {
              "$defs": {
                "McpMarketPricePoint": {
                  "additionalProperties": false,
                  "properties": {
                    "outcome1": {
                      "type": "number"
                    },
                    "outcome2": {
                      "type": "number"
                    },
                    "outcome3": {
                      "type": "number"
                    },
                    "pricingTimestampMs": {
                      "maximum": 9007199254740991,
                      "minimum": 0,
                      "type": "integer"
                    },
                    "timestamp": {
                      "maximum": 9007199254740991,
                      "minimum": 0,
                      "type": "integer"
                    }
                  },
                  "required": [
                    "outcome1",
                    "outcome2",
                    "timestamp"
                  ],
                  "type": "object"
                }
              },
              "additionalProperties": false,
              "properties": {
                "result": {
                  "anyOf": [
                    {
                      "additionalProperties": false,
                      "properties": {
                        "latest": {
                          "anyOf": [
                            {
                              "$ref": "#/$defs/McpMarketPricePoint"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "meta": {
                          "additionalProperties": false,
                          "properties": {
                            "pointCount": {
                              "maximum": 9007199254740991,
                              "minimum": 0,
                              "type": "integer"
                            },
                            "pricingTimestampMs": {
                              "anyOf": [
                                {
                                  "maximum": 9007199254740991,
                                  "minimum": 0,
                                  "type": "integer"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "snapshotUpdatedAtMs": {
                              "anyOf": [
                                {
                                  "maximum": 9007199254740991,
                                  "minimum": 0,
                                  "type": "integer"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            }
                          },
                          "required": [
                            "pointCount",
                            "snapshotUpdatedAtMs",
                            "pricingTimestampMs"
                          ],
                          "type": "object"
                        },
                        "series": {
                          "items": {
                            "$ref": "#/$defs/McpMarketPricePoint"
                          },
                          "type": "array"
                        },
                        "window": {
                          "enum": [
                            "1H",
                            "1D",
                            "1W",
                            "ALL"
                          ],
                          "type": "string"
                        }
                      },
                      "required": [
                        "series",
                        "latest",
                        "window",
                        "meta"
                      ],
                      "type": "object"
                    },
                    {
                      "additionalProperties": false,
                      "properties": {
                        "series": {
                          "items": {
                            "additionalProperties": false,
                            "properties": {
                              "conditionId": {
                                "minLength": 1,
                                "type": "string"
                              },
                              "label": {
                                "minLength": 1,
                                "type": "string"
                              },
                              "points": {
                                "items": {
                                  "additionalProperties": false,
                                  "properties": {
                                    "price": {
                                      "maximum": 1,
                                      "minimum": 0,
                                      "type": "number"
                                    },
                                    "timestamp": {
                                      "maximum": 9007199254740991,
                                      "minimum": -9007199254740991,
                                      "type": "integer"
                                    }
                                  },
                                  "required": [
                                    "timestamp",
                                    "price"
                                  ],
                                  "type": "object"
                                },
                                "type": "array"
                              }
                            },
                            "required": [
                              "conditionId",
                              "label",
                              "points"
                            ],
                            "type": "object"
                          },
                          "maxItems": 4,
                          "type": "array"
                        },
                        "window": {
                          "enum": [
                            "1H",
                            "1D",
                            "1W",
                            "ALL"
                          ],
                          "type": "string"
                        }
                      },
                      "required": [
                        "window",
                        "series"
                      ],
                      "type": "object"
                    }
                  ]
                }
              },
              "required": [
                "result"
              ],
              "type": "object"
            },
            "annotations": {
              "destructiveHint": false,
              "idempotentHint": true,
              "openWorldHint": true,
              "permission": "none",
              "readOnlyHint": true
            }
          },
          {
            "name": "kellian_get_market_trades",
            "title": "Recent trades for a market (newest first)",
            "description": "Recent trades for a market (newest first): buy/sell side, size (wei), post-trade price (0..1), and the trader wallet.",
            "inputSchema": {
              "$defs": {
                "EvmAddress": {
                  "description": "Checksummed or lowercase 20-byte EVM address (0x + 40 hex).",
                  "pattern": "^0x[a-fA-F0-9]{40}$",
                  "type": "string"
                }
              },
              "properties": {
                "address": {
                  "$ref": "#/$defs/EvmAddress",
                  "description": "Market contract address."
                },
                "chainId": {
                  "description": "Chain id; probes enabled chains if omitted.",
                  "exclusiveMinimum": 0,
                  "maximum": 9007199254740991,
                  "type": "integer"
                },
                "limit": {
                  "default": 20,
                  "maximum": 100,
                  "minimum": 1,
                  "type": "integer"
                }
              },
              "required": [
                "address"
              ],
              "type": "object"
            },
            "outputSchema": {
              "$defs": {
                "DiscoverMarketTradesResponse": {
                  "additionalProperties": false,
                  "properties": {
                    "trades": {
                      "items": {
                        "additionalProperties": false,
                        "properties": {
                          "amount": {
                            "$ref": "#/$defs/WeiString"
                          },
                          "id": {
                            "type": "string"
                          },
                          "price": {
                            "maximum": 1,
                            "minimum": 0,
                            "type": "number"
                          },
                          "publicationState": {
                            "anyOf": [
                              {
                                "enum": [
                                  "pending",
                                  "published",
                                  "finalized"
                                ],
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "side": {
                            "type": "string"
                          },
                          "timestamp": {
                            "format": "date-time",
                            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                            "type": "string"
                          },
                          "trader": {
                            "$ref": "#/$defs/EvmAddress"
                          },
                          "txHash": {
                            "type": [
                              "string",
                              "null"
                            ]
                          }
                        },
                        "required": [
                          "txHash",
                          "timestamp",
                          "side",
                          "trader",
                          "amount",
                          "price"
                        ],
                        "type": "object"
                      },
                      "type": "array"
                    }
                  },
                  "required": [
                    "trades"
                  ],
                  "type": "object"
                },
                "EvmAddress": {
                  "pattern": "^0x[a-fA-F0-9]{40}$",
                  "type": "string"
                },
                "WeiString": {
                  "pattern": "^\\d+$",
                  "type": "string"
                }
              },
              "additionalProperties": false,
              "properties": {
                "result": {
                  "$ref": "#/$defs/DiscoverMarketTradesResponse"
                }
              },
              "required": [
                "result"
              ],
              "type": "object"
            },
            "annotations": {
              "destructiveHint": false,
              "idempotentHint": true,
              "openWorldHint": true,
              "permission": "none",
              "readOnlyHint": true
            }
          },
          {
            "name": "kellian_get_market_holders",
            "title": "Holder distribution + open interest for a market",
            "description": "Kellian's own play-money holders of one Kellian market: distinct holders, verified-human count, whale count, and total shares held per outcome (open interest). Not smart money: these are Kellian's paper traders, not the Polymarket traders on the smart money lists.",
            "inputSchema": {
              "$defs": {
                "EvmAddress": {
                  "description": "Checksummed or lowercase 20-byte EVM address (0x + 40 hex).",
                  "pattern": "^0x[a-fA-F0-9]{40}$",
                  "type": "string"
                }
              },
              "properties": {
                "address": {
                  "$ref": "#/$defs/EvmAddress",
                  "description": "Market contract address."
                },
                "chainId": {
                  "description": "Chain id; probes enabled chains if omitted.",
                  "exclusiveMinimum": 0,
                  "maximum": 9007199254740991,
                  "type": "integer"
                }
              },
              "required": [
                "address"
              ],
              "type": "object"
            },
            "outputSchema": {
              "$defs": {
                "DiscoverMarketHoldersResponse": {
                  "additionalProperties": false,
                  "properties": {
                    "chainId": {
                      "maximum": 9007199254740991,
                      "minimum": -9007199254740991,
                      "type": "integer"
                    },
                    "holders": {
                      "maximum": 9007199254740991,
                      "minimum": 0,
                      "type": "integer"
                    },
                    "marketAddress": {
                      "pattern": "^0x[a-fA-F0-9]{40}$",
                      "type": "string"
                    },
                    "openInterest": {
                      "additionalProperties": false,
                      "properties": {
                        "outcome1": {
                          "minimum": 0,
                          "type": "number"
                        },
                        "outcome2": {
                          "minimum": 0,
                          "type": "number"
                        },
                        "outcome3": {
                          "anyOf": [
                            {
                              "minimum": 0,
                              "type": "number"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        }
                      },
                      "required": [
                        "outcome1",
                        "outcome2",
                        "outcome3"
                      ],
                      "type": "object"
                    },
                    "verifiedHolders": {
                      "maximum": 9007199254740991,
                      "minimum": 0,
                      "type": "integer"
                    },
                    "whales": {
                      "maximum": 9007199254740991,
                      "minimum": 0,
                      "type": "integer"
                    }
                  },
                  "required": [
                    "chainId",
                    "marketAddress",
                    "holders",
                    "verifiedHolders",
                    "whales",
                    "openInterest"
                  ],
                  "type": "object"
                }
              },
              "additionalProperties": false,
              "properties": {
                "result": {
                  "$ref": "#/$defs/DiscoverMarketHoldersResponse"
                }
              },
              "required": [
                "result"
              ],
              "type": "object"
            },
            "annotations": {
              "destructiveHint": false,
              "idempotentHint": true,
              "openWorldHint": true,
              "permission": "none",
              "readOnlyHint": true
            }
          },
          {
            "name": "kellian_check_market_exists",
            "title": "Idempotency check — has this agent already deployed a market with the given externalId?",
            "description": "Check whether this agent already deployed a market with the given externalId. Per-agent namespace.",
            "inputSchema": {
              "properties": {
                "externalId": {
                  "maxLength": 200,
                  "minLength": 1,
                  "type": "string"
                }
              },
              "required": [
                "externalId"
              ],
              "type": "object"
            },
            "outputSchema": {
              "$defs": {
                "DiscoverMarketExistsResponse": {
                  "additionalProperties": false,
                  "properties": {
                    "address": {
                      "pattern": "^0x[a-fA-F0-9]{40}$",
                      "type": "string"
                    },
                    "exists": {
                      "type": "boolean"
                    },
                    "marketState": {
                      "enum": [
                        "open",
                        "closed",
                        "creator_proposal",
                        "challenge",
                        "human_voting",
                        "council_review",
                        "resolved",
                        "void"
                      ],
                      "type": "string"
                    }
                  },
                  "required": [
                    "exists"
                  ],
                  "type": "object"
                }
              },
              "additionalProperties": false,
              "properties": {
                "result": {
                  "$ref": "#/$defs/DiscoverMarketExistsResponse"
                }
              },
              "required": [
                "result"
              ],
              "type": "object"
            },
            "annotations": {
              "destructiveHint": false,
              "idempotentHint": true,
              "openWorldHint": true,
              "permission": "api-key-read",
              "readOnlyHint": true
            }
          },
          {
            "name": "kellian_discover_resolution_sources",
            "title": "Self-documenting catalog — the opaque-envelope shape + conventions agents use for resolutionSource",
            "description": "Describe the opaque `resolutionSource` envelope shape and the conventions agents use. No closed enum — agents invent their own `type` values.",
            "inputSchema": {
              "properties": {},
              "type": "object"
            },
            "outputSchema": {
              "$defs": {
                "DiscoverResolutionSourcesResponse": {
                  "additionalProperties": false,
                  "properties": {
                    "conventions": {
                      "additionalProperties": false,
                      "properties": {
                        "note": {
                          "type": "string"
                        },
                        "recommended": {
                          "items": {
                            "type": "string"
                          },
                          "type": "array"
                        }
                      },
                      "required": [
                        "note",
                        "recommended"
                      ],
                      "type": "object"
                    },
                    "examples": {
                      "items": {
                        "additionalProperties": false,
                        "properties": {
                          "description": {
                            "type": "string"
                          },
                          "type": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "type",
                          "description"
                        ],
                        "type": "object"
                      },
                      "type": "array"
                    },
                    "schema": {
                      "additionalProperties": {},
                      "propertyNames": {
                        "type": "string"
                      },
                      "type": "object"
                    }
                  },
                  "required": [
                    "schema",
                    "conventions",
                    "examples"
                  ],
                  "type": "object"
                }
              },
              "additionalProperties": false,
              "properties": {
                "result": {
                  "$ref": "#/$defs/DiscoverResolutionSourcesResponse"
                }
              },
              "required": [
                "result"
              ],
              "type": "object"
            },
            "annotations": {
              "destructiveHint": false,
              "idempotentHint": true,
              "openWorldHint": true,
              "permission": "none",
              "readOnlyHint": true
            }
          },
          {
            "name": "kellian_get_market_resolution_state",
            "title": "Per-market public resolution state and available actions",
            "description": "Per-market public resolution state: stage, reason, deadlines, available action flags and final outcome. Action details appear only when their public surface is available.",
            "inputSchema": {
              "$defs": {
                "EvmAddress": {
                  "description": "Checksummed or lowercase 20-byte EVM address (0x + 40 hex).",
                  "pattern": "^0x[a-fA-F0-9]{40}$",
                  "type": "string"
                }
              },
              "properties": {
                "address": {
                  "$ref": "#/$defs/EvmAddress",
                  "description": "Market contract address."
                },
                "chainId": {
                  "description": "Chain id; probes enabled chains if omitted.",
                  "exclusiveMinimum": 0,
                  "maximum": 9007199254740991,
                  "type": "integer"
                }
              },
              "required": [
                "address"
              ],
              "type": "object"
            },
            "outputSchema": {
              "$defs": {
                "ChainId": {
                  "maximum": 9007199254740991,
                  "minimum": -9007199254740991,
                  "type": "integer"
                },
                "DiscoverResolutionStateResponse": {
                  "additionalProperties": false,
                  "properties": {
                    "actions": {
                      "additionalProperties": false,
                      "properties": {
                        "canChallenge": {
                          "type": "boolean"
                        },
                        "canClaim": {
                          "type": "boolean"
                        },
                        "canCreatorResolve": {
                          "type": "boolean"
                        },
                        "canVote": {
                          "type": "boolean"
                        },
                        "creatorAddress": {
                          "$ref": "#/$defs/EvmAddress"
                        },
                        "reason": {
                          "$ref": "#/$defs/ErrorReason"
                        }
                      },
                      "required": [
                        "canCreatorResolve",
                        "canChallenge",
                        "canVote",
                        "canClaim"
                      ],
                      "type": "object"
                    },
                    "chainId": {
                      "$ref": "#/$defs/ChainId"
                    },
                    "challengeBy": {
                      "anyOf": [
                        {
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "closeTime": {
                      "anyOf": [
                        {
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "councilReviewEndsAt": {
                      "anyOf": [
                        {
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "creatorResolveBy": {
                      "anyOf": [
                        {
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "disputeAction": {
                      "anyOf": [
                        {
                          "additionalProperties": false,
                          "properties": {
                            "bondToken": {
                              "additionalProperties": false,
                              "properties": {
                                "address": {
                                  "$ref": "#/$defs/EvmAddress"
                                },
                                "chainId": {
                                  "$ref": "#/$defs/ChainId"
                                },
                                "decimals": {
                                  "exclusiveMinimum": 0,
                                  "maximum": 9007199254740991,
                                  "type": "integer"
                                },
                                "symbol": {
                                  "minLength": 1,
                                  "type": "string"
                                }
                              },
                              "required": [
                                "symbol",
                                "address",
                                "decimals",
                                "chainId"
                              ],
                              "type": "object"
                            },
                            "challengerBondWei": {
                              "$ref": "#/$defs/WeiString"
                            },
                            "confirmation": {
                              "additionalProperties": false,
                              "properties": {
                                "endpoint": {
                                  "const": "/api/agent/v1/resolve/challenge",
                                  "type": "string"
                                },
                                "method": {
                                  "const": "POST",
                                  "type": "string"
                                }
                              },
                              "required": [
                                "endpoint",
                                "method"
                              ],
                              "type": "object"
                            },
                            "currentRound": {
                              "maximum": 9007199254740991,
                              "minimum": 0,
                              "type": "integer"
                            },
                            "livenessEndsAt": {
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                              "type": "string"
                            },
                            "preparation": {
                              "additionalProperties": false,
                              "properties": {
                                "endpoint": {
                                  "const": "/api/agent/v1/resolve/challenge/prepare",
                                  "type": "string"
                                },
                                "method": {
                                  "const": "POST",
                                  "type": "string"
                                },
                                "options": {
                                  "additionalProperties": false,
                                  "properties": {
                                    "counterOutcomeOptions": {
                                      "items": {
                                        "anyOf": [
                                          {
                                            "const": 1,
                                            "type": "number"
                                          },
                                          {
                                            "const": 2,
                                            "type": "number"
                                          },
                                          {
                                            "const": 3,
                                            "type": "number"
                                          }
                                        ]
                                      },
                                      "minItems": 1,
                                      "type": "array"
                                    },
                                    "market": {
                                      "$ref": "#/$defs/EvmAddress"
                                    }
                                  },
                                  "required": [
                                    "market",
                                    "counterOutcomeOptions"
                                  ],
                                  "type": "object"
                                },
                                "requiredInput": {
                                  "maxItems": 3,
                                  "minItems": 3,
                                  "prefixItems": [
                                    {
                                      "const": "marketAddress",
                                      "type": "string"
                                    },
                                    {
                                      "const": "counterOutcome",
                                      "type": "string"
                                    },
                                    {
                                      "const": "evidenceHash",
                                      "type": "string"
                                    }
                                  ],
                                  "type": "array"
                                }
                              },
                              "required": [
                                "endpoint",
                                "method",
                                "requiredInput",
                                "options"
                              ],
                              "type": "object"
                            },
                            "proposedOutcome": {
                              "anyOf": [
                                {
                                  "const": 0,
                                  "type": "number"
                                },
                                {
                                  "const": 1,
                                  "type": "number"
                                },
                                {
                                  "const": 2,
                                  "type": "number"
                                },
                                {
                                  "const": 3,
                                  "type": "number"
                                }
                              ]
                            },
                            "proposerBondWei": {
                              "$ref": "#/$defs/WeiString"
                            }
                          },
                          "required": [
                            "proposedOutcome",
                            "livenessEndsAt",
                            "currentRound",
                            "proposerBondWei",
                            "challengerBondWei",
                            "bondToken",
                            "preparation",
                            "confirmation"
                          ],
                          "type": "object"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "finalOutcome": {
                      "anyOf": [
                        {
                          "anyOf": [
                            {
                              "const": 1,
                              "type": "number"
                            },
                            {
                              "const": 2,
                              "type": "number"
                            },
                            {
                              "const": 3,
                              "type": "number"
                            }
                          ]
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "humanVote": {
                      "additionalProperties": false,
                      "properties": {
                        "deadlineImmutable": {
                          "const": true,
                          "type": "boolean"
                        },
                        "endsAt": {
                          "anyOf": [
                            {
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "sessionId": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "windowStartsAt": {
                          "const": "session_open",
                          "type": "string"
                        }
                      },
                      "required": [
                        "sessionId",
                        "windowStartsAt",
                        "deadlineImmutable",
                        "endsAt"
                      ],
                      "type": "object"
                    },
                    "lifecycleStage": {
                      "$ref": "#/$defs/MarketLifecycleStage"
                    },
                    "marketAddress": {
                      "$ref": "#/$defs/EvmAddress"
                    },
                    "marketState": {
                      "enum": [
                        "open",
                        "closed",
                        "creator_proposal",
                        "challenge",
                        "human_voting",
                        "council_review",
                        "resolved",
                        "void"
                      ],
                      "type": "string"
                    },
                    "nextActionDeadline": {
                      "anyOf": [
                        {
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "resolutionStage": {
                      "enum": [
                        "AWAITING_RESPONSE",
                        "PROPOSED",
                        "IN_DISPUTE",
                        "IN_REVIEW",
                        "RESOLVED",
                        "CANCELLED",
                        "PAUSED",
                        "NOT_IN_RESOLUTION"
                      ],
                      "type": "string"
                    },
                    "responseWindow": {
                      "anyOf": [
                        {
                          "additionalProperties": false,
                          "properties": {
                            "closeTime": {
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                              "type": "string"
                            },
                            "creatorAddress": {
                              "anyOf": [
                                {
                                  "$ref": "#/$defs/EvmAddress"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "proposalEndpoints": {
                              "additionalProperties": false,
                              "properties": {
                                "confirm": {
                                  "const": "/api/agent/v1/resolve/propose",
                                  "type": "string"
                                },
                                "prepare": {
                                  "const": "/api/agent/v1/resolve/propose/prepare",
                                  "type": "string"
                                }
                              },
                              "required": [
                                "prepare",
                                "confirm"
                              ],
                              "type": "object"
                            },
                            "responseEndsAt": {
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                              "type": "string"
                            },
                            "secondsUntilActionable": {
                              "maximum": 9007199254740991,
                              "minimum": -9007199254740991,
                              "type": "integer"
                            }
                          },
                          "required": [
                            "creatorAddress",
                            "closeTime",
                            "responseEndsAt",
                            "secondsUntilActionable",
                            "proposalEndpoints"
                          ],
                          "type": "object"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "reviewSession": {
                      "anyOf": [
                        {
                          "additionalProperties": false,
                          "properties": {
                            "quorumReached": {
                              "type": "boolean"
                            },
                            "quorumRequired": {
                              "exclusiveMinimum": 0,
                              "maximum": 9007199254740991,
                              "type": "integer"
                            },
                            "sessionId": {
                              "type": "string"
                            },
                            "state": {
                              "enum": [
                                "open",
                                "verdict"
                              ],
                              "type": "string"
                            },
                            "verdict": {
                              "anyOf": [
                                {
                                  "anyOf": [
                                    {
                                      "const": 0,
                                      "type": "number"
                                    },
                                    {
                                      "const": 1,
                                      "type": "number"
                                    },
                                    {
                                      "const": 2,
                                      "type": "number"
                                    },
                                    {
                                      "const": 3,
                                      "type": "number"
                                    }
                                  ]
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "verdictKind": {
                              "anyOf": [
                                {
                                  "enum": [
                                    "binding",
                                    "no_quorum",
                                    "deadlock"
                                  ],
                                  "type": "string"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "voteCount": {
                              "maximum": 9007199254740991,
                              "minimum": 0,
                              "type": "integer"
                            },
                            "voteDeadline": {
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "type": "string"
                            },
                            "voteEndpoints": {
                              "additionalProperties": false,
                              "properties": {
                                "confirm": {
                                  "const": "/api/v1/human-vote/vote",
                                  "type": "string"
                                },
                                "prepare": {
                                  "const": "/api/v1/human-vote/vote/prepare",
                                  "type": "string"
                                }
                              },
                              "required": [
                                "prepare",
                                "confirm"
                              ],
                              "type": "object"
                            }
                          },
                          "required": [
                            "sessionId",
                            "state",
                            "voteDeadline",
                            "voteCount",
                            "quorumRequired",
                            "quorumReached",
                            "verdictKind",
                            "verdict",
                            "voteEndpoints"
                          ],
                          "type": "object"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "stageDeadline": {
                      "anyOf": [
                        {
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "stageReason": {
                      "enum": [
                        "waiting_for_response",
                        "response_window_elapsed",
                        "proposal_open",
                        "dispute_open",
                        "review_open",
                        "review_complete",
                        "resolved",
                        "cancelled",
                        "paused",
                        "trading"
                      ],
                      "type": "string"
                    },
                    "tradingEndsAt": {
                      "anyOf": [
                        {
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "marketAddress",
                    "chainId",
                    "marketState",
                    "tradingEndsAt",
                    "lifecycleStage",
                    "stageDeadline",
                    "resolutionStage",
                    "stageReason",
                    "closeTime",
                    "creatorResolveBy",
                    "challengeBy",
                    "humanVote",
                    "councilReviewEndsAt",
                    "nextActionDeadline",
                    "actions",
                    "responseWindow",
                    "disputeAction",
                    "reviewSession",
                    "finalOutcome"
                  ],
                  "type": "object"
                },
                "ErrorReason": {
                  "enum": [
                    "AUTH_REQUIRED",
                    "WALLET_AUTH_REQUIRED",
                    "WALLET_AUTH_INVALID",
                    "INSUFFICIENT_TIER",
                    "FORBIDDEN",
                    "FEATURE_DISABLED",
                    "SERVICE_UNAVAILABLE_IN_REGION",
                    "NOT_ORB_VERIFIED",
                    "NOT_AUTHORIZED",
                    "NOT_MARKET_CREATOR",
                    "CALLER_NOT_CREATOR",
                    "AGENT_WALLET_CANNOT_VOTE",
                    "WALLET_REQUIRED",
                    "EMAIL_NOT_VERIFIED",
                    "EMAIL_ALREADY_REGISTERED",
                    "WALLET_ADDRESS_MISMATCH",
                    "WALLET_PARAM_NOT_ALLOWED",
                    "OWNER_ID_MISMATCH",
                    "OWNERSHIP_MISMATCH",
                    "OWNERSHIP_PROOF_REQUIRED",
                    "WALLET_MISMATCH",
                    "KEY_LIMIT_REACHED",
                    "SCOPE_WIDENING_DENIED",
                    "INVALID_REQUEST",
                    "INVALID_PAYLOAD",
                    "INVALID_QUERY",
                    "INVALID_HEADER",
                    "MISSING_FIELDS",
                    "INVALID_ID",
                    "INVALID_SCOPES",
                    "INVALID_SPENDING_LIMIT",
                    "INVALID_EXPIRES_AT",
                    "INVALID_WEBHOOK_URL",
                    "WEBHOOK_LIMIT_REACHED",
                    "KEY_ALREADY_REVOKED",
                    "MARKET_ID_REQUIRED",
                    "INVALID_OUTCOME",
                    "INVALID_CHAIN",
                    "INVALID_COLLATERAL",
                    "MISSING_COLLATERAL",
                    "INVALID_QUESTION",
                    "QUESTION_TOO_LONG",
                    "INVALID_SNAPSHOT",
                    "BATCH_TOO_LARGE",
                    "MAX_DEPTH_EXCEEDED",
                    "AMOUNT_ABOVE_MAXIMUM",
                    "AMOUNT_BELOW_MINIMUM",
                    "AMOUNT_BELOW_MINIMUM_FILL",
                    "AMOUNT_NOT_MULTIPLE",
                    "PRICE_OFF_TICK",
                    "ORDER_EXPIRY_TOO_SOON",
                    "BELOW_MINIMUM",
                    "OUTCOME_UNKNOWN",
                    "NOT_TWO_OUTCOMES",
                    "EXPIRY_TOO_SOON",
                    "MARKET_UNAVAILABLE",
                    "TRADING_ENDED",
                    "NO_LIQUIDITY",
                    "INSUFFICIENT_BALANCE",
                    "PAYLOAD_TOO_LARGE",
                    "PRIVATE_MARKET",
                    "INVALID_MARKET_REQUIRED",
                    "INVALID_MARKET_PAIR",
                    "PREFLIGHT_FAILED",
                    "PROPOSAL_FAILED",
                    "ACCEPT_FAILED",
                    "REJECT_FAILED",
                    "CONTENT_BLOCKED",
                    "SECURITY_RISK_BLOCKED",
                    "NO_PENDING_FEES",
                    "BAD_REQUEST",
                    "CORS_REJECTED",
                    "UNSUPPORTED_CHAIN",
                    "WORLD_ID_VERIFICATION_FAILED",
                    "REVOCATION_REQUIRES_ROOT",
                    "RECOVERY_REQUIRES_ROOT",
                    "IDENTITY_ALREADY_ENROLLED",
                    "RECOVERY_NOT_CONFIGURED",
                    "RECOVERY_KEY_INVALID",
                    "WORLD_ID_REVERIFICATION_REQUIRED",
                    "ROOT_RECOVERY_COOLDOWN",
                    "NOT_FOUND",
                    "MARKET_NOT_FOUND",
                    "MARKET_PRIOR_RELEASE",
                    "AGENT_NOT_FOUND",
                    "CHAIN_NOT_FOUND",
                    "PARENT_NOT_FOUND",
                    "FACTORY_NOT_DEPLOYED",
                    "KEY_NOT_FOUND",
                    "API_KEY_NOT_FOUND",
                    "WEBHOOK_NOT_FOUND",
                    "BUILDER_ID_NOT_FOUND",
                    "NO_API_KEYS",
                    "SEASON_NOT_FOUND",
                    "COHORT_NOT_FOUND",
                    "MARKET_CLOSED",
                    "MARKET_NOT_OPEN_YET",
                    "NOT_RESOLVABLE_YET",
                    "EXPIRED_TOKEN",
                    "ENDPOINT_RETIRED",
                    "CONFLICT",
                    "HEARTBEAT_SESSION_CONFLICT",
                    "HEARTBEAT_SESSION_REVISION_EXHAUSTED",
                    "SEASON_STATE_CONFLICT",
                    "MARKET_NOT_LIVE",
                    "MARKET_NOT_RESOLVED",
                    "CONTENT_SEALED",
                    "TIMING_SEALED",
                    "STALE_UPDATE",
                    "CATALOG_CHANGED",
                    "ALREADY_RESOLVED",
                    "CREATOR_WINDOW_ELAPSED",
                    "RELAY_REVERTED",
                    "HUMAN_VOTE_ACTIVE",
                    "CHALLENGE_WINDOW_CLOSED",
                    "COUNCIL_REVIEW_ACTIVE",
                    "MARKET_NOT_PENDING_RESOLUTION",
                    "ALREADY_SWEPT",
                    "SWEEP_IN_PROGRESS",
                    "DUPLICATE_CONTENT",
                    "AGENT_ALREADY_EXISTS",
                    "NAME_TAKEN",
                    "AMBIGUOUS_MARKET_ADDRESS",
                    "IDEMPOTENCY_KEY_CONFLICT",
                    "NONCE_REUSED",
                    "KEY_GENERATION_CONFLICT",
                    "MARKET_INSOLVENT",
                    "SLIPPAGE_EXCEEDED",
                    "INSUFFICIENT_ALLOWANCE",
                    "OPERATOR_APPROVAL_REQUIRED",
                    "INSUFFICIENT_DEPOSIT",
                    "INSUFFICIENT_PULL",
                    "SALE_PAUSED",
                    "SALE_INVENTORY_SHORT",
                    "QUOTE_MISMATCH",
                    "INSUFFICIENT_PAYMENT_BALANCE",
                    "PURCHASE_NOT_A_BUNDLE",
                    "PURCHASE_CAP_EXCEEDED",
                    "FILL_ALLOWANCE_EXHAUSTED",
                    "SPONSORED_TRADING_PAUSED",
                    "PASSKEY_REQUIRED",
                    "ACCOUNT_RESTRICTED",
                    "NOT_VERIFIED",
                    "STAKE_REQUIRED",
                    "STAKE_INTENT_INVALID",
                    "INSUFFICIENT_PM_FOR_VOTE_STAKE",
                    "STAKE_PULL_FAILED",
                    "VERIFIED_HUMAN_REQUIRED",
                    "CREATION_SLOTS_FULL",
                    "CREATOR_NOT_ADMITTED",
                    "CREATOR_CAPACITY_REACHED",
                    "REPUTATION_TOO_LOW",
                    "CONCURRENT_LIMIT_REACHED",
                    "LIFETIME_LIMIT_REACHED",
                    "CREATION_COOLDOWN_ACTIVE",
                    "SEED_LIMIT_EXCEEDED",
                    "DURATION_OUT_OF_RANGE",
                    "ACTIVE_VERIFIED_IDENTITY_REQUIRED",
                    "CURRENT_IDENTITY_MEMBERSHIP_REQUIRED",
                    "AGENT_OPERATING_WALLET_NOT_LINKED",
                    "IDENTITY_INTEGRITY_UNKNOWN",
                    "PARTICIPATION_RELEASE_NOT_DEPLOYED",
                    "PARTICIPATION_RELEASE_ROUTE_NOT_DEPLOYED",
                    "PARTICIPATION_PROFILE_MISMATCH",
                    "PARTICIPATION_RELEASE_INACTIVE",
                    "PARTICIPATION_DISTRIBUTION_PAUSED",
                    "PARTICIPATION_MONEY_PATH_INCOMPLETE",
                    "PARTICIPATION_LEDGER_ACCOUNTING_INVALID",
                    "PARTICIPATION_ROUTE_DEGRADED",
                    "PARTICIPATION_ROUTE_QUARANTINED",
                    "PARTICIPATION_INVENTORY_LOW",
                    "NO_PARTICIPATION_RELEASE_CREDITS",
                    "NEW_PARTICIPATION_RELEASE_UNITS_EXHAUSTED",
                    "PARTICIPATION_CLAIM_CADENCE_ACTIVE",
                    "PARTICIPATION_IDENTITY_ATTESTATION_REQUIRED",
                    "PARTICIPATION_DISTRIBUTION_ZERO_DELTA",
                    "PARTICIPATION_DISTRIBUTION_ALREADY_PREPARED",
                    "PARTICIPATION_DISTRIBUTION_RECIPIENT_STALE",
                    "PARTICIPATION_DISTRIBUTION_VOUCHER_EXPIRED",
                    "PARTICIPATION_DISTRIBUTION_EVENT_MISMATCH",
                    "PARTICIPATION_DISTRIBUTION_FINALITY_PENDING",
                    "RATE_LIMITED",
                    "INTERNAL_ERROR",
                    "SERVICE_UNAVAILABLE",
                    "ELIGIBILITY_UNDETERMINED",
                    "COLLATERAL_CONFIGURATION_MISMATCH",
                    "QUOTE_STATE_UNAVAILABLE",
                    "PROTOCOL_UNAVAILABLE",
                    "PROTOCOL_PAUSED",
                    "VENUE_HALTED",
                    "EMBED_ATTRIBUTION_UNAVAILABLE",
                    "QUOTE_FAILED",
                    "INVALID_MARKET_STATE",
                    "MATH_OVERFLOW",
                    "UNKNOWN_CONTRACT_ERROR",
                    "DEADLINE_EXPIRED",
                    "ZERO_INPUT",
                    "ZERO_NET_INPUT",
                    "ZERO_DELTA",
                    "INVALID_MARKET",
                    "INVALID_TOKEN",
                    "NATIVE_ROUTE_UNAVAILABLE",
                    "POST_ONLY_WOULD_CROSS",
                    "FOK_UNFILLABLE",
                    "CLORDID_CONFLICT",
                    "QUOTE_SET_INVALID",
                    "QUOTE_GENERATION_STALE",
                    "ORDER_IN_FLIGHT",
                    "MAKER_NOT_EXECUTABLE",
                    "LIQUIDITY_CHANGED",
                    "CANCELLATION_EVENT_NOT_FOUND",
                    "CANCELLATION_EVENT_MISMATCH",
                    "INVALID_NONCE_FLOOR",
                    "NONCE_INVALIDATION_EVENT_NOT_FOUND",
                    "NONCE_INVALIDATION_EVENT_MISMATCH",
                    "INVALID_TX_HASH"
                  ],
                  "type": "string",
                  "x-extensible-enum": true
                },
                "EvmAddress": {
                  "pattern": "^0x[a-fA-F0-9]{40}$",
                  "type": "string"
                },
                "MarketLifecycleStage": {
                  "enum": [
                    "open",
                    "closed",
                    "result_proposed",
                    "result_challenged",
                    "vote_open",
                    "vote_closed",
                    "under_review",
                    "resolved",
                    "voided"
                  ],
                  "type": "string"
                },
                "WeiString": {
                  "pattern": "^\\d+$",
                  "type": "string"
                }
              },
              "additionalProperties": false,
              "properties": {
                "result": {
                  "$ref": "#/$defs/DiscoverResolutionStateResponse"
                }
              },
              "required": [
                "result"
              ],
              "type": "object"
            },
            "annotations": {
              "destructiveHint": false,
              "idempotentHint": true,
              "openWorldHint": true,
              "permission": "none",
              "readOnlyHint": true
            }
          },
          {
            "name": "kellian_list_pending_resolution_markets",
            "title": "Markets waiting for resolution",
            "description": "List markets in the canonical resolution pipeline. Optional category, marketState, cursor, and limit.",
            "inputSchema": {
              "$defs": {
                "Cursor": {
                  "description": "Opaque server-generated cursor; pass back verbatim on next page.",
                  "maxLength": 256,
                  "minLength": 1,
                  "type": "string"
                },
                "MarketState": {
                  "description": "Canonical market state shared by every protocol surface.",
                  "enum": [
                    "open",
                    "closed",
                    "creator_proposal",
                    "challenge",
                    "human_voting",
                    "council_review",
                    "resolved",
                    "void"
                  ],
                  "type": "string"
                }
              },
              "properties": {
                "category": {
                  "description": "Optional market category filter.",
                  "enum": [
                    "CRYPTO",
                    "SPORTS",
                    "POLITICS",
                    "ELECTIONS",
                    "FINANCE",
                    "TECH",
                    "WORLD",
                    "ECONOMY",
                    "CULTURE",
                    "WEATHER",
                    "SCIENCE_HEALTH",
                    "AI",
                    "GAMING",
                    "BUSINESS",
                    "FASHION",
                    "MOVIES_TV",
                    "MUSIC",
                    "SHOPPING",
                    "BEAUTY",
                    "TRAVEL",
                    "CLIMATE",
                    "DAILY_LIFE",
                    "LOCAL",
                    "SOCIAL",
                    "FUN",
                    "OTHER"
                  ],
                  "type": "string"
                },
                "cursor": {
                  "$ref": "#/$defs/Cursor",
                  "description": "Opaque pagination cursor from a prior response."
                },
                "limit": {
                  "description": "Page size (1–100). Defaults to 50.",
                  "maximum": 100,
                  "minimum": 1,
                  "type": "integer"
                },
                "marketState": {
                  "$ref": "#/$defs/MarketState",
                  "description": "Optional canonical market-state filter."
                }
              },
              "type": "object"
            },
            "outputSchema": {
              "$defs": {
                "DiscoverPendingResolutionResponse": {
                  "additionalProperties": false,
                  "properties": {
                    "markets": {
                      "items": {
                        "additionalProperties": false,
                        "properties": {
                          "address": {
                            "$ref": "#/$defs/EvmAddress"
                          },
                          "category": {
                            "enum": [
                              "CRYPTO",
                              "SPORTS",
                              "POLITICS",
                              "ELECTIONS",
                              "FINANCE",
                              "TECH",
                              "WORLD",
                              "ECONOMY",
                              "CULTURE",
                              "WEATHER",
                              "SCIENCE_HEALTH",
                              "AI",
                              "GAMING",
                              "BUSINESS",
                              "FASHION",
                              "MOVIES_TV",
                              "MUSIC",
                              "SHOPPING",
                              "BEAUTY",
                              "TRAVEL",
                              "CLIMATE",
                              "DAILY_LIFE",
                              "LOCAL",
                              "SOCIAL",
                              "FUN",
                              "OTHER"
                            ],
                            "type": "string",
                            "x-extensible-enum": true
                          },
                          "chainId": {
                            "maximum": 9007199254740991,
                            "minimum": -9007199254740991,
                            "type": "integer"
                          },
                          "closeTime": {
                            "anyOf": [
                              {
                                "format": "date-time",
                                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "collateralDecimals": {
                            "anyOf": [
                              {
                                "maximum": 9007199254740991,
                                "minimum": -9007199254740991,
                                "type": "integer"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "collateralToken": {
                            "anyOf": [
                              {
                                "$ref": "#/$defs/EvmAddress"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "createdAt": {
                            "format": "date-time",
                            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                            "type": "string"
                          },
                          "imageUrl": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "lifecycleStage": {
                            "$ref": "#/$defs/MarketLifecycleStage"
                          },
                          "marketState": {
                            "enum": [
                              "open",
                              "closed",
                              "creator_proposal",
                              "challenge",
                              "human_voting",
                              "council_review",
                              "resolved",
                              "void"
                            ],
                            "type": "string"
                          },
                          "marketType": {
                            "type": "string"
                          },
                          "outcome1Label": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "outcome2Label": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "outcome3Label": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "question": {
                            "type": "string"
                          },
                          "resolutionCriteria": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "seed": {
                            "anyOf": [
                              {
                                "pattern": "^\\d+$",
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "settlement": {
                            "enum": [
                              "onchain",
                              "committed"
                            ],
                            "type": "string"
                          },
                          "spec": {
                            "anyOf": [
                              {},
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "stageDeadline": {
                            "anyOf": [
                              {
                                "format": "date-time",
                                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "tradingEndsAt": {
                            "anyOf": [
                              {
                                "format": "date-time",
                                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          }
                        },
                        "required": [
                          "address",
                          "chainId",
                          "question",
                          "category",
                          "marketType",
                          "outcome1Label",
                          "outcome2Label",
                          "outcome3Label",
                          "closeTime",
                          "marketState",
                          "tradingEndsAt",
                          "lifecycleStage",
                          "stageDeadline",
                          "imageUrl",
                          "seed",
                          "createdAt",
                          "collateralToken",
                          "collateralDecimals",
                          "spec",
                          "resolutionCriteria"
                        ],
                        "type": "object"
                      },
                      "type": "array"
                    },
                    "nextCursor": {
                      "anyOf": [
                        {
                          "maxLength": 256,
                          "minLength": 1,
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "markets",
                    "nextCursor"
                  ],
                  "type": "object"
                },
                "EvmAddress": {
                  "pattern": "^0x[a-fA-F0-9]{40}$",
                  "type": "string"
                },
                "MarketLifecycleStage": {
                  "enum": [
                    "open",
                    "closed",
                    "result_proposed",
                    "result_challenged",
                    "vote_open",
                    "vote_closed",
                    "under_review",
                    "resolved",
                    "voided"
                  ],
                  "type": "string"
                }
              },
              "additionalProperties": false,
              "properties": {
                "result": {
                  "$ref": "#/$defs/DiscoverPendingResolutionResponse"
                }
              },
              "required": [
                "result"
              ],
              "type": "object"
            },
            "annotations": {
              "destructiveHint": false,
              "idempotentHint": true,
              "openWorldHint": true,
              "permission": "none",
              "readOnlyHint": true
            }
          },
          {
            "name": "kellian_list_related_markets",
            "title": "Related markets in the same category and chain",
            "description": "List related markets in the same category and chain (canonical discovery set). Useful for context around a market before trading or creating.",
            "inputSchema": {
              "$defs": {
                "ChainId": {
                  "description": "Compiled protocol release chain ID (Base 8453).",
                  "maximum": 9007199254740991,
                  "minimum": -9007199254740991,
                  "type": "integer"
                },
                "EvmAddress": {
                  "description": "Checksummed or lowercase 20-byte EVM address (0x + 40 hex).",
                  "pattern": "^0x[a-fA-F0-9]{40}$",
                  "type": "string"
                }
              },
              "properties": {
                "address": {
                  "$ref": "#/$defs/EvmAddress",
                  "description": "Anchor market contract address."
                },
                "chainId": {
                  "$ref": "#/$defs/ChainId",
                  "description": "Chain id for the market address."
                },
                "limit": {
                  "description": "Max related markets (1–20, default 4).",
                  "maximum": 20,
                  "minimum": 1,
                  "type": "integer"
                }
              },
              "required": [
                "address",
                "chainId"
              ],
              "type": "object"
            },
            "outputSchema": {
              "$defs": {
                "DiscoverRelatedMarketsResponse": {
                  "additionalProperties": false,
                  "properties": {
                    "related": {
                      "items": {
                        "additionalProperties": false,
                        "properties": {
                          "address": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "category": {
                            "enum": [
                              "CRYPTO",
                              "SPORTS",
                              "POLITICS",
                              "ELECTIONS",
                              "FINANCE",
                              "TECH",
                              "WORLD",
                              "ECONOMY",
                              "CULTURE",
                              "WEATHER",
                              "SCIENCE_HEALTH",
                              "AI",
                              "GAMING",
                              "BUSINESS",
                              "FASHION",
                              "MOVIES_TV",
                              "MUSIC",
                              "SHOPPING",
                              "BEAUTY",
                              "TRAVEL",
                              "CLIMATE",
                              "DAILY_LIFE",
                              "LOCAL",
                              "SOCIAL",
                              "FUN",
                              "OTHER"
                            ],
                            "type": "string",
                            "x-extensible-enum": true
                          },
                          "chainId": {
                            "maximum": 9007199254740991,
                            "minimum": -9007199254740991,
                            "type": "integer"
                          },
                          "closeTime": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "collateralSymbol": {
                            "minLength": 1,
                            "type": "string"
                          },
                          "imageUrl": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "marketType": {
                            "type": "string"
                          },
                          "market_id": {
                            "maximum": 9007199254740991,
                            "minimum": -9007199254740991,
                            "type": "integer"
                          },
                          "outcome1Label": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "outcome2Label": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "outcome3Label": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "prices": {
                            "anyOf": [
                              {
                                "additionalProperties": false,
                                "properties": {
                                  "outcome1": {
                                    "type": "number"
                                  },
                                  "outcome2": {
                                    "type": "number"
                                  },
                                  "outcome3": {
                                    "type": "number"
                                  }
                                },
                                "required": [
                                  "outcome1",
                                  "outcome2"
                                ],
                                "type": "object"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "pricingModel": {
                            "anyOf": [
                              {
                                "enum": [
                                  "automated",
                                  "ORDERBOOK"
                                ],
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "question": {
                            "type": "string"
                          },
                          "quoteSummary": {
                            "anyOf": [
                              {
                                "additionalProperties": false,
                                "properties": {
                                  "expiresAt": {
                                    "format": "date-time",
                                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                                    "type": "string"
                                  },
                                  "initialReference": {
                                    "anyOf": [
                                      {
                                        "additionalProperties": false,
                                        "properties": {
                                          "kind": {
                                            "enum": [
                                              "neutral",
                                              "source"
                                            ],
                                            "type": "string"
                                          },
                                          "observedAt": {
                                            "format": "date-time",
                                            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                                            "type": "string"
                                          },
                                          "pricesBps": {
                                            "additionalProperties": false,
                                            "properties": {
                                              "outcome1": {
                                                "maximum": 10000,
                                                "minimum": 0,
                                                "type": "integer"
                                              },
                                              "outcome2": {
                                                "maximum": 10000,
                                                "minimum": 0,
                                                "type": "integer"
                                              },
                                              "outcome3": {
                                                "maximum": 10000,
                                                "minimum": 0,
                                                "type": "integer"
                                              }
                                            },
                                            "required": [
                                              "outcome1",
                                              "outcome2"
                                            ],
                                            "type": "object"
                                          },
                                          "source": {
                                            "minLength": 1,
                                            "type": "string"
                                          }
                                        },
                                        "required": [
                                          "kind",
                                          "pricesBps",
                                          "source",
                                          "observedAt"
                                        ],
                                        "type": "object"
                                      },
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  },
                                  "lastTrade": {
                                    "anyOf": [
                                      {
                                        "additionalProperties": false,
                                        "properties": {
                                          "outcome": {
                                            "anyOf": [
                                              {
                                                "const": 1,
                                                "type": "number"
                                              },
                                              {
                                                "const": 2,
                                                "type": "number"
                                              },
                                              {
                                                "const": 3,
                                                "type": "number"
                                              }
                                            ]
                                          },
                                          "priceBps": {
                                            "maximum": 10000,
                                            "minimum": 0,
                                            "type": "integer"
                                          },
                                          "tradedAt": {
                                            "format": "date-time",
                                            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                                            "type": "string"
                                          }
                                        },
                                        "required": [
                                          "outcome",
                                          "priceBps",
                                          "tradedAt"
                                        ],
                                        "type": "object"
                                      },
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  },
                                  "observedAt": {
                                    "format": "date-time",
                                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                                    "type": "string"
                                  },
                                  "outcomes": {
                                    "additionalProperties": false,
                                    "properties": {
                                      "outcome1": {
                                        "additionalProperties": false,
                                        "properties": {
                                          "bestAskBps": {
                                            "anyOf": [
                                              {
                                                "maximum": 10000,
                                                "minimum": 0,
                                                "type": "integer"
                                              },
                                              {
                                                "type": "null"
                                              }
                                            ]
                                          },
                                          "bestBidBps": {
                                            "anyOf": [
                                              {
                                                "maximum": 10000,
                                                "minimum": 0,
                                                "type": "integer"
                                              },
                                              {
                                                "type": "null"
                                              }
                                            ]
                                          }
                                        },
                                        "required": [
                                          "bestBidBps",
                                          "bestAskBps"
                                        ],
                                        "type": "object"
                                      },
                                      "outcome2": {
                                        "additionalProperties": false,
                                        "properties": {
                                          "bestAskBps": {
                                            "anyOf": [
                                              {
                                                "maximum": 10000,
                                                "minimum": 0,
                                                "type": "integer"
                                              },
                                              {
                                                "type": "null"
                                              }
                                            ]
                                          },
                                          "bestBidBps": {
                                            "anyOf": [
                                              {
                                                "maximum": 10000,
                                                "minimum": 0,
                                                "type": "integer"
                                              },
                                              {
                                                "type": "null"
                                              }
                                            ]
                                          }
                                        },
                                        "required": [
                                          "bestBidBps",
                                          "bestAskBps"
                                        ],
                                        "type": "object"
                                      },
                                      "outcome3": {
                                        "additionalProperties": false,
                                        "properties": {
                                          "bestAskBps": {
                                            "anyOf": [
                                              {
                                                "maximum": 10000,
                                                "minimum": 0,
                                                "type": "integer"
                                              },
                                              {
                                                "type": "null"
                                              }
                                            ]
                                          },
                                          "bestBidBps": {
                                            "anyOf": [
                                              {
                                                "maximum": 10000,
                                                "minimum": 0,
                                                "type": "integer"
                                              },
                                              {
                                                "type": "null"
                                              }
                                            ]
                                          }
                                        },
                                        "required": [
                                          "bestBidBps",
                                          "bestAskBps"
                                        ],
                                        "type": "object"
                                      }
                                    },
                                    "required": [
                                      "outcome1",
                                      "outcome2"
                                    ],
                                    "type": "object"
                                  }
                                },
                                "required": [
                                  "observedAt",
                                  "expiresAt",
                                  "outcomes"
                                ],
                                "type": "object"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "resolutionTime": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "settlement": {
                            "enum": [
                              "onchain",
                              "committed"
                            ],
                            "type": "string"
                          },
                          "volume": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "market_id",
                          "chainId",
                          "address",
                          "question",
                          "category",
                          "marketType",
                          "imageUrl",
                          "resolutionTime",
                          "closeTime",
                          "outcome1Label",
                          "outcome2Label",
                          "outcome3Label",
                          "collateralSymbol",
                          "volume",
                          "prices"
                        ],
                        "type": "object"
                      },
                      "type": "array"
                    }
                  },
                  "required": [
                    "related"
                  ],
                  "type": "object"
                }
              },
              "additionalProperties": false,
              "properties": {
                "result": {
                  "$ref": "#/$defs/DiscoverRelatedMarketsResponse"
                }
              },
              "required": [
                "result"
              ],
              "type": "object"
            },
            "annotations": {
              "destructiveHint": false,
              "idempotentHint": true,
              "openWorldHint": true,
              "permission": "none",
              "readOnlyHint": true
            }
          },
          {
            "name": "kellian_discover_market_data",
            "title": "Describe canonical market-data lanes for agents",
            "description": "Describe the canonical market-data lanes for agents: the public WebSocket (subscribe via query params, channel catalog, client/server message shapes), REST snapshot/quote/orderbook lanes, the consumer SSE stream, and the agent lifecycle-and-negotiation control-plane WebSocket. Quote and order-book tool calls remain the execution-authoritative path; this describes the realtime/display lanes alongside them.",
            "inputSchema": {
              "properties": {},
              "type": "object"
            },
            "outputSchema": {
              "$defs": {
                "MarketDataDiscoveryResponse": {
                  "additionalProperties": false,
                  "properties": {
                    "agentWebSocket": {
                      "additionalProperties": false,
                      "properties": {
                        "note": {
                          "type": "string"
                        },
                        "role": {
                          "const": "lifecycle-and-negotiation-control-plane",
                          "type": "string"
                        },
                        "url": {
                          "const": "/api/agent/v1/events/ws",
                          "type": "string"
                        }
                      },
                      "required": [
                        "url",
                        "role",
                        "note"
                      ],
                      "type": "object"
                    },
                    "rest": {
                      "additionalProperties": false,
                      "properties": {
                        "chartLatest": {
                          "additionalProperties": false,
                          "properties": {
                            "authority": {
                              "const": "display",
                              "type": "string"
                            },
                            "endpoint": {
                              "const": "GET /api/agent/v1/discover/markets/{address}/chart?chainId=\u0026window=",
                              "type": "string"
                            },
                            "note": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "endpoint",
                            "authority",
                            "note"
                          ],
                          "type": "object"
                        },
                        "orderbook": {
                          "additionalProperties": false,
                          "properties": {
                            "authority": {
                              "const": "execution",
                              "type": "string"
                            },
                            "mcpTool": {
                              "const": "problee_get_orderbook",
                              "type": "string"
                            },
                            "note": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "mcpTool",
                            "authority",
                            "note"
                          ],
                          "type": "object"
                        },
                        "positions": {
                          "additionalProperties": false,
                          "properties": {
                            "authority": {
                              "const": "reconciliation",
                              "type": "string"
                            },
                            "endpoint": {
                              "const": "GET /api/agent/v1/trade/positions",
                              "type": "string"
                            },
                            "note": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "endpoint",
                            "authority",
                            "note"
                          ],
                          "type": "object"
                        },
                        "quote": {
                          "additionalProperties": false,
                          "properties": {
                            "authority": {
                              "const": "execution",
                              "type": "string"
                            },
                            "endpoint": {
                              "const": "POST /api/agent/v1/trade/quote",
                              "type": "string"
                            },
                            "note": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "endpoint",
                            "authority",
                            "note"
                          ],
                          "type": "object"
                        },
                        "quoteBatch": {
                          "additionalProperties": false,
                          "properties": {
                            "authority": {
                              "const": "execution",
                              "type": "string"
                            },
                            "endpoint": {
                              "const": "POST /api/agent/v1/trade/quote/batch",
                              "type": "string"
                            },
                            "note": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "endpoint",
                            "authority",
                            "note"
                          ],
                          "type": "object"
                        }
                      },
                      "required": [
                        "chartLatest",
                        "quote",
                        "quoteBatch",
                        "orderbook",
                        "positions"
                      ],
                      "type": "object"
                    },
                    "sse": {
                      "additionalProperties": false,
                      "properties": {
                        "filters": {
                          "additionalProperties": false,
                          "properties": {
                            "chainId": {
                              "const": "required number for chain-scoped subscriptions",
                              "type": "string"
                            },
                            "markets": {
                              "const": "comma-separated market addresses, max 100",
                              "type": "string"
                            }
                          },
                          "required": [
                            "chainId",
                            "markets"
                          ],
                          "type": "object"
                        },
                        "note": {
                          "type": "string"
                        },
                        "protocol": {
                          "const": "sse",
                          "type": "string"
                        },
                        "url": {
                          "const": "/api/consumer/market/stream",
                          "type": "string"
                        }
                      },
                      "required": [
                        "url",
                        "protocol",
                        "filters",
                        "note"
                      ],
                      "type": "object"
                    },
                    "webSocket": {
                      "additionalProperties": false,
                      "properties": {
                        "channels": {
                          "items": {
                            "enum": [
                              "market:update",
                              "trade:new",
                              "orderbook:l2:v2"
                            ],
                            "type": "string"
                          },
                          "type": "array"
                        },
                        "clientMessages": {
                          "items": {
                            "additionalProperties": false,
                            "properties": {
                              "note": {
                                "type": "string"
                              },
                              "shape": {
                                "type": "string"
                              },
                              "type": {
                                "enum": [
                                  "subscribe",
                                  "unsubscribe",
                                  "ping"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "type",
                              "shape"
                            ],
                            "type": "object"
                          },
                          "type": "array"
                        },
                        "maxMarketsPerConnection": {
                          "const": 100,
                          "type": "number"
                        },
                        "protocol": {
                          "const": "json",
                          "type": "string"
                        },
                        "querySubscribe": {
                          "additionalProperties": false,
                          "properties": {
                            "note": {
                              "type": "string"
                            },
                            "shape": {
                              "const": "?chainId=\u003cnumber\u003e\u0026markets=\u003caddress,address\u003e\u0026channels=market:update,trade:new,orderbook:l2:v2",
                              "type": "string"
                            }
                          },
                          "required": [
                            "shape",
                            "note"
                          ],
                          "type": "object"
                        },
                        "serverMessages": {
                          "items": {
                            "additionalProperties": false,
                            "properties": {
                              "note": {
                                "type": "string"
                              },
                              "shape": {
                                "type": "string"
                              },
                              "type": {
                                "enum": [
                                  "connected",
                                  "snapshot",
                                  "market:update",
                                  "trade:new",
                                  "orderbook:l2:v2",
                                  "pong",
                                  "error"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "type",
                              "shape"
                            ],
                            "type": "object"
                          },
                          "type": "array"
                        },
                        "url": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "url",
                        "protocol",
                        "maxMarketsPerConnection",
                        "channels",
                        "querySubscribe",
                        "clientMessages",
                        "serverMessages"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "webSocket",
                    "rest",
                    "sse",
                    "agentWebSocket"
                  ],
                  "type": "object"
                }
              },
              "additionalProperties": false,
              "properties": {
                "result": {
                  "$ref": "#/$defs/MarketDataDiscoveryResponse"
                }
              },
              "required": [
                "result"
              ],
              "type": "object"
            },
            "annotations": {
              "destructiveHint": false,
              "idempotentHint": true,
              "openWorldHint": true,
              "permission": "none",
              "readOnlyHint": true
            }
          },
          {
            "name": "kellian_get_counterparty_reputation",
            "title": "Read black-box public reputation for a wallet counterparty",
            "description": "Read black-box public reputation for a wallet counterparty. Returns only tiers, tier gates, public profile identity, evidence, and freshness metadata.",
            "inputSchema": {
              "$defs": {
                "EvmAddress": {
                  "description": "Checksummed or lowercase 20-byte EVM address (0x + 40 hex).",
                  "pattern": "^0x[a-fA-F0-9]{40}$",
                  "type": "string"
                }
              },
              "properties": {
                "walletAddress": {
                  "$ref": "#/$defs/EvmAddress",
                  "description": "Counterparty wallet address."
                }
              },
              "required": [
                "walletAddress"
              ],
              "type": "object"
            },
            "outputSchema": {
              "$defs": {
                "AgentPublicReputation": {
                  "additionalProperties": false,
                  "properties": {
                    "creatorTier": {
                      "$ref": "#/$defs/AgentReputationTier"
                    },
                    "evidence": {
                      "additionalProperties": false,
                      "properties": {
                        "hasAgentProfile": {
                          "type": "boolean"
                        },
                        "hasPublicProfile": {
                          "type": "boolean"
                        },
                        "identityVerified": {
                          "type": [
                            "boolean",
                            "null"
                          ]
                        },
                        "lastUpdated": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "roles": {
                          "items": {
                            "enum": [
                              "creator",
                              "juror",
                              "trader",
                              "agent"
                            ],
                            "type": "string"
                          },
                          "type": "array"
                        }
                      },
                      "required": [
                        "identityVerified",
                        "hasPublicProfile",
                        "hasAgentProfile",
                        "roles",
                        "lastUpdated"
                      ],
                      "type": "object"
                    },
                    "jurorTier": {
                      "$ref": "#/$defs/AgentReputationTier"
                    },
                    "lastUpdated": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "ownerKind": {
                      "enum": [
                        "identity",
                        "standalone_wallet",
                        "agent"
                      ],
                      "type": "string"
                    },
                    "profile": {
                      "additionalProperties": false,
                      "properties": {
                        "agentId": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "agentName": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "avatarUrl": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "bio": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "displayName": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "website": {
                          "type": [
                            "string",
                            "null"
                          ]
                        }
                      },
                      "required": [
                        "displayName",
                        "avatarUrl",
                        "bio",
                        "website",
                        "agentId",
                        "agentName"
                      ],
                      "type": "object"
                    },
                    "subjectId": {
                      "minLength": 1,
                      "type": "string"
                    },
                    "tierGates": {
                      "additionalProperties": false,
                      "properties": {
                        "canChallenge": {
                          "type": "boolean"
                        },
                        "canVote": {
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "canVote",
                        "canChallenge"
                      ],
                      "type": "object"
                    },
                    "trackRecord": {
                      "additionalProperties": false,
                      "properties": {
                        "issueCount": {
                          "anyOf": [
                            {
                              "maximum": 9007199254740991,
                              "minimum": 0,
                              "type": "integer"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "marketsCreated": {
                          "maximum": 9007199254740991,
                          "minimum": 0,
                          "type": "integer"
                        },
                        "marketsOverturned": {
                          "maximum": 9007199254740991,
                          "minimum": 0,
                          "type": "integer"
                        },
                        "marketsResolved": {
                          "maximum": 9007199254740991,
                          "minimum": 0,
                          "type": "integer"
                        },
                        "marketsVoided": {
                          "maximum": 9007199254740991,
                          "minimum": 0,
                          "type": "integer"
                        },
                        "reversalRate": {
                          "maximum": 1,
                          "minimum": 0,
                          "type": "number"
                        },
                        "upheldRate": {
                          "anyOf": [
                            {
                              "maximum": 100,
                              "minimum": 0,
                              "type": "number"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "votesCast": {
                          "maximum": 9007199254740991,
                          "minimum": 0,
                          "type": "integer"
                        }
                      },
                      "required": [
                        "marketsCreated",
                        "marketsResolved",
                        "marketsOverturned",
                        "marketsVoided",
                        "reversalRate",
                        "votesCast"
                      ],
                      "type": "object"
                    },
                    "walletAddress": {
                      "anyOf": [
                        {
                          "pattern": "^0x[a-fA-F0-9]{40}$",
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "subjectId",
                    "ownerKind",
                    "walletAddress",
                    "creatorTier",
                    "jurorTier",
                    "tierGates",
                    "trackRecord",
                    "profile",
                    "evidence",
                    "lastUpdated"
                  ],
                  "type": "object"
                },
                "AgentReputationTier": {
                  "enum": [
                    "banned",
                    "new",
                    "established",
                    "trusted",
                    "expert",
                    "legend"
                  ],
                  "type": "string"
                }
              },
              "additionalProperties": false,
              "properties": {
                "result": {
                  "$ref": "#/$defs/AgentPublicReputation"
                }
              },
              "required": [
                "result"
              ],
              "type": "object"
            },
            "annotations": {
              "destructiveHint": false,
              "idempotentHint": true,
              "openWorldHint": true,
              "permission": "api-key-read",
              "readOnlyHint": true
            }
          },
          {
            "name": "kellian_get_subject_reputation",
            "title": "Read black-box public reputation for an opaque reputation subject",
            "description": "Read black-box public reputation (tiers, gates, track record, evidence) for an opaque reputation subject id — verified humans are addressed by subject id, never by wallet.",
            "inputSchema": {
              "properties": {
                "subjectId": {
                  "description": "Opaque reputation subject id.",
                  "maxLength": 256,
                  "minLength": 1,
                  "type": "string"
                }
              },
              "required": [
                "subjectId"
              ],
              "type": "object"
            },
            "outputSchema": {
              "$defs": {
                "AgentPublicReputation": {
                  "additionalProperties": false,
                  "properties": {
                    "creatorTier": {
                      "$ref": "#/$defs/AgentReputationTier"
                    },
                    "evidence": {
                      "additionalProperties": false,
                      "properties": {
                        "hasAgentProfile": {
                          "type": "boolean"
                        },
                        "hasPublicProfile": {
                          "type": "boolean"
                        },
                        "identityVerified": {
                          "type": [
                            "boolean",
                            "null"
                          ]
                        },
                        "lastUpdated": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "roles": {
                          "items": {
                            "enum": [
                              "creator",
                              "juror",
                              "trader",
                              "agent"
                            ],
                            "type": "string"
                          },
                          "type": "array"
                        }
                      },
                      "required": [
                        "identityVerified",
                        "hasPublicProfile",
                        "hasAgentProfile",
                        "roles",
                        "lastUpdated"
                      ],
                      "type": "object"
                    },
                    "jurorTier": {
                      "$ref": "#/$defs/AgentReputationTier"
                    },
                    "lastUpdated": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "ownerKind": {
                      "enum": [
                        "identity",
                        "standalone_wallet",
                        "agent"
                      ],
                      "type": "string"
                    },
                    "profile": {
                      "additionalProperties": false,
                      "properties": {
                        "agentId": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "agentName": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "avatarUrl": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "bio": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "displayName": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "website": {
                          "type": [
                            "string",
                            "null"
                          ]
                        }
                      },
                      "required": [
                        "displayName",
                        "avatarUrl",
                        "bio",
                        "website",
                        "agentId",
                        "agentName"
                      ],
                      "type": "object"
                    },
                    "subjectId": {
                      "minLength": 1,
                      "type": "string"
                    },
                    "tierGates": {
                      "additionalProperties": false,
                      "properties": {
                        "canChallenge": {
                          "type": "boolean"
                        },
                        "canVote": {
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "canVote",
                        "canChallenge"
                      ],
                      "type": "object"
                    },
                    "trackRecord": {
                      "additionalProperties": false,
                      "properties": {
                        "issueCount": {
                          "anyOf": [
                            {
                              "maximum": 9007199254740991,
                              "minimum": 0,
                              "type": "integer"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "marketsCreated": {
                          "maximum": 9007199254740991,
                          "minimum": 0,
                          "type": "integer"
                        },
                        "marketsOverturned": {
                          "maximum": 9007199254740991,
                          "minimum": 0,
                          "type": "integer"
                        },
                        "marketsResolved": {
                          "maximum": 9007199254740991,
                          "minimum": 0,
                          "type": "integer"
                        },
                        "marketsVoided": {
                          "maximum": 9007199254740991,
                          "minimum": 0,
                          "type": "integer"
                        },
                        "reversalRate": {
                          "maximum": 1,
                          "minimum": 0,
                          "type": "number"
                        },
                        "upheldRate": {
                          "anyOf": [
                            {
                              "maximum": 100,
                              "minimum": 0,
                              "type": "number"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "votesCast": {
                          "maximum": 9007199254740991,
                          "minimum": 0,
                          "type": "integer"
                        }
                      },
                      "required": [
                        "marketsCreated",
                        "marketsResolved",
                        "marketsOverturned",
                        "marketsVoided",
                        "reversalRate",
                        "votesCast"
                      ],
                      "type": "object"
                    },
                    "walletAddress": {
                      "anyOf": [
                        {
                          "pattern": "^0x[a-fA-F0-9]{40}$",
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "subjectId",
                    "ownerKind",
                    "walletAddress",
                    "creatorTier",
                    "jurorTier",
                    "tierGates",
                    "trackRecord",
                    "profile",
                    "evidence",
                    "lastUpdated"
                  ],
                  "type": "object"
                },
                "AgentReputationTier": {
                  "enum": [
                    "banned",
                    "new",
                    "established",
                    "trusted",
                    "expert",
                    "legend"
                  ],
                  "type": "string"
                }
              },
              "additionalProperties": false,
              "properties": {
                "result": {
                  "$ref": "#/$defs/AgentPublicReputation"
                }
              },
              "required": [
                "result"
              ],
              "type": "object"
            },
            "annotations": {
              "destructiveHint": false,
              "idempotentHint": true,
              "openWorldHint": true,
              "permission": "api-key-read",
              "readOnlyHint": true
            }
          },
          {
            "name": "kellian_get_agent_reputation",
            "title": "Read black-box public reputation for an agent profile",
            "description": "Read black-box public reputation (tiers, gates, track record, evidence) for a registered agent by its agent id.",
            "inputSchema": {
              "properties": {
                "agentId": {
                  "description": "Registered agent id.",
                  "maxLength": 128,
                  "minLength": 1,
                  "type": "string"
                }
              },
              "required": [
                "agentId"
              ],
              "type": "object"
            },
            "outputSchema": {
              "$defs": {
                "AgentPublicReputation": {
                  "additionalProperties": false,
                  "properties": {
                    "creatorTier": {
                      "$ref": "#/$defs/AgentReputationTier"
                    },
                    "evidence": {
                      "additionalProperties": false,
                      "properties": {
                        "hasAgentProfile": {
                          "type": "boolean"
                        },
                        "hasPublicProfile": {
                          "type": "boolean"
                        },
                        "identityVerified": {
                          "type": [
                            "boolean",
                            "null"
                          ]
                        },
                        "lastUpdated": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "roles": {
                          "items": {
                            "enum": [
                              "creator",
                              "juror",
                              "trader",
                              "agent"
                            ],
                            "type": "string"
                          },
                          "type": "array"
                        }
                      },
                      "required": [
                        "identityVerified",
                        "hasPublicProfile",
                        "hasAgentProfile",
                        "roles",
                        "lastUpdated"
                      ],
                      "type": "object"
                    },
                    "jurorTier": {
                      "$ref": "#/$defs/AgentReputationTier"
                    },
                    "lastUpdated": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "ownerKind": {
                      "enum": [
                        "identity",
                        "standalone_wallet",
                        "agent"
                      ],
                      "type": "string"
                    },
                    "profile": {
                      "additionalProperties": false,
                      "properties": {
                        "agentId": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "agentName": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "avatarUrl": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "bio": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "displayName": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "website": {
                          "type": [
                            "string",
                            "null"
                          ]
                        }
                      },
                      "required": [
                        "displayName",
                        "avatarUrl",
                        "bio",
                        "website",
                        "agentId",
                        "agentName"
                      ],
                      "type": "object"
                    },
                    "subjectId": {
                      "minLength": 1,
                      "type": "string"
                    },
                    "tierGates": {
                      "additionalProperties": false,
                      "properties": {
                        "canChallenge": {
                          "type": "boolean"
                        },
                        "canVote": {
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "canVote",
                        "canChallenge"
                      ],
                      "type": "object"
                    },
                    "trackRecord": {
                      "additionalProperties": false,
                      "properties": {
                        "issueCount": {
                          "anyOf": [
                            {
                              "maximum": 9007199254740991,
                              "minimum": 0,
                              "type": "integer"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "marketsCreated": {
                          "maximum": 9007199254740991,
                          "minimum": 0,
                          "type": "integer"
                        },
                        "marketsOverturned": {
                          "maximum": 9007199254740991,
                          "minimum": 0,
                          "type": "integer"
                        },
                        "marketsResolved": {
                          "maximum": 9007199254740991,
                          "minimum": 0,
                          "type": "integer"
                        },
                        "marketsVoided": {
                          "maximum": 9007199254740991,
                          "minimum": 0,
                          "type": "integer"
                        },
                        "reversalRate": {
                          "maximum": 1,
                          "minimum": 0,
                          "type": "number"
                        },
                        "upheldRate": {
                          "anyOf": [
                            {
                              "maximum": 100,
                              "minimum": 0,
                              "type": "number"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "votesCast": {
                          "maximum": 9007199254740991,
                          "minimum": 0,
                          "type": "integer"
                        }
                      },
                      "required": [
                        "marketsCreated",
                        "marketsResolved",
                        "marketsOverturned",
                        "marketsVoided",
                        "reversalRate",
                        "votesCast"
                      ],
                      "type": "object"
                    },
                    "walletAddress": {
                      "anyOf": [
                        {
                          "pattern": "^0x[a-fA-F0-9]{40}$",
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "subjectId",
                    "ownerKind",
                    "walletAddress",
                    "creatorTier",
                    "jurorTier",
                    "tierGates",
                    "trackRecord",
                    "profile",
                    "evidence",
                    "lastUpdated"
                  ],
                  "type": "object"
                },
                "AgentReputationTier": {
                  "enum": [
                    "banned",
                    "new",
                    "established",
                    "trusted",
                    "expert",
                    "legend"
                  ],
                  "type": "string"
                }
              },
              "additionalProperties": false,
              "properties": {
                "result": {
                  "$ref": "#/$defs/AgentPublicReputation"
                }
              },
              "required": [
                "result"
              ],
              "type": "object"
            },
            "annotations": {
              "destructiveHint": false,
              "idempotentHint": true,
              "openWorldHint": true,
              "permission": "api-key-read",
              "readOnlyHint": true
            }
          },
          {
            "name": "kellian_list_reputation_leaderboard",
            "title": "List public black-box reputation leaderboard by role",
            "description": "List black-box public reputation leaderboard entries by canonical role.",
            "inputSchema": {
              "properties": {
                "limit": {
                  "default": 50,
                  "maximum": 100,
                  "minimum": 1,
                  "type": "integer"
                },
                "offset": {
                  "default": 0,
                  "maximum": 9007199254740991,
                  "minimum": 0,
                  "type": "integer"
                },
                "period": {
                  "default": "all",
                  "description": "7d, 30d, or all.",
                  "enum": [
                    "7d",
                    "30d",
                    "all"
                  ],
                  "type": "string"
                },
                "role": {
                  "default": "overall",
                  "description": "creator, juror, trader, or overall.",
                  "enum": [
                    "creator",
                    "juror",
                    "trader",
                    "overall"
                  ],
                  "type": "string"
                }
              },
              "type": "object"
            },
            "outputSchema": {
              "$defs": {
                "AgentReputationLeaderboardResponse": {
                  "additionalProperties": false,
                  "properties": {
                    "leaderboard": {
                      "items": {
                        "additionalProperties": false,
                        "properties": {
                          "evidence": {
                            "additionalProperties": false,
                            "properties": {
                              "hasAgentProfile": {
                                "type": "boolean"
                              },
                              "hasPublicProfile": {
                                "type": "boolean"
                              },
                              "identityVerified": {
                                "type": [
                                  "boolean",
                                  "null"
                                ]
                              },
                              "lastUpdated": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "roles": {
                                "items": {
                                  "enum": [
                                    "creator",
                                    "juror",
                                    "trader",
                                    "agent"
                                  ],
                                  "type": "string"
                                },
                                "type": "array"
                              }
                            },
                            "required": [
                              "identityVerified",
                              "hasPublicProfile",
                              "hasAgentProfile",
                              "roles",
                              "lastUpdated"
                            ],
                            "type": "object"
                          },
                          "ownerKind": {
                            "enum": [
                              "identity",
                              "standalone_wallet"
                            ],
                            "type": "string"
                          },
                          "profile": {
                            "additionalProperties": false,
                            "properties": {
                              "agentId": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "agentName": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "avatarUrl": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "bio": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "displayName": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "website": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              }
                            },
                            "required": [
                              "displayName",
                              "avatarUrl",
                              "bio",
                              "website",
                              "agentId",
                              "agentName"
                            ],
                            "type": "object"
                          },
                          "rank": {
                            "exclusiveMinimum": 0,
                            "maximum": 9007199254740991,
                            "type": "integer"
                          },
                          "subjectId": {
                            "minLength": 1,
                            "type": "string"
                          },
                          "tier": {
                            "enum": [
                              "banned",
                              "new",
                              "established",
                              "trusted",
                              "expert",
                              "legend"
                            ],
                            "type": "string"
                          },
                          "walletAddress": {
                            "anyOf": [
                              {
                                "pattern": "^0x[a-fA-F0-9]{40}$",
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          }
                        },
                        "required": [
                          "rank",
                          "subjectId",
                          "ownerKind",
                          "walletAddress",
                          "tier",
                          "profile",
                          "evidence"
                        ],
                        "type": "object"
                      },
                      "type": "array"
                    },
                    "limit": {
                      "exclusiveMinimum": 0,
                      "maximum": 9007199254740991,
                      "type": "integer"
                    },
                    "offset": {
                      "maximum": 9007199254740991,
                      "minimum": 0,
                      "type": "integer"
                    },
                    "period": {
                      "enum": [
                        "7d",
                        "30d",
                        "all"
                      ],
                      "type": "string"
                    },
                    "role": {
                      "enum": [
                        "creator",
                        "juror",
                        "trader",
                        "overall"
                      ],
                      "type": "string"
                    },
                    "total": {
                      "maximum": 9007199254740991,
                      "minimum": 0,
                      "type": "integer"
                    }
                  },
                  "required": [
                    "role",
                    "period",
                    "leaderboard",
                    "total",
                    "limit",
                    "offset"
                  ],
                  "type": "object"
                }
              },
              "additionalProperties": false,
              "properties": {
                "result": {
                  "$ref": "#/$defs/AgentReputationLeaderboardResponse"
                }
              },
              "required": [
                "result"
              ],
              "type": "object"
            },
            "annotations": {
              "destructiveHint": false,
              "idempotentHint": true,
              "openWorldHint": true,
              "permission": "api-key-read",
              "readOnlyHint": true
            }
          },
          {
            "name": "kellian_get_trader_profile",
            "title": "Counterparty trading track record + reputation for a wallet",
            "description": "Public reputation tiers and trading track record for a wallet: profit or loss by collateral, win/loss, win rate, markets traded and member-since. Method, period and completeness remain explicit. Or a listed trader's lists and 3-month record by traderReference.",
            "inputSchema": {
              "$defs": {
                "EvmAddress": {
                  "description": "Checksummed or lowercase 20-byte EVM address (0x + 40 hex).",
                  "pattern": "^0x[a-fA-F0-9]{40}$",
                  "type": "string"
                }
              },
              "properties": {
                "address": {
                  "$ref": "#/$defs/EvmAddress",
                  "description": "Wallet address."
                },
                "traderReference": {
                  "pattern": "^trd_[A-Za-z0-9_-]{27}$",
                  "type": "string"
                }
              },
              "type": "object"
            },
            "outputSchema": {
              "$defs": {
                "ExactTradingRatio": {
                  "additionalProperties": false,
                  "properties": {
                    "denominator": {
                      "maxLength": 4096,
                      "pattern": "^[1-9][0-9]*$",
                      "type": "string"
                    },
                    "numerator": {
                      "maxLength": 4096,
                      "pattern": "^-?(0|[1-9][0-9]*)$",
                      "type": "string"
                    }
                  },
                  "required": [
                    "numerator",
                    "denominator"
                  ],
                  "type": "object"
                },
                "ReputationTier": {
                  "enum": [
                    "banned",
                    "new",
                    "established",
                    "trusted",
                    "expert",
                    "legend"
                  ],
                  "type": "string"
                }
              },
              "additionalProperties": false,
              "properties": {
                "result": {
                  "anyOf": [
                    {
                      "additionalProperties": false,
                      "properties": {
                        "address": {
                          "pattern": "^0x[a-fA-F0-9]{40}$",
                          "type": "string"
                        },
                        "creatorTier": {
                          "$ref": "#/$defs/ReputationTier"
                        },
                        "jurorTier": {
                          "$ref": "#/$defs/ReputationTier"
                        },
                        "traderStats": {
                          "additionalProperties": false,
                          "properties": {
                            "activeCount": {
                              "anyOf": [
                                {
                                  "maximum": 9007199254740991,
                                  "minimum": 0,
                                  "type": "integer"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "byToken": {
                              "items": {
                                "additionalProperties": false,
                                "properties": {
                                  "biggestWin": {
                                    "anyOf": [
                                      {
                                        "minimum": 0,
                                        "type": "number"
                                      },
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  },
                                  "pnl": {
                                    "type": [
                                      "number",
                                      "null"
                                    ]
                                  },
                                  "symbol": {
                                    "type": "string"
                                  },
                                  "volume": {
                                    "anyOf": [
                                      {
                                        "minimum": 0,
                                        "type": "number"
                                      },
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  }
                                },
                                "required": [
                                  "symbol",
                                  "pnl",
                                  "volume",
                                  "biggestWin"
                                ],
                                "type": "object"
                              },
                              "type": "array"
                            },
                            "completeness": {
                              "additionalProperties": false,
                              "properties": {
                                "aggregatesComplete": {
                                  "type": "boolean"
                                },
                                "scope": {
                                  "const": "committed_trading_account",
                                  "type": "string"
                                },
                                "unattributedPositionCount": {
                                  "anyOf": [
                                    {
                                      "maximum": 9007199254740991,
                                      "minimum": 0,
                                      "type": "integer"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                }
                              },
                              "required": [
                                "scope",
                                "aggregatesComplete",
                                "unattributedPositionCount"
                              ],
                              "type": "object"
                            },
                            "legacyMethod": {
                              "const": "canonical_trading_compat_v2",
                              "type": "string"
                            },
                            "legacyWinRateMethod": {
                              "const": "not_reported",
                              "type": "string"
                            },
                            "lossCount": {
                              "anyOf": [
                                {
                                  "maximum": 9007199254740991,
                                  "minimum": 0,
                                  "type": "integer"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "marketsTraded": {
                              "anyOf": [
                                {
                                  "maximum": 9007199254740991,
                                  "minimum": 0,
                                  "type": "integer"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "memberSince": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "statsWindowDays": {
                              "anyOf": [
                                {
                                  "exclusiveMinimum": 0,
                                  "maximum": 9007199254740991,
                                  "type": "integer"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "tradingPerformance": {
                              "anyOf": [
                                {
                                  "additionalProperties": false,
                                  "properties": {
                                    "cashBalanceWei": {
                                      "anyOf": [
                                        {
                                          "maxLength": 256,
                                          "pattern": "^-?(0|[1-9][0-9]*)$",
                                          "type": "string"
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    },
                                    "chainId": {
                                      "exclusiveMinimum": 0,
                                      "maximum": 9007199254740991,
                                      "type": "integer"
                                    },
                                    "completeLoss": {
                                      "type": "boolean"
                                    },
                                    "completeness": {
                                      "enum": [
                                        "complete",
                                        "incomplete"
                                      ],
                                      "type": "string"
                                    },
                                    "effectiveReturnStartAt": {
                                      "anyOf": [
                                        {
                                          "format": "date-time",
                                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                                          "type": "string"
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    },
                                    "equity": {
                                      "anyOf": [
                                        {
                                          "$ref": "#/$defs/ExactTradingRatio"
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    },
                                    "feesWei": {
                                      "anyOf": [
                                        {
                                          "maxLength": 256,
                                          "pattern": "^-?(0|[1-9][0-9]*)$",
                                          "type": "string"
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    },
                                    "markMethod": {
                                      "const": "displayed-market-price-v1",
                                      "type": "string"
                                    },
                                    "marketCounts": {
                                      "additionalProperties": false,
                                      "properties": {
                                        "acceptedFills": {
                                          "anyOf": [
                                            {
                                              "maximum": 9007199254740991,
                                              "minimum": 0,
                                              "type": "integer"
                                            },
                                            {
                                              "type": "null"
                                            }
                                          ]
                                        },
                                        "marketsTraded": {
                                          "anyOf": [
                                            {
                                              "maximum": 9007199254740991,
                                              "minimum": 0,
                                              "type": "integer"
                                            },
                                            {
                                              "type": "null"
                                            }
                                          ]
                                        },
                                        "openPositions": {
                                          "anyOf": [
                                            {
                                              "maximum": 9007199254740991,
                                              "minimum": 0,
                                              "type": "integer"
                                            },
                                            {
                                              "type": "null"
                                            }
                                          ]
                                        },
                                        "scope": {
                                          "const": "public_trading_markets",
                                          "type": "string"
                                        },
                                        "settledMarkets": {
                                          "anyOf": [
                                            {
                                              "maximum": 9007199254740991,
                                              "minimum": 0,
                                              "type": "integer"
                                            },
                                            {
                                              "type": "null"
                                            }
                                          ]
                                        }
                                      },
                                      "required": [
                                        "scope",
                                        "openPositions",
                                        "marketsTraded",
                                        "settledMarkets"
                                      ],
                                      "type": "object"
                                    },
                                    "measurement": {
                                      "additionalProperties": false,
                                      "properties": {
                                        "asOf": {
                                          "format": "date-time",
                                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                                          "type": "string"
                                        },
                                        "projectedAt": {
                                          "anyOf": [
                                            {
                                              "format": "date-time",
                                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                                              "type": "string"
                                            },
                                            {
                                              "type": "null"
                                            }
                                          ]
                                        },
                                        "sourceRevision": {
                                          "type": "string"
                                        }
                                      },
                                      "required": [
                                        "asOf",
                                        "sourceRevision",
                                        "projectedAt"
                                      ],
                                      "type": "object"
                                    },
                                    "methodVersion": {
                                      "const": "committed-pm-trading-account-v2",
                                      "type": "string"
                                    },
                                    "netExternalFlowsWei": {
                                      "anyOf": [
                                        {
                                          "maxLength": 256,
                                          "pattern": "^-?(0|[1-9][0-9]*)$",
                                          "type": "string"
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    },
                                    "period": {
                                      "additionalProperties": false,
                                      "properties": {
                                        "closedAt": {
                                          "format": "date-time",
                                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                                          "type": "string"
                                        },
                                        "kind": {
                                          "const": "since_first_committed_movement",
                                          "type": "string"
                                        },
                                        "openedAt": {
                                          "anyOf": [
                                            {
                                              "format": "date-time",
                                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                                              "type": "string"
                                            },
                                            {
                                              "type": "null"
                                            }
                                          ]
                                        }
                                      },
                                      "required": [
                                        "kind",
                                        "openedAt",
                                        "closedAt"
                                      ],
                                      "type": "object"
                                    },
                                    "pnl": {
                                      "anyOf": [
                                        {
                                          "$ref": "#/$defs/ExactTradingRatio"
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    },
                                    "pnlUnavailableReason": {
                                      "anyOf": [
                                        {
                                          "enum": [
                                            "prices_pending",
                                            "history_incomplete"
                                          ],
                                          "type": "string"
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    },
                                    "positionValue": {
                                      "anyOf": [
                                        {
                                          "$ref": "#/$defs/ExactTradingRatio"
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    },
                                    "profileId": {
                                      "type": "string"
                                    },
                                    "realizedPnl": {
                                      "anyOf": [
                                        {
                                          "$ref": "#/$defs/ExactTradingRatio"
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    },
                                    "return": {
                                      "anyOf": [
                                        {
                                          "$ref": "#/$defs/ExactTradingRatio"
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    },
                                    "returnStatus": {
                                      "enum": [
                                        "complete",
                                        "unavailable"
                                      ],
                                      "type": "string"
                                    },
                                    "returnUnavailableReason": {
                                      "anyOf": [
                                        {
                                          "enum": [
                                            "price_history_pending",
                                            "history_incomplete"
                                          ],
                                          "type": "string"
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    },
                                    "scope": {
                                      "const": "committed_trading_account",
                                      "type": "string"
                                    },
                                    "settlementEntitlement": {
                                      "anyOf": [
                                        {
                                          "$ref": "#/$defs/ExactTradingRatio"
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    },
                                    "unavailableReasons": {
                                      "items": {
                                        "type": "string"
                                      },
                                      "type": "array"
                                    },
                                    "unit": {
                                      "additionalProperties": false,
                                      "properties": {
                                        "cashValue": {
                                          "const": false,
                                          "type": "boolean"
                                        },
                                        "decimals": {
                                          "maximum": 9007199254740991,
                                          "minimum": 0,
                                          "type": "integer"
                                        },
                                        "symbol": {
                                          "type": "string"
                                        }
                                      },
                                      "required": [
                                        "symbol",
                                        "decimals",
                                        "cashValue"
                                      ],
                                      "type": "object"
                                    },
                                    "unrealizedPnl": {
                                      "anyOf": [
                                        {
                                          "$ref": "#/$defs/ExactTradingRatio"
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    },
                                    "volumeWei": {
                                      "anyOf": [
                                        {
                                          "maxLength": 256,
                                          "pattern": "^-?(0|[1-9][0-9]*)$",
                                          "type": "string"
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    }
                                  },
                                  "required": [
                                    "methodVersion",
                                    "markMethod",
                                    "profileId",
                                    "unit",
                                    "scope",
                                    "chainId",
                                    "period",
                                    "completeness",
                                    "equity",
                                    "pnl",
                                    "realizedPnl",
                                    "unrealizedPnl",
                                    "netExternalFlowsWei",
                                    "feesWei",
                                    "volumeWei",
                                    "return",
                                    "returnStatus",
                                    "completeLoss",
                                    "effectiveReturnStartAt"
                                  ],
                                  "type": "object"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "winCount": {
                              "anyOf": [
                                {
                                  "maximum": 9007199254740991,
                                  "minimum": 0,
                                  "type": "integer"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "winRate": {
                              "anyOf": [
                                {
                                  "maximum": 100,
                                  "minimum": 0,
                                  "type": "number"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            }
                          },
                          "required": [
                            "byToken",
                            "winCount",
                            "lossCount",
                            "activeCount",
                            "winRate",
                            "marketsTraded",
                            "memberSince",
                            "statsWindowDays"
                          ],
                          "type": "object"
                        }
                      },
                      "required": [
                        "address",
                        "creatorTier",
                        "jurorTier",
                        "traderStats"
                      ],
                      "type": "object"
                    },
                    {
                      "additionalProperties": false,
                      "properties": {
                        "active": {
                          "type": "boolean"
                        },
                        "figures": {
                          "additionalProperties": false,
                          "properties": {
                            "lastTradeAt": {
                              "type": "string"
                            },
                            "markets": {
                              "type": "number"
                            },
                            "profitUsd": {
                              "type": "number"
                            },
                            "settled": {
                              "type": "number"
                            },
                            "volumeUsd": {
                              "type": "number"
                            },
                            "won": {
                              "type": "number"
                            }
                          },
                          "required": [
                            "profitUsd",
                            "volumeUsd",
                            "markets",
                            "won",
                            "settled",
                            "lastTradeAt"
                          ],
                          "type": "object"
                        },
                        "lists": {
                          "items": {
                            "additionalProperties": false,
                            "properties": {
                              "list": {
                                "type": "string"
                              },
                              "rank": {
                                "type": "number"
                              },
                              "size": {
                                "type": "number"
                              },
                              "tier": {
                                "type": "number"
                              }
                            },
                            "required": [
                              "list",
                              "tier",
                              "rank",
                              "size"
                            ],
                            "type": "object"
                          },
                          "type": "array"
                        },
                        "name": {
                          "type": "string"
                        },
                        "notice": {
                          "type": "string"
                        },
                        "traderReference": {
                          "type": "string"
                        },
                        "window": {
                          "additionalProperties": false,
                          "properties": {
                            "days": {
                              "type": "number"
                            },
                            "from": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "from",
                            "days"
                          ],
                          "type": "object"
                        }
                      },
                      "required": [
                        "name",
                        "traderReference",
                        "active",
                        "window",
                        "figures",
                        "lists",
                        "notice"
                      ],
                      "type": "object"
                    }
                  ]
                }
              },
              "required": [
                "result"
              ],
              "type": "object"
            },
            "annotations": {
              "destructiveHint": false,
              "idempotentHint": true,
              "openWorldHint": true,
              "permission": "api-key-read",
              "readOnlyHint": true
            }
          },
          {
            "name": "kellian_get_pnl_history",
            "title": "Deprecated indexed cash-flow history; historical equity marks are unavailable",
            "description": "Deprecated indexed cash-flow history for a wallet. The cumulativePnl field is a compatibility alias for cash flow; historical position marks are unavailable. Values are nominal human collateral units. Do not describe this as P\u0026L, equity or return. Cached approximately 15 minutes.",
            "inputSchema": {
              "$defs": {
                "EvmAddress": {
                  "description": "Checksummed or lowercase 20-byte EVM address (0x + 40 hex).",
                  "pattern": "^0x[a-fA-F0-9]{40}$",
                  "type": "string"
                }
              },
              "properties": {
                "address": {
                  "$ref": "#/$defs/EvmAddress",
                  "description": "Wallet address."
                }
              },
              "required": [
                "address"
              ],
              "type": "object"
            },
            "outputSchema": {
              "$defs": {
                "AgentPnlHistoryResponse": {
                  "additionalProperties": false,
                  "properties": {
                    "methodVersion": {
                      "const": "indexed_trade_cash_flow_v1",
                      "type": "string"
                    },
                    "points": {
                      "items": {
                        "additionalProperties": false,
                        "properties": {
                          "cumulativePnl": {
                            "type": "number"
                          },
                          "date": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "date",
                          "cumulativePnl"
                        ],
                        "type": "object"
                      },
                      "type": "array"
                    },
                    "seriesKind": {
                      "const": "cash_flow",
                      "type": "string"
                    },
                    "unitScope": {
                      "const": "legacy_nominal_mixed_collateral",
                      "type": "string"
                    },
                    "valuationCompleteness": {
                      "const": "historical_marks_unavailable",
                      "type": "string"
                    }
                  },
                  "required": [
                    "points"
                  ],
                  "type": "object"
                }
              },
              "additionalProperties": false,
              "properties": {
                "result": {
                  "$ref": "#/$defs/AgentPnlHistoryResponse"
                }
              },
              "required": [
                "result"
              ],
              "type": "object"
            },
            "annotations": {
              "destructiveHint": false,
              "idempotentHint": true,
              "openWorldHint": true,
              "permission": "api-key-read",
              "readOnlyHint": true
            }
          },
          {
            "name": "kellian_get_scoring_record",
            "title": "Legacy trade-price diagnostics for a wallet",
            "description": "Legacy trade-price diagnostics: Brier/log transforms, price-bin frequencies and historical streak/best-call fields computed from selected execution/post-fill prices and outcomes. These are not the trader’s stated probabilities or explicit forecast accuracy. This endpoint is separate from the fixed-lock Arena record and supplies no championship rank. Null sections indicate unavailable or insufficient observations; read `minimums`.",
            "inputSchema": {
              "$defs": {
                "EvmAddress": {
                  "description": "Checksummed or lowercase 20-byte EVM address (0x + 40 hex).",
                  "pattern": "^0x[a-fA-F0-9]{40}$",
                  "type": "string"
                }
              },
              "properties": {
                "address": {
                  "$ref": "#/$defs/EvmAddress",
                  "description": "Wallet address."
                }
              },
              "required": [
                "address"
              ],
              "type": "object"
            },
            "outputSchema": {
              "$defs": {
                "AgentScoringRecord": {
                  "additionalProperties": false,
                  "properties": {
                    "address": {
                      "$ref": "#/$defs/EvmAddress"
                    },
                    "deep": {
                      "anyOf": [
                        {
                          "additionalProperties": false,
                          "properties": {
                            "alpha": {
                              "anyOf": [
                                {
                                  "additionalProperties": false,
                                  "properties": {
                                    "eligibleShare": {
                                      "maximum": 1,
                                      "minimum": 0,
                                      "type": "number"
                                    },
                                    "mean": {
                                      "maximum": 1,
                                      "minimum": -1,
                                      "type": "number"
                                    },
                                    "n": {
                                      "maximum": 9007199254740991,
                                      "minimum": -9007199254740991,
                                      "type": "integer"
                                    }
                                  },
                                  "required": [
                                    "mean",
                                    "n",
                                    "eligibleShare"
                                  ],
                                  "type": "object"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "brier": {
                              "anyOf": [
                                {
                                  "additionalProperties": false,
                                  "properties": {
                                    "mean": {
                                      "maximum": 1,
                                      "minimum": 0,
                                      "type": "number"
                                    },
                                    "n": {
                                      "maximum": 9007199254740991,
                                      "minimum": -9007199254740991,
                                      "type": "integer"
                                    }
                                  },
                                  "required": [
                                    "mean",
                                    "n"
                                  ],
                                  "type": "object"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "calibration": {
                              "anyOf": [
                                {
                                  "items": {
                                    "additionalProperties": false,
                                    "properties": {
                                      "hiBps": {
                                        "maximum": 9007199254740991,
                                        "minimum": -9007199254740991,
                                        "type": "integer"
                                      },
                                      "hitRate": {
                                        "anyOf": [
                                          {
                                            "maximum": 1,
                                            "minimum": 0,
                                            "type": "number"
                                          },
                                          {
                                            "type": "null"
                                          }
                                        ]
                                      },
                                      "loBps": {
                                        "maximum": 9007199254740991,
                                        "minimum": -9007199254740991,
                                        "type": "integer"
                                      },
                                      "meanForecastBps": {
                                        "anyOf": [
                                          {
                                            "maximum": 9007199254740991,
                                            "minimum": -9007199254740991,
                                            "type": "integer"
                                          },
                                          {
                                            "type": "null"
                                          }
                                        ]
                                      },
                                      "n": {
                                        "maximum": 9007199254740991,
                                        "minimum": 0,
                                        "type": "integer"
                                      }
                                    },
                                    "required": [
                                      "loBps",
                                      "hiBps",
                                      "n",
                                      "meanForecastBps",
                                      "hitRate"
                                    ],
                                    "type": "object"
                                  },
                                  "type": "array"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "logScore": {
                              "anyOf": [
                                {
                                  "additionalProperties": false,
                                  "properties": {
                                    "mean": {
                                      "minimum": 0,
                                      "type": "number"
                                    },
                                    "n": {
                                      "maximum": 9007199254740991,
                                      "minimum": -9007199254740991,
                                      "type": "integer"
                                    }
                                  },
                                  "required": [
                                    "mean",
                                    "n"
                                  ],
                                  "type": "object"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            }
                          },
                          "required": [
                            "brier",
                            "logScore",
                            "calibration",
                            "alpha"
                          ],
                          "type": "object"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "minimums": {
                      "additionalProperties": false,
                      "properties": {
                        "alpha": {
                          "maximum": 9007199254740991,
                          "minimum": -9007199254740991,
                          "type": "integer"
                        },
                        "brier": {
                          "maximum": 9007199254740991,
                          "minimum": -9007199254740991,
                          "type": "integer"
                        },
                        "callsPerBin": {
                          "maximum": 9007199254740991,
                          "minimum": -9007199254740991,
                          "type": "integer"
                        },
                        "record": {
                          "maximum": 9007199254740991,
                          "minimum": -9007199254740991,
                          "type": "integer"
                        }
                      },
                      "required": [
                        "record",
                        "brier",
                        "alpha",
                        "callsPerBin"
                      ],
                      "type": "object"
                    },
                    "publishedOnProfile": {
                      "type": "boolean"
                    },
                    "record": {
                      "anyOf": [
                        {
                          "additionalProperties": false,
                          "properties": {
                            "bestCall": {
                              "anyOf": [
                                {
                                  "additionalProperties": false,
                                  "properties": {
                                    "chainId": {
                                      "maximum": 9007199254740991,
                                      "minimum": -9007199254740991,
                                      "type": "integer"
                                    },
                                    "filledAt": {
                                      "format": "date-time",
                                      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                                      "type": "string"
                                    },
                                    "marketAddress": {
                                      "$ref": "#/$defs/EvmAddress"
                                    },
                                    "probabilityBps": {
                                      "maximum": 9007199254740991,
                                      "minimum": -9007199254740991,
                                      "type": "integer"
                                    }
                                  },
                                  "required": [
                                    "marketAddress",
                                    "chainId",
                                    "probabilityBps",
                                    "filledAt"
                                  ],
                                  "type": "object"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "bestStreak": {
                              "maximum": 9007199254740991,
                              "minimum": -9007199254740991,
                              "type": "integer"
                            },
                            "correctMarkets": {
                              "maximum": 9007199254740991,
                              "minimum": -9007199254740991,
                              "type": "integer"
                            },
                            "currentStreak": {
                              "maximum": 9007199254740991,
                              "minimum": -9007199254740991,
                              "type": "integer"
                            },
                            "firstScoredAt": {
                              "anyOf": [
                                {
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                                  "type": "string"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "lastSettledAt": {
                              "anyOf": [
                                {
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                                  "type": "string"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "settledCalls": {
                              "maximum": 9007199254740991,
                              "minimum": -9007199254740991,
                              "type": "integer"
                            },
                            "settledMarkets": {
                              "maximum": 9007199254740991,
                              "minimum": -9007199254740991,
                              "type": "integer"
                            }
                          },
                          "required": [
                            "settledCalls",
                            "settledMarkets",
                            "correctMarkets",
                            "currentStreak",
                            "bestStreak",
                            "bestCall",
                            "firstScoredAt",
                            "lastSettledAt"
                          ],
                          "type": "object"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "updatedAt": {
                      "anyOf": [
                        {
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "version": {
                      "maximum": 9007199254740991,
                      "minimum": -9007199254740991,
                      "type": "integer"
                    },
                    "window": {
                      "const": "all-time",
                      "type": "string"
                    }
                  },
                  "required": [
                    "address",
                    "version",
                    "window",
                    "record",
                    "deep",
                    "minimums",
                    "publishedOnProfile",
                    "updatedAt"
                  ],
                  "type": "object"
                },
                "EvmAddress": {
                  "pattern": "^0x[a-fA-F0-9]{40}$",
                  "type": "string"
                }
              },
              "additionalProperties": false,
              "properties": {
                "result": {
                  "$ref": "#/$defs/AgentScoringRecord"
                }
              },
              "required": [
                "result"
              ],
              "type": "object"
            },
            "annotations": {
              "destructiveHint": false,
              "idempotentHint": true,
              "openWorldHint": true,
              "permission": "api-key-read",
              "readOnlyHint": true
            }
          },
          {
            "name": "kellian_list_scoring_cohort",
            "title": "Legacy trade-price diagnostics for wallets, in record-opening order",
            "description": "Legacy trade-price diagnostics for eligible wallets: selected price/outcome Brier transforms, reference-price differences and historical verdict counts. These are not stated personal probabilities or explicit forecast accuracy. Ordered by record-opening time, not score; no championship rank. Paginated by an opaque cursor, excluding the venue’s own wallets.",
            "inputSchema": {
              "properties": {
                "cursor": {
                  "description": "From a previous `nextCursor`.",
                  "maxLength": 200,
                  "minLength": 1,
                  "type": "string"
                },
                "limit": {
                  "maximum": 200,
                  "minimum": 1,
                  "type": "integer"
                },
                "minSettledMarkets": {
                  "description": "Raise the bar above the registry minimum.",
                  "maximum": 9007199254740991,
                  "minimum": 1,
                  "type": "integer"
                }
              },
              "type": "object"
            },
            "outputSchema": {
              "$defs": {
                "AgentScoringCohort": {
                  "additionalProperties": false,
                  "properties": {
                    "cohort": {
                      "items": {
                        "additionalProperties": false,
                        "properties": {
                          "actorType": {
                            "anyOf": [
                              {
                                "enum": [
                                  "human",
                                  "agent",
                                  "venue"
                                ],
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "address": {
                            "pattern": "^0x[a-fA-F0-9]{40}$",
                            "type": "string"
                          },
                          "alpha": {
                            "anyOf": [
                              {
                                "additionalProperties": false,
                                "properties": {
                                  "mean": {
                                    "maximum": 1,
                                    "minimum": -1,
                                    "type": "number"
                                  },
                                  "n": {
                                    "maximum": 9007199254740991,
                                    "minimum": -9007199254740991,
                                    "type": "integer"
                                  }
                                },
                                "required": [
                                  "mean",
                                  "n"
                                ],
                                "type": "object"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "brierMean": {
                            "anyOf": [
                              {
                                "maximum": 1,
                                "minimum": 0,
                                "type": "number"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "currentStreak": {
                            "maximum": 9007199254740991,
                            "minimum": -9007199254740991,
                            "type": "integer"
                          },
                          "settledCalls": {
                            "maximum": 9007199254740991,
                            "minimum": -9007199254740991,
                            "type": "integer"
                          },
                          "settledMarkets": {
                            "maximum": 9007199254740991,
                            "minimum": -9007199254740991,
                            "type": "integer"
                          }
                        },
                        "required": [
                          "address",
                          "actorType",
                          "settledMarkets",
                          "settledCalls",
                          "brierMean",
                          "alpha",
                          "currentStreak"
                        ],
                        "type": "object"
                      },
                      "type": "array"
                    },
                    "minimums": {
                      "additionalProperties": false,
                      "properties": {
                        "alpha": {
                          "maximum": 9007199254740991,
                          "minimum": -9007199254740991,
                          "type": "integer"
                        },
                        "brier": {
                          "maximum": 9007199254740991,
                          "minimum": -9007199254740991,
                          "type": "integer"
                        },
                        "callsPerBin": {
                          "maximum": 9007199254740991,
                          "minimum": -9007199254740991,
                          "type": "integer"
                        },
                        "record": {
                          "maximum": 9007199254740991,
                          "minimum": -9007199254740991,
                          "type": "integer"
                        }
                      },
                      "required": [
                        "record",
                        "brier",
                        "alpha",
                        "callsPerBin"
                      ],
                      "type": "object"
                    },
                    "nextCursor": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "version": {
                      "maximum": 9007199254740991,
                      "minimum": -9007199254740991,
                      "type": "integer"
                    }
                  },
                  "required": [
                    "cohort",
                    "nextCursor",
                    "minimums",
                    "version"
                  ],
                  "type": "object"
                }
              },
              "additionalProperties": false,
              "properties": {
                "result": {
                  "$ref": "#/$defs/AgentScoringCohort"
                }
              },
              "required": [
                "result"
              ],
              "type": "object"
            },
            "annotations": {
              "destructiveHint": false,
              "idempotentHint": true,
              "openWorldHint": true,
              "permission": "api-key-read",
              "readOnlyHint": true
            }
          },
          {
            "name": "kellian_batch_counterparty_reputation",
            "title": "Resolve black-box reputation for up to 100 wallets in one request",
            "description": "Resolve black-box public reputation (tiers, gates, track record) for up to 100 wallets in one call. Returns one entry per input wallet, order preserved.",
            "inputSchema": {
              "properties": {
                "walletAddresses": {
                  "description": "1–100 counterparty wallet addresses.",
                  "items": {
                    "description": "Checksummed or lowercase 20-byte EVM address (0x + 40 hex).",
                    "pattern": "^0x[a-fA-F0-9]{40}$",
                    "type": "string"
                  },
                  "maxItems": 100,
                  "minItems": 1,
                  "type": "array"
                }
              },
              "required": [
                "walletAddresses"
              ],
              "type": "object"
            },
            "outputSchema": {
              "$defs": {
                "AgentReputationBatchResponse": {
                  "additionalProperties": false,
                  "properties": {
                    "results": {
                      "items": {
                        "additionalProperties": false,
                        "properties": {
                          "creatorTier": {
                            "$ref": "#/$defs/AgentReputationTier"
                          },
                          "evidence": {
                            "additionalProperties": false,
                            "properties": {
                              "hasAgentProfile": {
                                "type": "boolean"
                              },
                              "hasPublicProfile": {
                                "type": "boolean"
                              },
                              "identityVerified": {
                                "type": [
                                  "boolean",
                                  "null"
                                ]
                              },
                              "lastUpdated": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "roles": {
                                "items": {
                                  "enum": [
                                    "creator",
                                    "juror",
                                    "trader",
                                    "agent"
                                  ],
                                  "type": "string"
                                },
                                "type": "array"
                              }
                            },
                            "required": [
                              "identityVerified",
                              "hasPublicProfile",
                              "hasAgentProfile",
                              "roles",
                              "lastUpdated"
                            ],
                            "type": "object"
                          },
                          "jurorTier": {
                            "$ref": "#/$defs/AgentReputationTier"
                          },
                          "lastUpdated": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "ownerKind": {
                            "enum": [
                              "identity",
                              "standalone_wallet",
                              "agent"
                            ],
                            "type": "string"
                          },
                          "profile": {
                            "additionalProperties": false,
                            "properties": {
                              "agentId": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "agentName": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "avatarUrl": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "bio": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "displayName": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "website": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              }
                            },
                            "required": [
                              "displayName",
                              "avatarUrl",
                              "bio",
                              "website",
                              "agentId",
                              "agentName"
                            ],
                            "type": "object"
                          },
                          "subjectId": {
                            "minLength": 1,
                            "type": "string"
                          },
                          "tierGates": {
                            "additionalProperties": false,
                            "properties": {
                              "canChallenge": {
                                "type": "boolean"
                              },
                              "canVote": {
                                "type": "boolean"
                              }
                            },
                            "required": [
                              "canVote",
                              "canChallenge"
                            ],
                            "type": "object"
                          },
                          "trackRecord": {
                            "additionalProperties": false,
                            "properties": {
                              "issueCount": {
                                "anyOf": [
                                  {
                                    "maximum": 9007199254740991,
                                    "minimum": 0,
                                    "type": "integer"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "marketsCreated": {
                                "maximum": 9007199254740991,
                                "minimum": 0,
                                "type": "integer"
                              },
                              "marketsOverturned": {
                                "maximum": 9007199254740991,
                                "minimum": 0,
                                "type": "integer"
                              },
                              "marketsResolved": {
                                "maximum": 9007199254740991,
                                "minimum": 0,
                                "type": "integer"
                              },
                              "marketsVoided": {
                                "maximum": 9007199254740991,
                                "minimum": 0,
                                "type": "integer"
                              },
                              "reversalRate": {
                                "maximum": 1,
                                "minimum": 0,
                                "type": "number"
                              },
                              "upheldRate": {
                                "anyOf": [
                                  {
                                    "maximum": 100,
                                    "minimum": 0,
                                    "type": "number"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "votesCast": {
                                "maximum": 9007199254740991,
                                "minimum": 0,
                                "type": "integer"
                              }
                            },
                            "required": [
                              "marketsCreated",
                              "marketsResolved",
                              "marketsOverturned",
                              "marketsVoided",
                              "reversalRate",
                              "votesCast"
                            ],
                            "type": "object"
                          },
                          "walletAddress": {
                            "anyOf": [
                              {
                                "pattern": "^0x[a-fA-F0-9]{40}$",
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          }
                        },
                        "required": [
                          "subjectId",
                          "ownerKind",
                          "walletAddress",
                          "creatorTier",
                          "jurorTier",
                          "tierGates",
                          "trackRecord",
                          "profile",
                          "evidence",
                          "lastUpdated"
                        ],
                        "type": "object"
                      },
                      "type": "array"
                    }
                  },
                  "required": [
                    "results"
                  ],
                  "type": "object"
                },
                "AgentReputationTier": {
                  "enum": [
                    "banned",
                    "new",
                    "established",
                    "trusted",
                    "expert",
                    "legend"
                  ],
                  "type": "string"
                }
              },
              "additionalProperties": false,
              "properties": {
                "result": {
                  "$ref": "#/$defs/AgentReputationBatchResponse"
                }
              },
              "required": [
                "result"
              ],
              "type": "object"
            },
            "annotations": {
              "destructiveHint": false,
              "idempotentHint": true,
              "openWorldHint": true,
              "permission": "api-key-read",
              "readOnlyHint": true
            }
          },
          {
            "name": "kellian_list_my_reputation_events",
            "title": "List the authenticated agent's own reputation events (owner-gated)",
            "description": "Read the authenticated agent's own reputation event audit trail (owner-gated). Never returns another subject's events.",
            "inputSchema": {
              "properties": {
                "filter": {
                  "description": "all_linked (default) or this_wallet only.",
                  "enum": [
                    "all_linked",
                    "this_wallet"
                  ],
                  "type": "string"
                },
                "limit": {
                  "maximum": 100,
                  "minimum": 1,
                  "type": "integer"
                },
                "offset": {
                  "maximum": 9007199254740991,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "type": "object"
            },
            "outputSchema": {
              "$defs": {
                "AgentReputationEventsResponse": {
                  "additionalProperties": false,
                  "properties": {
                    "events": {
                      "items": {
                        "additionalProperties": false,
                        "properties": {
                          "activityLabel": {
                            "enum": [
                              "voteAligned",
                              "voteMissed",
                              "marketResolvedCleanly",
                              "resolutionUpheld",
                              "resolutionOverturned",
                              "marketVoided",
                              "challengeUpheld",
                              "challengeRejected",
                              "adminAdjustment",
                              "activityRecorded"
                            ],
                            "type": "string"
                          },
                          "actorRole": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "actorType": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "agentId": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "createdAt": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "format": "date-time",
                                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                                "type": "string"
                              }
                            ]
                          },
                          "eventType": {
                            "type": "string"
                          },
                          "id": {
                            "type": "string"
                          },
                          "isCorrect": {
                            "type": [
                              "boolean",
                              "null"
                            ]
                          },
                          "layer": {
                            "anyOf": [
                              {
                                "maximum": 9007199254740991,
                                "minimum": -9007199254740991,
                                "type": "integer"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "marketAddress": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "marketCategory": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "reputationImpact": {
                            "enum": [
                              "positive",
                              "negative",
                              "neutral"
                            ],
                            "type": "string"
                          },
                          "sourceType": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "walletAddress": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "id",
                          "eventType",
                          "activityLabel",
                          "reputationImpact",
                          "marketAddress",
                          "marketCategory",
                          "isCorrect",
                          "layer",
                          "createdAt"
                        ],
                        "type": "object"
                      },
                      "type": "array"
                    },
                    "total": {
                      "maximum": 9007199254740991,
                      "minimum": -9007199254740991,
                      "type": "integer"
                    }
                  },
                  "required": [
                    "events",
                    "total"
                  ],
                  "type": "object"
                }
              },
              "additionalProperties": false,
              "properties": {
                "result": {
                  "$ref": "#/$defs/AgentReputationEventsResponse"
                }
              },
              "required": [
                "result"
              ],
              "type": "object"
            },
            "annotations": {
              "destructiveHint": false,
              "idempotentHint": true,
              "openWorldHint": true,
              "permission": "api-key-read",
              "readOnlyHint": true
            }
          },
          {
            "name": "kellian_get_participation_release",
            "title": "Get the authenticated agent wallet’s shared participation-release state",
            "description": "Return the authenticated agent wallet’s redacted, one-human participation-release state.",
            "inputSchema": {
              "properties": {},
              "type": "object"
            },
            "outputSchema": {
              "$defs": {
                "IsoTimestamp": {
                  "format": "date-time",
                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                  "type": "string"
                },
                "ParticipationReleaseStateResponse": {
                  "additionalProperties": false,
                  "properties": {
                    "amounts": {
                      "additionalProperties": false,
                      "properties": {
                        "bankedWei": {
                          "$ref": "#/$defs/WeiString"
                        },
                        "communityRemainingWei": {
                          "$ref": "#/$defs/WeiString"
                        },
                        "confirmedPaidWei": {
                          "$ref": "#/$defs/WeiString"
                        },
                        "newUnitsExhausted": {
                          "type": "boolean"
                        },
                        "nextEstimatedWei": {
                          "$ref": "#/$defs/WeiString"
                        }
                      },
                      "required": [
                        "bankedWei",
                        "confirmedPaidWei",
                        "nextEstimatedWei",
                        "communityRemainingWei",
                        "newUnitsExhausted"
                      ],
                      "type": "object"
                    },
                    "deployment": {
                      "additionalProperties": false,
                      "properties": {
                        "chainId": {
                          "exclusiveMinimum": 0,
                          "maximum": 9007199254740991,
                          "type": "integer"
                        },
                        "claimEnabled": {
                          "type": "boolean"
                        },
                        "reasonCode": {
                          "anyOf": [
                            {
                              "enum": [
                                "PARTICIPATION_RELEASE_NOT_DEPLOYED",
                                "PARTICIPATION_RELEASE_ROUTE_NOT_DEPLOYED",
                                "PARTICIPATION_RELEASE_INACTIVE",
                                "PARTICIPATION_DISTRIBUTION_PAUSED",
                                "PARTICIPATION_MONEY_PATH_INCOMPLETE",
                                "PARTICIPATION_LEDGER_ACCOUNTING_INVALID",
                                "PARTICIPATION_ROUTE_DEGRADED",
                                "PARTICIPATION_ROUTE_QUARANTINED",
                                "PARTICIPATION_INVENTORY_LOW",
                                "ACTIVE_VERIFIED_IDENTITY_REQUIRED",
                                "CURRENT_IDENTITY_MEMBERSHIP_REQUIRED",
                                "AGENT_OPERATING_WALLET_NOT_LINKED",
                                "IDENTITY_INTEGRITY_UNKNOWN",
                                "NO_PARTICIPATION_RELEASE_CREDITS",
                                "NEW_PARTICIPATION_RELEASE_UNITS_EXHAUSTED",
                                "PARTICIPATION_CLAIM_CADENCE_ACTIVE",
                                "PARTICIPATION_IDENTITY_ATTESTATION_REQUIRED",
                                "PARTICIPATION_DISTRIBUTION_ZERO_DELTA",
                                "PARTICIPATION_DISTRIBUTION_ALREADY_PREPARED",
                                "PARTICIPATION_DISTRIBUTION_RECIPIENT_STALE",
                                "PARTICIPATION_DISTRIBUTION_VOUCHER_EXPIRED",
                                "PARTICIPATION_DISTRIBUTION_EVENT_MISMATCH",
                                "PARTICIPATION_DISTRIBUTION_FINALITY_PENDING"
                              ],
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "state": {
                          "enum": [
                            "not_deployed",
                            "route_not_deployed",
                            "inactive",
                            "active",
                            "payment_paused",
                            "degraded",
                            "quarantined",
                            "retired"
                          ],
                          "type": "string"
                        }
                      },
                      "required": [
                        "state",
                        "chainId",
                        "claimEnabled",
                        "reasonCode"
                      ],
                      "type": "object"
                    },
                    "distribution": {
                      "additionalProperties": false,
                      "properties": {
                        "deliveryMode": {
                          "anyOf": [
                            {
                              "enum": [
                                "self_claim",
                                "protocol_push"
                              ],
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "expiresAt": {
                          "anyOf": [
                            {
                              "$ref": "#/$defs/IsoTimestamp"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "intentId": {
                          "anyOf": [
                            {
                              "maxLength": 128,
                              "minLength": 1,
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "recipientRelation": {
                          "anyOf": [
                            {
                              "enum": [
                                "self",
                                "root",
                                "another_linked_member"
                              ],
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "status": {
                          "enum": [
                            "none",
                            "prepared",
                            "submitted",
                            "expired_awaiting_finality",
                            "projection_pending",
                            "paid",
                            "unpaid",
                            "failed"
                          ],
                          "type": "string"
                        },
                        "transactionHash": {
                          "anyOf": [
                            {
                              "pattern": "^0x[0-9a-f]{64}$",
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        }
                      },
                      "required": [
                        "status",
                        "deliveryMode",
                        "recipientRelation",
                        "intentId",
                        "expiresAt",
                        "transactionHash"
                      ],
                      "type": "object"
                    },
                    "lane": {
                      "additionalProperties": false,
                      "properties": {
                        "activeUntil": {
                          "anyOf": [
                            {
                              "$ref": "#/$defs/IsoTimestamp"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "firstActivatedAt": {
                          "anyOf": [
                            {
                              "$ref": "#/$defs/IsoTimestamp"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "lastQualifyingTradeAt": {
                          "anyOf": [
                            {
                              "$ref": "#/$defs/IsoTimestamp"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "nextCreditAt": {
                          "anyOf": [
                            {
                              "$ref": "#/$defs/IsoTimestamp"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "state": {
                          "enum": [
                            "unavailable",
                            "not_activated",
                            "activation_pending",
                            "active",
                            "dormant"
                          ],
                          "type": "string"
                        }
                      },
                      "required": [
                        "state",
                        "firstActivatedAt",
                        "activeUntil",
                        "lastQualifyingTradeAt",
                        "nextCreditAt"
                      ],
                      "type": "object"
                    },
                    "member": {
                      "additionalProperties": false,
                      "properties": {
                        "role": {
                          "anyOf": [
                            {
                              "enum": [
                                "root",
                                "linked_wallet",
                                "linked_agent"
                              ],
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "status": {
                          "enum": [
                            "unknown",
                            "not_linked",
                            "inactive",
                            "active"
                          ],
                          "type": "string"
                        },
                        "walletAddress": {
                          "anyOf": [
                            {
                              "pattern": "^0x[a-fA-F0-9]{40}$",
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        }
                      },
                      "required": [
                        "status",
                        "role",
                        "walletAddress"
                      ],
                      "type": "object"
                    },
                    "profile": {
                      "additionalProperties": false,
                      "properties": {
                        "decimals": {
                          "maximum": 30,
                          "minimum": 0,
                          "type": "integer"
                        },
                        "name": {
                          "maxLength": 128,
                          "minLength": 1,
                          "type": "string"
                        },
                        "profileId": {
                          "maxLength": 128,
                          "minLength": 1,
                          "type": "string"
                        },
                        "releaseId": {
                          "anyOf": [
                            {
                              "pattern": "^0x[0-9a-f]{64}$",
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "stage": {
                          "enum": [
                            "test",
                            "production"
                          ],
                          "type": "string"
                        },
                        "symbol": {
                          "maxLength": 32,
                          "minLength": 1,
                          "type": "string"
                        }
                      },
                      "required": [
                        "profileId",
                        "stage",
                        "name",
                        "symbol",
                        "decimals",
                        "releaseId"
                      ],
                      "type": "object"
                    },
                    "updatedAt": {
                      "$ref": "#/$defs/IsoTimestamp"
                    }
                  },
                  "required": [
                    "profile",
                    "deployment",
                    "member",
                    "lane",
                    "amounts",
                    "distribution",
                    "updatedAt"
                  ],
                  "type": "object"
                },
                "WeiString": {
                  "pattern": "^\\d+$",
                  "type": "string"
                }
              },
              "additionalProperties": false,
              "properties": {
                "result": {
                  "$ref": "#/$defs/ParticipationReleaseStateResponse"
                }
              },
              "required": [
                "result"
              ],
              "type": "object"
            },
            "annotations": {
              "destructiveHint": false,
              "idempotentHint": true,
              "openWorldHint": true,
              "permission": "api-key-read",
              "readOnlyHint": true
            }
          },
          {
            "name": "kellian_get_participation_distribution",
            "title": "Get a redacted participation distribution status for the authenticated agent",
            "description": "Return redacted finality and delivery state for an identity-owned participation intent.",
            "inputSchema": {
              "properties": {
                "intentId": {
                  "maxLength": 128,
                  "minLength": 1,
                  "type": "string"
                }
              },
              "required": [
                "intentId"
              ],
              "type": "object"
            },
            "outputSchema": {
              "$defs": {
                "IsoTimestamp": {
                  "format": "date-time",
                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                  "type": "string"
                },
                "ParticipationDistributionResponse": {
                  "additionalProperties": false,
                  "properties": {
                    "distribution": {
                      "additionalProperties": false,
                      "properties": {
                        "deliveryMode": {
                          "anyOf": [
                            {
                              "enum": [
                                "self_claim",
                                "protocol_push"
                              ],
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "expiresAt": {
                          "anyOf": [
                            {
                              "$ref": "#/$defs/IsoTimestamp"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "intentId": {
                          "anyOf": [
                            {
                              "maxLength": 128,
                              "minLength": 1,
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "recipientRelation": {
                          "anyOf": [
                            {
                              "enum": [
                                "self",
                                "root",
                                "another_linked_member"
                              ],
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "status": {
                          "enum": [
                            "none",
                            "prepared",
                            "submitted",
                            "expired_awaiting_finality",
                            "projection_pending",
                            "paid",
                            "unpaid",
                            "failed"
                          ],
                          "type": "string"
                        },
                        "transactionHash": {
                          "anyOf": [
                            {
                              "pattern": "^0x[0-9a-f]{64}$",
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        }
                      },
                      "required": [
                        "status",
                        "deliveryMode",
                        "recipientRelation",
                        "intentId",
                        "expiresAt",
                        "transactionHash"
                      ],
                      "type": "object"
                    },
                    "profileId": {
                      "maxLength": 128,
                      "minLength": 1,
                      "type": "string"
                    },
                    "releaseId": {
                      "pattern": "^0x[0-9a-f]{64}$",
                      "type": "string"
                    },
                    "updatedAt": {
                      "$ref": "#/$defs/IsoTimestamp"
                    }
                  },
                  "required": [
                    "profileId",
                    "releaseId",
                    "distribution",
                    "updatedAt"
                  ],
                  "type": "object"
                }
              },
              "additionalProperties": false,
              "properties": {
                "result": {
                  "$ref": "#/$defs/ParticipationDistributionResponse"
                }
              },
              "required": [
                "result"
              ],
              "type": "object"
            },
            "annotations": {
              "destructiveHint": false,
              "idempotentHint": true,
              "openWorldHint": true,
              "permission": "api-key-read",
              "readOnlyHint": true
            }
          },
          {
            "name": "kellian_publish_market_surface",
            "title": "Publish market surface data by intent",
            "description": "Publish market surface data by intent. Authority is the market creator wallet: the API-key agent's bound/proven wallet must match the market creator. Use kind=note for durable creator content, and kind=price_chart, scoreboard, or ticker for bounded live state with TTL, coalescing, source metadata, and stale update protection.\n\nExamples: Publish a bounded live price chart frame",
            "inputSchema": {
              "properties": {
                "chainId": {
                  "description": "Chain ID for the market",
                  "exclusiveMinimum": 0,
                  "maximum": 9007199254740991,
                  "type": "integer"
                },
                "data": {
                  "additionalProperties": {},
                  "propertyNames": {
                    "type": "string"
                  },
                  "type": "object"
                },
                "idempotencyKey": {
                  "description": "Stable retry key. Reuse only with byte-equivalent tool arguments.",
                  "maxLength": 256,
                  "minLength": 1,
                  "type": "string"
                },
                "kind": {
                  "enum": [
                    "note",
                    "price_chart",
                    "scoreboard",
                    "ticker"
                  ],
                  "type": "string"
                },
                "label": {
                  "type": "string"
                },
                "marketAddress": {
                  "type": "string"
                },
                "observation": {
                  "additionalProperties": false,
                  "properties": {
                    "actualEndAt": {
                      "anyOf": [
                        {
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ],
                      "description": "Known actual event end; never inferred from a completed poll."
                    },
                    "actualStartAt": {
                      "anyOf": [
                        {
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "estimatedEndAt": {
                      "anyOf": [
                        {
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "expectedResultAt": {
                      "anyOf": [
                        {
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "firstObservedCompletedAt": {
                      "anyOf": [
                        {
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ],
                      "description": "First observation of completion, distinct from the actual event end."
                    },
                    "observedAt": {
                      "format": "date-time",
                      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                      "type": "string"
                    },
                    "occurrenceId": {
                      "maxLength": 240,
                      "minLength": 1,
                      "type": "string"
                    },
                    "scheduledStartAt": {
                      "anyOf": [
                        {
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "schemaVersion": {
                      "const": 1,
                      "type": "number"
                    },
                    "sourceKey": {
                      "description": "Stable provider-namespaced occurrence, e.g. espn:basketball:nba:401123456.",
                      "maxLength": 240,
                      "minLength": 1,
                      "pattern": "^[a-zA-Z0-9:_.-]+$",
                      "type": "string"
                    },
                    "sourceRevision": {
                      "description": "Durable positive int64 observation sequence. A retry retains the original sequence.",
                      "pattern": "^[1-9]\\d{0,18}$",
                      "type": "string"
                    },
                    "sourceSnapshotHash": {
                      "description": "SHA-256 of the canonical durable source snapshot; provenance, not a signature.",
                      "pattern": "^0x[a-fA-F0-9]{64}$",
                      "type": "string"
                    },
                    "sourceUpdatedAt": {
                      "anyOf": [
                        {
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "timeBasis": {
                      "enum": [
                        "provider_fetch",
                        "creator_observation"
                      ],
                      "type": "string"
                    }
                  },
                  "required": [
                    "schemaVersion",
                    "sourceKey",
                    "sourceRevision",
                    "sourceSnapshotHash",
                    "observedAt",
                    "timeBasis"
                  ],
                  "type": "object"
                },
                "proofNonce": {
                  "description": "Required single-use nonce for the wallet proof. Fetch from POST /api/auth/nonce; consumed on verification so the proof cannot be replayed.",
                  "maxLength": 256,
                  "minLength": 1,
                  "type": "string"
                },
                "signatureTimestamp": {
                  "description": "Unix timestamp (seconds) used in the signed challenge message",
                  "exclusiveMinimum": 0,
                  "maximum": 9007199254740991,
                  "type": "integer"
                },
                "source": {
                  "type": "string"
                },
                "sourceTimestamp": {
                  "description": "Unix milliseconds from the upstream source",
                  "maximum": 9007199254740991,
                  "minimum": 0,
                  "type": "integer"
                },
                "walletAddress": {
                  "description": "Wallet address of the caller (must be market creator)",
                  "type": "string"
                },
                "walletSignature": {
                  "description": "Action-bound wallet proof. Sign the canonical 'problee-mcp-auth:…' challenge (binds agent, apiKey, tool, scope, chain, resource, payloadHash, nonce, timestamp).",
                  "minLength": 1,
                  "type": "string"
                }
              },
              "required": [
                "chainId",
                "marketAddress",
                "walletAddress",
                "kind",
                "data",
                "idempotencyKey"
              ],
              "type": "object"
            },
            "outputSchema": {
              "$defs": {
                "McpPublishMarketSurfaceResponse": {
                  "additionalProperties": false,
                  "properties": {
                    "chainId": {
                      "maximum": 9007199254740991,
                      "minimum": -9007199254740991,
                      "type": "integer"
                    },
                    "kind": {
                      "enum": [
                        "note",
                        "price_chart",
                        "scoreboard",
                        "ticker"
                      ],
                      "type": "string"
                    },
                    "marketAddress": {
                      "pattern": "^0x[a-fA-F0-9]{40}$",
                      "type": "string"
                    },
                    "ok": {
                      "const": true,
                      "type": "boolean"
                    },
                    "retention": {
                      "enum": [
                        "content",
                        "live"
                      ],
                      "type": "string"
                    },
                    "staleAfterMs": {
                      "exclusiveMinimum": 0,
                      "maximum": 9007199254740991,
                      "type": "integer"
                    },
                    "version": {
                      "maximum": 9007199254740991,
                      "minimum": 0,
                      "type": "integer"
                    }
                  },
                  "required": [
                    "ok",
                    "chainId",
                    "marketAddress",
                    "kind",
                    "retention",
                    "version"
                  ],
                  "type": "object"
                }
              },
              "additionalProperties": false,
              "properties": {
                "result": {
                  "$ref": "#/$defs/McpPublishMarketSurfaceResponse"
                }
              },
              "required": [
                "result"
              ],
              "type": "object"
            },
            "annotations": {
              "destructiveHint": false,
              "idempotentHint": false,
              "openWorldHint": true,
              "permission": "wallet-proof",
              "readOnlyHint": false
            }
          },
          {
            "name": "kellian_push_content",
            "title": "Push a creator content envelope to the market's content channel",
            "description": "Push creator content to a market's official content channel. Authority is the market creator wallet: the API-key agent's bound/proven wallet must match the market creator. The `renderer` is a free-form string — see `kellian_discover_renderers` for the built-in catalog; custom strings remain protocol-valid and the official frontend ignores renderers it doesn't recognise.",
            "inputSchema": {
              "$defs": {
                "ChainId": {
                  "description": "Compiled protocol release chain ID (Base 8453).",
                  "maximum": 9007199254740991,
                  "minimum": -9007199254740991,
                  "type": "integer"
                },
                "EvmAddress": {
                  "description": "Checksummed or lowercase 20-byte EVM address (0x + 40 hex).",
                  "pattern": "^0x[a-fA-F0-9]{40}$",
                  "type": "string"
                }
              },
              "properties": {
                "chainId": {
                  "$ref": "#/$defs/ChainId",
                  "description": "Chain ID for the market"
                },
                "data": {
                  "additionalProperties": {},
                  "propertyNames": {
                    "type": "string"
                  },
                  "type": "object"
                },
                "idempotencyKey": {
                  "description": "Stable retry key. Reuse only with byte-equivalent tool arguments.",
                  "maxLength": 256,
                  "minLength": 1,
                  "type": "string"
                },
                "label": {
                  "type": "string"
                },
                "marketAddress": {
                  "$ref": "#/$defs/EvmAddress"
                },
                "proofNonce": {
                  "description": "Required single-use nonce for the wallet proof. Fetch from POST /api/auth/nonce; consumed on verification so the proof cannot be replayed.",
                  "maxLength": 256,
                  "minLength": 1,
                  "type": "string"
                },
                "renderer": {
                  "description": "Free-form renderer identifier. Not validated against a closed list.",
                  "minLength": 1,
                  "type": "string"
                },
                "signatureTimestamp": {
                  "description": "Unix timestamp (seconds) used in the signed challenge message",
                  "exclusiveMinimum": 0,
                  "maximum": 9007199254740991,
                  "type": "integer"
                },
                "walletAddress": {
                  "$ref": "#/$defs/EvmAddress",
                  "description": "Wallet address of the caller (must be market creator)"
                },
                "walletSignature": {
                  "description": "Action-bound wallet proof. Sign the canonical 'problee-mcp-auth:…' challenge (binds agent, apiKey, tool, scope, chain, resource, payloadHash, nonce, timestamp).",
                  "minLength": 1,
                  "type": "string"
                }
              },
              "required": [
                "chainId",
                "marketAddress",
                "walletAddress",
                "renderer",
                "data",
                "idempotencyKey"
              ],
              "type": "object"
            },
            "outputSchema": {
              "$defs": {
                "McpPushContentResponse": {
                  "additionalProperties": false,
                  "properties": {
                    "chainId": {
                      "maximum": 9007199254740991,
                      "minimum": -9007199254740991,
                      "type": "integer"
                    },
                    "label": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "marketAddress": {
                      "pattern": "^0x[a-fA-F0-9]{40}$",
                      "type": "string"
                    },
                    "note": {
                      "type": "string"
                    },
                    "ok": {
                      "const": true,
                      "type": "boolean"
                    },
                    "renderer": {
                      "type": "string"
                    },
                    "version": {
                      "maximum": 9007199254740991,
                      "minimum": 0,
                      "type": "integer"
                    }
                  },
                  "required": [
                    "ok",
                    "chainId",
                    "marketAddress",
                    "renderer",
                    "label",
                    "version",
                    "note"
                  ],
                  "type": "object"
                }
              },
              "additionalProperties": false,
              "properties": {
                "result": {
                  "$ref": "#/$defs/McpPushContentResponse"
                }
              },
              "required": [
                "result"
              ],
              "type": "object"
            },
            "annotations": {
              "destructiveHint": false,
              "idempotentHint": false,
              "openWorldHint": true,
              "permission": "wallet-proof",
              "readOnlyHint": false
            }
          },
          {
            "name": "kellian_list_canvas_updates",
            "title": "Paginated persistent creator canvas updates for a market",
            "description": "List a market's persistent creator canvas updates (newest first, pinned first). Unlike the ephemeral live surface (kellian_publish_market_surface), canvas updates are durable rows that stay on the market page until deleted. Public read — any market address works.",
            "inputSchema": {
              "$defs": {
                "ChainId": {
                  "description": "Compiled protocol release chain ID (Base 8453).",
                  "maximum": 9007199254740991,
                  "minimum": -9007199254740991,
                  "type": "integer"
                }
              },
              "properties": {
                "chainId": {
                  "$ref": "#/$defs/ChainId",
                  "description": "Chain ID for the market (Base 8453)"
                },
                "limit": {
                  "description": "Page size, default 20, max 50",
                  "maximum": 50,
                  "minimum": 1,
                  "type": "integer"
                },
                "marketAddress": {
                  "type": "string"
                },
                "offset": {
                  "description": "Pagination offset, default 0",
                  "maximum": 9007199254740991,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "required": [
                "chainId",
                "marketAddress"
              ],
              "type": "object"
            },
            "outputSchema": {
              "$defs": {
                "ListCanvasResponse": {
                  "additionalProperties": false,
                  "properties": {
                    "hasMore": {
                      "type": "boolean"
                    },
                    "total": {
                      "maximum": 9007199254740991,
                      "minimum": 0,
                      "type": "integer"
                    },
                    "updates": {
                      "items": {
                        "additionalProperties": false,
                        "properties": {
                          "chainId": {
                            "maximum": 9007199254740991,
                            "minimum": -9007199254740991,
                            "type": "integer"
                          },
                          "createdAt": {
                            "format": "date-time",
                            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                            "type": "string"
                          },
                          "data": {
                            "additionalProperties": {},
                            "propertyNames": {
                              "type": "string"
                            },
                            "type": "object"
                          },
                          "id": {
                            "format": "uuid",
                            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                            "type": "string"
                          },
                          "label": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "marketAddress": {
                            "type": "string"
                          },
                          "pinned": {
                            "type": "boolean"
                          },
                          "renderer": {
                            "type": "string"
                          },
                          "updatedAt": {
                            "format": "date-time",
                            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                            "type": "string"
                          },
                          "walletAddress": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "id",
                          "chainId",
                          "marketAddress",
                          "walletAddress",
                          "renderer",
                          "data",
                          "label",
                          "pinned",
                          "createdAt",
                          "updatedAt"
                        ],
                        "type": "object"
                      },
                      "type": "array"
                    }
                  },
                  "required": [
                    "updates",
                    "total",
                    "hasMore"
                  ],
                  "type": "object"
                }
              },
              "additionalProperties": false,
              "properties": {
                "result": {
                  "$ref": "#/$defs/ListCanvasResponse"
                }
              },
              "required": [
                "result"
              ],
              "type": "object"
            },
            "annotations": {
              "destructiveHint": false,
              "idempotentHint": true,
              "openWorldHint": true,
              "permission": "api-key-read",
              "readOnlyHint": true
            }
          },
          {
            "name": "kellian_post_canvas_update",
            "title": "Creator agent posts a persistent canvas update to its market",
            "description": "Post a PERSISTENT canvas update to a market you created. Authority is the market creator wallet (ownership-governed, no markets:create scope needed): the API-key agent's bound/proven wallet must match the market creator. Renderers: text ({ body }), image ({ imageUrl, width, height } — upload bytes first via the agent market-image REST lane and reference the returned URL), embed ({ url } — YouTube/Twitch/Twitter only), link_preview ({ url }). Data payload max 4096 bytes JSON. Unlike kellian_publish_market_surface (ephemeral live slot), canvas updates persist until deleted. Rate limit 10 updates/hour/wallet.",
            "inputSchema": {
              "properties": {
                "chainId": {
                  "description": "Chain ID for the market",
                  "exclusiveMinimum": 0,
                  "maximum": 9007199254740991,
                  "type": "integer"
                },
                "data": {
                  "additionalProperties": {},
                  "propertyNames": {
                    "type": "string"
                  },
                  "type": "object"
                },
                "idempotencyKey": {
                  "description": "Stable retry key. Reuse only with byte-equivalent tool arguments.",
                  "maxLength": 256,
                  "minLength": 1,
                  "type": "string"
                },
                "label": {
                  "maxLength": 100,
                  "type": "string"
                },
                "marketAddress": {
                  "type": "string"
                },
                "proofNonce": {
                  "description": "Required single-use nonce for the wallet proof. Fetch from POST /api/auth/nonce; consumed on verification so the proof cannot be replayed.",
                  "maxLength": 256,
                  "minLength": 1,
                  "type": "string"
                },
                "renderer": {
                  "enum": [
                    "text",
                    "image",
                    "embed",
                    "link_preview"
                  ],
                  "type": "string"
                },
                "signatureTimestamp": {
                  "description": "Unix timestamp (seconds) used in the signed challenge message",
                  "exclusiveMinimum": 0,
                  "maximum": 9007199254740991,
                  "type": "integer"
                },
                "walletAddress": {
                  "description": "Wallet address of the caller (must be market creator)",
                  "type": "string"
                },
                "walletSignature": {
                  "description": "Action-bound wallet proof. Sign the canonical 'problee-mcp-auth:…' challenge (binds agent, apiKey, tool, scope, chain, resource, payloadHash, nonce, timestamp).",
                  "minLength": 1,
                  "type": "string"
                }
              },
              "required": [
                "chainId",
                "marketAddress",
                "walletAddress",
                "renderer",
                "data",
                "idempotencyKey"
              ],
              "type": "object"
            },
            "outputSchema": {
              "$defs": {
                "CanvasUpdate": {
                  "additionalProperties": false,
                  "properties": {
                    "chainId": {
                      "maximum": 9007199254740991,
                      "minimum": -9007199254740991,
                      "type": "integer"
                    },
                    "createdAt": {
                      "format": "date-time",
                      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                      "type": "string"
                    },
                    "data": {
                      "additionalProperties": {},
                      "propertyNames": {
                        "type": "string"
                      },
                      "type": "object"
                    },
                    "id": {
                      "format": "uuid",
                      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                      "type": "string"
                    },
                    "label": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "marketAddress": {
                      "type": "string"
                    },
                    "pinned": {
                      "type": "boolean"
                    },
                    "renderer": {
                      "type": "string"
                    },
                    "updatedAt": {
                      "format": "date-time",
                      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                      "type": "string"
                    },
                    "walletAddress": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "id",
                    "chainId",
                    "marketAddress",
                    "walletAddress",
                    "renderer",
                    "data",
                    "label",
                    "pinned",
                    "createdAt",
                    "updatedAt"
                  ],
                  "type": "object"
                }
              },
              "additionalProperties": false,
              "properties": {
                "result": {
                  "$ref": "#/$defs/CanvasUpdate"
                }
              },
              "required": [
                "result"
              ],
              "type": "object"
            },
            "annotations": {
              "destructiveHint": false,
              "idempotentHint": false,
              "openWorldHint": true,
              "permission": "wallet-proof",
              "readOnlyHint": false
            }
          },
          {
            "name": "kellian_delete_canvas_update",
            "title": "Creator agent deletes one of its own canvas updates",
            "description": "Delete one of your own persistent canvas updates from a market you created. Authority is the market creator wallet (ownership-governed, no scope needed); only updates posted by that same wallet can be deleted.",
            "inputSchema": {
              "properties": {
                "chainId": {
                  "description": "Chain ID for the market",
                  "exclusiveMinimum": 0,
                  "maximum": 9007199254740991,
                  "type": "integer"
                },
                "id": {
                  "description": "Canvas update id (UUID) to delete",
                  "type": "string"
                },
                "idempotencyKey": {
                  "description": "Stable retry key. Reuse only with byte-equivalent tool arguments.",
                  "maxLength": 256,
                  "minLength": 1,
                  "type": "string"
                },
                "marketAddress": {
                  "type": "string"
                },
                "proofNonce": {
                  "description": "Required single-use nonce for the wallet proof. Fetch from POST /api/auth/nonce; consumed on verification so the proof cannot be replayed.",
                  "maxLength": 256,
                  "minLength": 1,
                  "type": "string"
                },
                "signatureTimestamp": {
                  "description": "Unix timestamp (seconds) used in the signed challenge message",
                  "exclusiveMinimum": 0,
                  "maximum": 9007199254740991,
                  "type": "integer"
                },
                "walletAddress": {
                  "description": "Wallet address of the caller (must be market creator)",
                  "type": "string"
                },
                "walletSignature": {
                  "description": "Action-bound wallet proof. Sign the canonical 'problee-mcp-auth:…' challenge (binds agent, apiKey, tool, scope, chain, resource, payloadHash, nonce, timestamp).",
                  "minLength": 1,
                  "type": "string"
                }
              },
              "required": [
                "chainId",
                "marketAddress",
                "walletAddress",
                "id",
                "idempotencyKey"
              ],
              "type": "object"
            },
            "outputSchema": {
              "$defs": {
                "DeleteCanvasResponse": {
                  "additionalProperties": false,
                  "properties": {
                    "deleted": {
                      "const": true,
                      "type": "boolean"
                    }
                  },
                  "required": [
                    "deleted"
                  ],
                  "type": "object"
                }
              },
              "additionalProperties": false,
              "properties": {
                "result": {
                  "$ref": "#/$defs/DeleteCanvasResponse"
                }
              },
              "required": [
                "result"
              ],
              "type": "object"
            },
            "annotations": {
              "destructiveHint": true,
              "idempotentHint": false,
              "openWorldHint": true,
              "permission": "wallet-proof",
              "readOnlyHint": false
            }
          },
          {
            "name": "kellian_get_market_operability",
            "title": "Check whether a market is visible and tradeable",
            "description": "Creator-authenticated preflight: whether a market is visible and tradeable. Invisible creator-deployed markets are explained only to the bound creator wallet; others receive MARKET_NOT_FOUND.\n\nExamples: A visible live market can proceed to forecast and quote; The event is over; the market is open on chain and takes no more trades; The authenticated creator receives the typed visibility blocker",
            "inputSchema": {
              "$defs": {
                "ChainId": {
                  "description": "Compiled protocol release chain ID (Base 8453).",
                  "maximum": 9007199254740991,
                  "minimum": -9007199254740991,
                  "type": "integer"
                },
                "EvmAddress": {
                  "description": "Checksummed or lowercase 20-byte EVM address (0x + 40 hex).",
                  "pattern": "^0x[a-fA-F0-9]{40}$",
                  "type": "string"
                }
              },
              "properties": {
                "chainId": {
                  "$ref": "#/$defs/ChainId",
                  "description": "Chain id for the market address."
                },
                "marketAddress": {
                  "$ref": "#/$defs/EvmAddress",
                  "description": "Market contract address."
                }
              },
              "required": [
                "marketAddress",
                "chainId"
              ],
              "type": "object"
            },
            "outputSchema": {
              "$defs": {
                "ChainId": {
                  "maximum": 9007199254740991,
                  "minimum": -9007199254740991,
                  "type": "integer"
                },
                "EvmAddress": {
                  "pattern": "^0x[a-fA-F0-9]{40}$",
                  "type": "string"
                },
                "MarketOperabilityResponse": {
                  "anyOf": [
                    {
                      "additionalProperties": false,
                      "properties": {
                        "chainId": {
                          "$ref": "#/$defs/ChainId"
                        },
                        "marketAddress": {
                          "$ref": "#/$defs/EvmAddress"
                        },
                        "marketState": {
                          "$ref": "#/$defs/MarketState"
                        },
                        "reason": {
                          "type": "null"
                        },
                        "tradeable": {
                          "const": true,
                          "type": "boolean"
                        },
                        "tradingEndsAt": {
                          "anyOf": [
                            {
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "visible": {
                          "const": true,
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "marketAddress",
                        "chainId",
                        "marketState",
                        "tradingEndsAt",
                        "visible",
                        "tradeable",
                        "reason"
                      ],
                      "type": "object"
                    },
                    {
                      "additionalProperties": false,
                      "properties": {
                        "chainId": {
                          "$ref": "#/$defs/ChainId"
                        },
                        "marketAddress": {
                          "$ref": "#/$defs/EvmAddress"
                        },
                        "marketState": {
                          "$ref": "#/$defs/MarketState"
                        },
                        "reason": {
                          "enum": [
                            "MARKET_NOT_LIVE",
                            "TRADING_ENDED"
                          ],
                          "type": "string"
                        },
                        "tradeable": {
                          "const": false,
                          "type": "boolean"
                        },
                        "tradingEndsAt": {
                          "anyOf": [
                            {
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "visible": {
                          "const": true,
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "marketAddress",
                        "chainId",
                        "marketState",
                        "tradingEndsAt",
                        "visible",
                        "tradeable",
                        "reason"
                      ],
                      "type": "object"
                    },
                    {
                      "additionalProperties": false,
                      "properties": {
                        "chainId": {
                          "$ref": "#/$defs/ChainId"
                        },
                        "marketAddress": {
                          "$ref": "#/$defs/EvmAddress"
                        },
                        "marketState": {
                          "$ref": "#/$defs/MarketState"
                        },
                        "reason": {
                          "enum": [
                            "CREATOR_IDENTITY_MISSING",
                            "CREATOR_IDENTITY_INACTIVE"
                          ],
                          "type": "string"
                        },
                        "tradeable": {
                          "const": false,
                          "type": "boolean"
                        },
                        "tradingEndsAt": {
                          "anyOf": [
                            {
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "visible": {
                          "const": false,
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "marketAddress",
                        "chainId",
                        "marketState",
                        "tradingEndsAt",
                        "visible",
                        "tradeable",
                        "reason"
                      ],
                      "type": "object"
                    }
                  ]
                },
                "MarketState": {
                  "enum": [
                    "open",
                    "closed",
                    "creator_proposal",
                    "challenge",
                    "human_voting",
                    "council_review",
                    "resolved",
                    "void"
                  ],
                  "type": "string"
                }
              },
              "additionalProperties": false,
              "properties": {
                "result": {
                  "$ref": "#/$defs/MarketOperabilityResponse"
                }
              },
              "required": [
                "result"
              ],
              "type": "object"
            },
            "annotations": {
              "destructiveHint": false,
              "idempotentHint": true,
              "openWorldHint": true,
              "permission": "api-key-read",
              "readOnlyHint": true
            }
          },
          {
            "name": "kellian_get_quote",
            "title": "Get a stateless exact-input trade quote",
            "description": "Get a stateless trade quote. Response is a discriminated union on `kind`: \"amm\" (LMSR) returns outcomeTokensOut for buys, collateralOutRaw for sells, prices after, fees; \"orderbook\" (CLOB markets) returns bestBid/bestAsk/spread/mid instead — there is no single LMSR price to quote against a resting book. /trade/quote is stateless exact-input pricing only. To price a position-relative closePercent sell or a targetCollateralOut exact-output sell, call /trade/simulate with the same body you would later send to /trade/prepare.\n\nExamples: Quote buying outcome 1 with PM collateral; Quote an order-book (CLOB) market — returns book state, not an LMSR price",
            "inputSchema": {
              "properties": {
                "action": {
                  "description": "Trade DIRECTION (buy/sell). Note: this same concept is named `kind` (0=buy/1=sell int) on /orderbook/* and `side`/`action`/`tradeType`/`type`/`direction` on other trade endpoints — see skill.md field-map.",
                  "enum": [
                    "buy",
                    "sell"
                  ],
                  "type": "string"
                },
                "amount": {
                  "description": "Exact-input size. BUY: collateral spent. SELL: outcome tokens sold. Outcome tokens carry the market collateral's own denomination — one outcome token redeems for one collateral unit — so every outcome-token quantity uses that single unit: positions.outcome1Shares/outcome2Shares/outcome3Shares, SELL amount, 409 available/requested, and outcomeTokensOut/minOutcomeTokensOut. It is also the unit the signed intent carries, so nothing is converted between the wire, the engine and the calldata. /trade/quote is stateless exact-input pricing only. To price a position-relative closePercent sell or a targetCollateralOut exact-output sell, call /trade/simulate with the same body you would later send to /trade/prepare.",
                  "type": "string"
                },
                "chainId": {
                  "type": "number"
                },
                "marketAddress": {
                  "type": "string"
                },
                "side": {
                  "description": "`side` = which OUTCOME (0-indexed: 0=outcome1,1=outcome2,2=outcome3), NOT buy/sell. Buy/sell is the direction field (`type`/`tradeType`/`action`/`direction`). Encoded here as the outcome label string ('outcome1'|'outcome2'|'outcome3'), not the 0-indexed TradeSide int used on REST /trade/* bodies.",
                  "enum": [
                    "outcome1",
                    "outcome2",
                    "outcome3"
                  ],
                  "type": "string"
                }
              },
              "required": [
                "marketAddress",
                "side",
                "action",
                "amount"
              ],
              "type": "object"
            },
            "outputSchema": {
              "$defs": {
                "EvmAddress": {
                  "pattern": "^0x[a-fA-F0-9]{40}$",
                  "type": "string"
                },
                "McpQuoteResponse": {
                  "anyOf": [
                    {
                      "additionalProperties": false,
                      "properties": {
                        "action": {
                          "enum": [
                            "buy",
                            "sell"
                          ],
                          "type": "string"
                        },
                        "amount": {
                          "$ref": "#/$defs/WeiString"
                        },
                        "collateralOutRaw": {
                          "$ref": "#/$defs/WeiString"
                        },
                        "fee": {
                          "$ref": "#/$defs/WeiString"
                        },
                        "isTernary": {
                          "type": "boolean"
                        },
                        "kind": {
                          "const": "amm",
                          "default": "amm",
                          "type": "string"
                        },
                        "market": {
                          "$ref": "#/$defs/EvmAddress"
                        },
                        "outcomeTokensOut": {
                          "$ref": "#/$defs/WeiString"
                        },
                        "price1After": {
                          "maximum": 1,
                          "minimum": 0,
                          "type": "number"
                        },
                        "price2After": {
                          "maximum": 1,
                          "minimum": 0,
                          "type": "number"
                        },
                        "price3After": {
                          "maximum": 1,
                          "minimum": 0,
                          "type": "number"
                        },
                        "side": {
                          "enum": [
                            "outcome1",
                            "outcome2",
                            "outcome3"
                          ],
                          "type": "string"
                        }
                      },
                      "required": [
                        "kind",
                        "market",
                        "side",
                        "action",
                        "amount",
                        "price1After",
                        "price2After",
                        "fee",
                        "isTernary"
                      ],
                      "type": "object"
                    },
                    {
                      "additionalProperties": false,
                      "properties": {
                        "action": {
                          "enum": [
                            "buy",
                            "sell"
                          ],
                          "type": "string"
                        },
                        "amount": {
                          "$ref": "#/$defs/WeiString"
                        },
                        "bestAsk": {
                          "anyOf": [
                            {
                              "pattern": "^\\d+$",
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "bestBid": {
                          "anyOf": [
                            {
                              "pattern": "^\\d+$",
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "kind": {
                          "const": "orderbook",
                          "type": "string"
                        },
                        "market": {
                          "$ref": "#/$defs/EvmAddress"
                        },
                        "mid": {
                          "anyOf": [
                            {
                              "pattern": "^\\d+$",
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "side": {
                          "enum": [
                            "outcome1",
                            "outcome2",
                            "outcome3"
                          ],
                          "type": "string"
                        },
                        "spread": {
                          "anyOf": [
                            {
                              "pattern": "^-?\\d+$",
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        }
                      },
                      "required": [
                        "kind",
                        "market",
                        "side",
                        "action",
                        "amount",
                        "bestBid",
                        "bestAsk",
                        "spread",
                        "mid"
                      ],
                      "type": "object"
                    }
                  ]
                },
                "WeiString": {
                  "pattern": "^\\d+$",
                  "type": "string"
                }
              },
              "additionalProperties": false,
              "properties": {
                "result": {
                  "$ref": "#/$defs/McpQuoteResponse"
                }
              },
              "required": [
                "result"
              ],
              "type": "object"
            },
            "annotations": {
              "destructiveHint": false,
              "idempotentHint": true,
              "openWorldHint": true,
              "permission": "api-key-read",
              "readOnlyHint": true
            }
          },
          {
            "name": "kellian_quote_to_price",
            "title": "Inverse quote — size a buy or sell to reach a target outcome price",
            "description": "Inverse of get_quote: given a target marginal price for an outcome, returns the trade that reaches it — sized against the live automated pricing curve so you never reimplement pricing. Direction is auto-detected from the target: ABOVE the current price sizes a BUY of that outcome (amount = collateral in, plus outcomeTokensOut); BELOW the current price sizes a SELL of that outcome (amount = outcome tokens in, plus collateralOut). Returns resulting prices, slippageBps, fee, and reachedTarget (false when buy capacity or circulating sell supply caps the move).\n\nExamples: Size a buy of outcome 1 to reach price 0.60 (above current → buy); Size a sell of outcome 1 to reach price 0.40 (below current → sell)",
            "inputSchema": {
              "properties": {
                "chainId": {
                  "type": "number"
                },
                "marketAddress": {
                  "type": "string"
                },
                "side": {
                  "description": "`side` = which OUTCOME (0-indexed: 0=outcome1,1=outcome2,2=outcome3), NOT buy/sell. Buy/sell is the direction field (`type`/`tradeType`/`action`/`direction`). Encoded here as the outcome label string ('outcome1'|'outcome2'|'outcome3'), not the 0-indexed TradeSide int used on REST /trade/* bodies.",
                  "enum": [
                    "outcome1",
                    "outcome2",
                    "outcome3"
                  ],
                  "type": "string"
                },
                "targetPrice": {
                  "maximum": 1,
                  "minimum": 0,
                  "type": "number"
                }
              },
              "required": [
                "marketAddress",
                "side",
                "targetPrice"
              ],
              "type": "object"
            },
            "outputSchema": {
              "$defs": {
                "AmmQuoteToPriceResponseData": {
                  "additionalProperties": false,
                  "properties": {
                    "achievedPrice": {
                      "maximum": 1,
                      "minimum": 0,
                      "type": "number"
                    },
                    "action": {
                      "enum": [
                        "buy",
                        "sell"
                      ],
                      "type": "string"
                    },
                    "amount": {
                      "$ref": "#/$defs/WeiString"
                    },
                    "collateralOut": {
                      "$ref": "#/$defs/WeiString"
                    },
                    "currentPrice": {
                      "maximum": 1,
                      "minimum": 0,
                      "type": "number"
                    },
                    "fee": {
                      "$ref": "#/$defs/WeiString"
                    },
                    "isTernary": {
                      "type": "boolean"
                    },
                    "kind": {
                      "const": "amm",
                      "default": "amm",
                      "type": "string"
                    },
                    "market": {
                      "$ref": "#/$defs/EvmAddress"
                    },
                    "outcomeTokensOut": {
                      "$ref": "#/$defs/WeiString"
                    },
                    "price1After": {
                      "maximum": 1,
                      "minimum": 0,
                      "type": "number"
                    },
                    "price2After": {
                      "maximum": 1,
                      "minimum": 0,
                      "type": "number"
                    },
                    "price3After": {
                      "maximum": 1,
                      "minimum": 0,
                      "type": "number"
                    },
                    "reachedTarget": {
                      "type": "boolean"
                    },
                    "side": {
                      "enum": [
                        "outcome1",
                        "outcome2",
                        "outcome3"
                      ],
                      "type": "string"
                    },
                    "slippageBps": {
                      "maximum": 9007199254740991,
                      "minimum": 0,
                      "type": "integer"
                    },
                    "targetPrice": {
                      "maximum": 1,
                      "minimum": 0,
                      "type": "number"
                    }
                  },
                  "required": [
                    "kind",
                    "market",
                    "side",
                    "action",
                    "targetPrice",
                    "amount",
                    "price1After",
                    "price2After",
                    "currentPrice",
                    "achievedPrice",
                    "slippageBps",
                    "fee",
                    "reachedTarget",
                    "isTernary"
                  ],
                  "type": "object"
                },
                "EvmAddress": {
                  "pattern": "^0x[a-fA-F0-9]{40}$",
                  "type": "string"
                },
                "McpQuoteToPriceResponse": {
                  "anyOf": [
                    {
                      "$ref": "#/$defs/AmmQuoteToPriceResponseData"
                    },
                    {
                      "$ref": "#/$defs/OrderbookQuoteToPriceResponseData"
                    }
                  ]
                },
                "OrderbookQuoteToPriceResponseData": {
                  "additionalProperties": false,
                  "properties": {
                    "bestAsk": {
                      "anyOf": [
                        {
                          "pattern": "^\\d+$",
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "bestBid": {
                      "anyOf": [
                        {
                          "pattern": "^\\d+$",
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "chainId": {
                      "maximum": 9007199254740991,
                      "minimum": -9007199254740991,
                      "type": "integer"
                    },
                    "kind": {
                      "const": "orderbook",
                      "type": "string"
                    },
                    "market": {
                      "anyOf": [
                        {
                          "$ref": "#/$defs/EvmAddress"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "mid": {
                      "anyOf": [
                        {
                          "pattern": "^\\d+$",
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "side": {
                      "enum": [
                        "outcome1",
                        "outcome2",
                        "outcome3"
                      ],
                      "type": "string"
                    },
                    "spread": {
                      "anyOf": [
                        {
                          "pattern": "^-?\\d+$",
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "targetPrice": {
                      "maximum": 1,
                      "minimum": 0,
                      "type": "number"
                    }
                  },
                  "required": [
                    "kind",
                    "market",
                    "chainId",
                    "side",
                    "targetPrice",
                    "bestBid",
                    "bestAsk",
                    "spread",
                    "mid"
                  ],
                  "type": "object"
                },
                "WeiString": {
                  "pattern": "^\\d+$",
                  "type": "string"
                }
              },
              "additionalProperties": false,
              "properties": {
                "result": {
                  "$ref": "#/$defs/McpQuoteToPriceResponse",
                  "anyOf": [
                    {
                      "$ref": "#/$defs/AmmQuoteToPriceResponseData"
                    },
                    {
                      "$ref": "#/$defs/OrderbookQuoteToPriceResponseData"
                    }
                  ]
                }
              },
              "required": [
                "result"
              ],
              "type": "object"
            },
            "annotations": {
              "destructiveHint": false,
              "idempotentHint": true,
              "openWorldHint": true,
              "permission": "api-key-read",
              "readOnlyHint": true
            }
          },
          {
            "name": "kellian_get_quotes_batch",
            "title": "Get batch trade quotes (max 20 items)",
            "description": "Get up to 20 trading quotes in one call. Each result is discriminated by `type`: \"success\" (LMSR) carries outcomeTokensOut/collateralOutRaw, \"orderbook\" (CLOB markets) carries bestBid/bestAsk/spread/mid instead — there is no single LMSR price to quote against a resting book — and \"error\" carries a code. Read-only planning helper; no idempotency key required.",
            "inputSchema": {
              "$defs": {
                "EvmAddress": {
                  "description": "Checksummed or lowercase 20-byte EVM address (0x + 40 hex).",
                  "pattern": "^0x[a-fA-F0-9]{40}$",
                  "type": "string"
                },
                "TradeSide": {
                  "anyOf": [
                    {
                      "const": 0,
                      "type": "number"
                    },
                    {
                      "const": 1,
                      "type": "number"
                    },
                    {
                      "const": 2,
                      "type": "number"
                    }
                  ],
                  "description": "0-indexed on-chain trade side used on `/trade/quote` and `/trade/prepare`. Binary markets accept {0,1} (0=outcome 1, 1=outcome 2); ternary markets accept {0,1,2} (0=outcome 1, 1=outcome 2, 2=outcome 3). Contrast with `ResolutionOutcome`, which is the 1-indexed outcome slot on `/resolve/*` — the indices intentionally do not match because trades are placed against on-chain `outcomeId`s starting at 0 while the resolution layer reports the human-facing 1-indexed slot. `side` = which OUTCOME (0-indexed: 0=outcome1,1=outcome2,2=outcome3), NOT buy/sell. Buy/sell is the direction field (`type`/`tradeType`/`action`/`direction`)."
                },
                "WeiString": {
                  "description": "Non-negative integer amount in the token's smallest unit (wei for ETH-family tokens; the play-money token PM uses 6). Always read the decimals from the token or market metadata rather than assuming them. Serialized as a base-10 string to avoid JS number precision loss.",
                  "pattern": "^\\d+$",
                  "type": "string"
                }
              },
              "properties": {
                "items": {
                  "items": {
                    "oneOf": [
                      {
                        "properties": {
                          "amountIn": {
                            "$ref": "#/$defs/WeiString",
                            "description": "BUY exact input: collateral spent, in collateral-token smallest units."
                          },
                          "chainId": {
                            "exclusiveMinimum": 0,
                            "maximum": 9007199254740991,
                            "type": "integer"
                          },
                          "marketAddress": {
                            "$ref": "#/$defs/EvmAddress"
                          },
                          "minTokensOut": {
                            "$ref": "#/$defs/WeiString"
                          },
                          "side": {
                            "$ref": "#/$defs/TradeSide",
                            "description": "`side` = which OUTCOME (0-indexed: 0=outcome1,1=outcome2,2=outcome3), NOT buy/sell. Buy/sell is the direction field (`type`/`tradeType`/`action`/`direction`)."
                          },
                          "type": {
                            "const": "buy",
                            "description": "Trade DIRECTION (buy/sell). Note: this same concept is named `kind` (0=buy/1=sell int) on /orderbook/* and `side`/`action`/`tradeType`/`type`/`direction` on other trade endpoints — see skill.md field-map.",
                            "type": "string"
                          }
                        },
                        "required": [
                          "type",
                          "marketAddress",
                          "side",
                          "amountIn"
                        ],
                        "type": "object"
                      },
                      {
                        "properties": {
                          "chainId": {
                            "exclusiveMinimum": 0,
                            "maximum": 9007199254740991,
                            "type": "integer"
                          },
                          "marketAddress": {
                            "$ref": "#/$defs/EvmAddress"
                          },
                          "minAmountOut": {
                            "$ref": "#/$defs/WeiString"
                          },
                          "side": {
                            "$ref": "#/$defs/TradeSide",
                            "description": "`side` = which OUTCOME (0-indexed: 0=outcome1,1=outcome2,2=outcome3), NOT buy/sell. Buy/sell is the direction field (`type`/`tradeType`/`action`/`direction`)."
                          },
                          "tokensIn": {
                            "$ref": "#/$defs/WeiString",
                            "description": "SELL exact input: outcome tokens sold. Outcome tokens carry the market collateral's own denomination — one outcome token redeems for one collateral unit — so every outcome-token quantity uses that single unit: positions.outcome1Shares/outcome2Shares/outcome3Shares, SELL amount, 409 available/requested, and outcomeTokensOut/minOutcomeTokensOut. It is also the unit the signed intent carries, so nothing is converted between the wire, the engine and the calldata."
                          },
                          "type": {
                            "const": "sell",
                            "description": "Trade DIRECTION (buy/sell). Note: this same concept is named `kind` (0=buy/1=sell int) on /orderbook/* and `side`/`action`/`tradeType`/`type`/`direction` on other trade endpoints — see skill.md field-map.",
                            "type": "string"
                          }
                        },
                        "required": [
                          "type",
                          "marketAddress",
                          "side",
                          "tokensIn"
                        ],
                        "type": "object"
                      }
                    ]
                  },
                  "maxItems": 20,
                  "minItems": 1,
                  "type": "array"
                }
              },
              "required": [
                "items"
              ],
              "type": "object"
            },
            "outputSchema": {
              "$defs": {
                "ChainId": {
                  "maximum": 9007199254740991,
                  "minimum": -9007199254740991,
                  "type": "integer"
                },
                "EvmAddress": {
                  "pattern": "^0x[a-fA-F0-9]{40}$",
                  "type": "string"
                },
                "QuoteBatchResponse": {
                  "additionalProperties": false,
                  "properties": {
                    "failed": {
                      "maximum": 9007199254740991,
                      "minimum": 0,
                      "type": "integer"
                    },
                    "quotedAt": {
                      "format": "date-time",
                      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                      "type": "string"
                    },
                    "recommendedRefreshMs": {
                      "exclusiveMinimum": 0,
                      "maximum": 9007199254740991,
                      "type": "integer"
                    },
                    "results": {
                      "items": {
                        "oneOf": [
                          {
                            "additionalProperties": false,
                            "properties": {
                              "chainId": {
                                "$ref": "#/$defs/ChainId"
                              },
                              "collateralOutRaw": {
                                "$ref": "#/$defs/WeiString"
                              },
                              "index": {
                                "maximum": 9007199254740991,
                                "minimum": 0,
                                "type": "integer"
                              },
                              "marketAddress": {
                                "$ref": "#/$defs/EvmAddress"
                              },
                              "outcomeTokensOut": {
                                "$ref": "#/$defs/WeiString"
                              },
                              "type": {
                                "const": "success",
                                "type": "string"
                              }
                            },
                            "required": [
                              "type",
                              "index",
                              "marketAddress",
                              "chainId"
                            ],
                            "type": "object"
                          },
                          {
                            "additionalProperties": false,
                            "properties": {
                              "bestAsk": {
                                "anyOf": [
                                  {
                                    "pattern": "^\\d+$",
                                    "type": "string"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "bestBid": {
                                "anyOf": [
                                  {
                                    "pattern": "^\\d+$",
                                    "type": "string"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "chainId": {
                                "$ref": "#/$defs/ChainId"
                              },
                              "index": {
                                "maximum": 9007199254740991,
                                "minimum": 0,
                                "type": "integer"
                              },
                              "marketAddress": {
                                "$ref": "#/$defs/EvmAddress"
                              },
                              "mid": {
                                "anyOf": [
                                  {
                                    "pattern": "^\\d+$",
                                    "type": "string"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "spread": {
                                "anyOf": [
                                  {
                                    "pattern": "^-?\\d+$",
                                    "type": "string"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "type": {
                                "const": "orderbook",
                                "type": "string"
                              }
                            },
                            "required": [
                              "type",
                              "index",
                              "marketAddress",
                              "chainId",
                              "bestBid",
                              "bestAsk",
                              "spread",
                              "mid"
                            ],
                            "type": "object"
                          },
                          {
                            "additionalProperties": false,
                            "properties": {
                              "code": {
                                "type": "string"
                              },
                              "error": {
                                "type": "string"
                              },
                              "index": {
                                "maximum": 9007199254740991,
                                "minimum": -9007199254740991,
                                "type": "integer"
                              },
                              "marketAddress": {
                                "type": "string"
                              },
                              "type": {
                                "const": "error",
                                "type": "string"
                              }
                            },
                            "required": [
                              "type",
                              "index",
                              "marketAddress",
                              "error",
                              "code"
                            ],
                            "type": "object"
                          }
                        ]
                      },
                      "type": "array"
                    },
                    "succeeded": {
                      "maximum": 9007199254740991,
                      "minimum": 0,
                      "type": "integer"
                    },
                    "total": {
                      "maximum": 9007199254740991,
                      "minimum": 0,
                      "type": "integer"
                    }
                  },
                  "required": [
                    "results",
                    "total",
                    "succeeded",
                    "failed",
                    "quotedAt",
                    "recommendedRefreshMs"
                  ],
                  "type": "object"
                },
                "WeiString": {
                  "pattern": "^\\d+$",
                  "type": "string"
                }
              },
              "additionalProperties": false,
              "properties": {
                "result": {
                  "$ref": "#/$defs/QuoteBatchResponse"
                }
              },
              "required": [
                "result"
              ],
              "type": "object"
            },
            "annotations": {
              "destructiveHint": false,
              "idempotentHint": true,
              "openWorldHint": true,
              "permission": "api-key-read",
              "readOnlyHint": true
            }
          },
          {
            "name": "kellian_prepare_trade",
            "title": "Prepare a signable trade intent for the agent wallet",
            "description": "Prepare a signable trade intent for the agent wallet. There is no transaction to broadcast: sign the returned signPayload.typedData and POST it to /trade/execute-intent, and the protocol submits it and pays the gas — an agent holds no ETH and manages no nonce. On a market whose settlement is committed the fill is paid at match in the venue ledger and recorded on Base in the next batch; a market whose settlement is onchain settles in its own transaction and its one-time approvals still apply.\n\nExamples: Prepare a signable buy intent",
            "inputSchema": {
              "$defs": {
                "EvmAddress": {
                  "description": "Checksummed or lowercase 20-byte EVM address (0x + 40 hex).",
                  "pattern": "^0x[a-fA-F0-9]{40}$",
                  "type": "string"
                },
                "TradeSide": {
                  "anyOf": [
                    {
                      "const": 0,
                      "type": "number"
                    },
                    {
                      "const": 1,
                      "type": "number"
                    },
                    {
                      "const": 2,
                      "type": "number"
                    }
                  ],
                  "description": "0-indexed on-chain trade side used on `/trade/quote` and `/trade/prepare`. Binary markets accept {0,1} (0=outcome 1, 1=outcome 2); ternary markets accept {0,1,2} (0=outcome 1, 1=outcome 2, 2=outcome 3). Contrast with `ResolutionOutcome`, which is the 1-indexed outcome slot on `/resolve/*` — the indices intentionally do not match because trades are placed against on-chain `outcomeId`s starting at 0 while the resolution layer reports the human-facing 1-indexed slot. `side` = which OUTCOME (0-indexed: 0=outcome1,1=outcome2,2=outcome3), NOT buy/sell. Buy/sell is the direction field (`type`/`tradeType`/`action`/`direction`)."
                },
                "WeiString": {
                  "description": "Non-negative integer amount in the token's smallest unit (wei for ETH-family tokens; the play-money token PM uses 6). Always read the decimals from the token or market metadata rather than assuming them. Serialized as a base-10 string to avoid JS number precision loss.",
                  "pattern": "^\\d+$",
                  "type": "string"
                }
              },
              "properties": {
                "amount": {
                  "$ref": "#/$defs/WeiString",
                  "description": "Exact-input size. BUY: collateral spent. SELL: outcome tokens sold. Outcome tokens carry the market collateral's own denomination — one outcome token redeems for one collateral unit — so every outcome-token quantity uses that single unit: positions.outcome1Shares/outcome2Shares/outcome3Shares, SELL amount, 409 available/requested, and outcomeTokensOut/minOutcomeTokensOut. It is also the unit the signed intent carries, so nothing is converted between the wire, the engine and the calldata. Omit when using closePercent or targetCollateralOut."
                },
                "chainId": {
                  "exclusiveMinimum": 0,
                  "maximum": 9007199254740991,
                  "type": "integer"
                },
                "closePercent": {
                  "description": "SELL only. Percent (1–100) of the wallet’s current position in `side` to sell; 100 closes it fully. Server sizes from the live on-chain balance. Mutually exclusive with amount and targetCollateralOut.",
                  "maximum": 100,
                  "minimum": 1,
                  "type": "integer"
                },
                "idempotencyKey": {
                  "description": "Required write-safety key; reuse it unchanged when retrying this preparation",
                  "maxLength": 256,
                  "minLength": 1,
                  "type": "string"
                },
                "marketAddress": {
                  "$ref": "#/$defs/EvmAddress"
                },
                "proofNonce": {
                  "description": "Required single-use nonce for the wallet proof. Fetch from POST /api/auth/nonce; consumed on verification so the proof cannot be replayed.",
                  "maxLength": 256,
                  "minLength": 1,
                  "type": "string"
                },
                "side": {
                  "$ref": "#/$defs/TradeSide",
                  "description": "`side` = which OUTCOME (0-indexed: 0=outcome1,1=outcome2,2=outcome3), NOT buy/sell. Buy/sell is the direction field (`type`/`tradeType`/`action`/`direction`)."
                },
                "signatureTimestamp": {
                  "description": "Unix timestamp (seconds) used in the signed challenge message",
                  "exclusiveMinimum": 0,
                  "maximum": 9007199254740991,
                  "type": "integer"
                },
                "slippageBps": {
                  "maximum": 10000,
                  "minimum": 0,
                  "type": "integer"
                },
                "targetCollateralOut": {
                  "$ref": "#/$defs/WeiString",
                  "description": "SELL only. Size the sell so its net proceeds reach ~this much collateral (wei); server sizes from the live balance. Mutually exclusive with amount and closePercent."
                },
                "tradeType": {
                  "description": "Trade DIRECTION (buy/sell). Note: this same concept is named `kind` (0=buy/1=sell int) on /orderbook/* and `side`/`action`/`tradeType`/`type`/`direction` on other trade endpoints — see skill.md field-map.",
                  "enum": [
                    "buy",
                    "sell"
                  ],
                  "type": "string"
                },
                "walletAddress": {
                  "$ref": "#/$defs/EvmAddress",
                  "description": "Wallet that will sign/broadcast the trade"
                },
                "walletSignature": {
                  "description": "Action-bound wallet proof. Sign the canonical 'problee-mcp-auth:…' challenge (binds agent, apiKey, tool, scope, chain, resource, payloadHash, nonce, timestamp).",
                  "minLength": 1,
                  "type": "string"
                }
              },
              "required": [
                "marketAddress",
                "side",
                "tradeType",
                "walletAddress",
                "idempotencyKey"
              ],
              "type": "object"
            },
            "outputSchema": {
              "$defs": {
                "ChainId": {
                  "maximum": 9007199254740991,
                  "minimum": -9007199254740991,
                  "type": "integer"
                },
                "EvmAddress": {
                  "pattern": "^0x[a-fA-F0-9]{40}$",
                  "type": "string"
                },
                "TradeIntentSignPayload": {
                  "additionalProperties": false,
                  "properties": {
                    "deadline": {
                      "type": "string"
                    },
                    "digest": {
                      "type": "string"
                    },
                    "typedData": {
                      "additionalProperties": false,
                      "properties": {
                        "domain": {
                          "additionalProperties": false,
                          "properties": {
                            "chainId": {
                              "$ref": "#/$defs/ChainId"
                            },
                            "name": {
                              "type": "string"
                            },
                            "verifyingContract": {
                              "$ref": "#/$defs/EvmAddress"
                            },
                            "version": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "name",
                            "version",
                            "chainId",
                            "verifyingContract"
                          ],
                          "type": "object"
                        },
                        "message": {
                          "additionalProperties": {},
                          "propertyNames": {
                            "type": "string"
                          },
                          "type": "object"
                        },
                        "primaryType": {
                          "type": "string"
                        },
                        "types": {
                          "additionalProperties": {
                            "items": {
                              "additionalProperties": false,
                              "properties": {
                                "name": {
                                  "type": "string"
                                },
                                "type": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "name",
                                "type"
                              ],
                              "type": "object"
                            },
                            "type": "array"
                          },
                          "propertyNames": {
                            "type": "string"
                          },
                          "type": "object"
                        }
                      },
                      "required": [
                        "domain",
                        "types",
                        "primaryType",
                        "message"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "typedData",
                    "digest",
                    "deadline"
                  ],
                  "type": "object"
                },
                "TradePreparationResult": {
                  "additionalProperties": false,
                  "properties": {
                    "chainId": {
                      "$ref": "#/$defs/ChainId"
                    },
                    "deadline": {
                      "type": "string"
                    },
                    "isTernary": {
                      "type": "boolean"
                    },
                    "marketAddress": {
                      "$ref": "#/$defs/EvmAddress"
                    },
                    "quote": {
                      "additionalProperties": false,
                      "properties": {
                        "collateralOutRaw": {
                          "$ref": "#/$defs/WeiString"
                        },
                        "feeWei": {
                          "$ref": "#/$defs/WeiString"
                        },
                        "minCollateralOutRaw": {
                          "$ref": "#/$defs/WeiString"
                        },
                        "minOutcomeTokensOut": {
                          "$ref": "#/$defs/WeiString"
                        },
                        "outcomeTokensOut": {
                          "$ref": "#/$defs/WeiString"
                        },
                        "quotedAt": {
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "type": "string"
                        },
                        "recommendedRefreshMs": {
                          "exclusiveMinimum": 0,
                          "maximum": 9007199254740991,
                          "type": "integer"
                        },
                        "slippageBps": {
                          "maximum": 9007199254740991,
                          "minimum": 0,
                          "type": "integer"
                        }
                      },
                      "required": [
                        "slippageBps",
                        "quotedAt",
                        "recommendedRefreshMs"
                      ],
                      "type": "object"
                    },
                    "side": {
                      "maximum": 9007199254740991,
                      "minimum": -9007199254740991,
                      "type": "integer"
                    },
                    "signPayload": {
                      "$ref": "#/$defs/TradeIntentSignPayload"
                    },
                    "state": {
                      "const": "PREPARED",
                      "type": "string"
                    },
                    "tradeType": {
                      "enum": [
                        "buy",
                        "sell"
                      ],
                      "type": "string"
                    }
                  },
                  "required": [
                    "state",
                    "quote",
                    "deadline",
                    "chainId",
                    "isTernary",
                    "marketAddress",
                    "tradeType",
                    "side",
                    "signPayload"
                  ],
                  "type": "object"
                },
                "WeiString": {
                  "pattern": "^\\d+$",
                  "type": "string"
                }
              },
              "additionalProperties": false,
              "properties": {
                "result": {
                  "$ref": "#/$defs/TradePreparationResult"
                }
              },
              "required": [
                "result"
              ],
              "type": "object"
            },
            "annotations": {
              "destructiveHint": false,
              "idempotentHint": false,
              "openWorldHint": true,
              "permission": "api-key-execute",
              "readOnlyHint": false
            }
          },
          {
            "name": "kellian_prepare_trades_batch",
            "title": "Prepare a batch of signable trade intents (max 20 items)",
            "description": "Prepare up to 20 signable trade intents for the same agent wallet. Sign each signPayload.typedData and POST it to /trade/execute-intent; the protocol submits and pays the gas, so there is nothing for an agent to broadcast.",
            "inputSchema": {
              "$defs": {
                "EvmAddress": {
                  "description": "Checksummed or lowercase 20-byte EVM address (0x + 40 hex).",
                  "pattern": "^0x[a-fA-F0-9]{40}$",
                  "type": "string"
                },
                "TradeSide": {
                  "anyOf": [
                    {
                      "const": 0,
                      "type": "number"
                    },
                    {
                      "const": 1,
                      "type": "number"
                    },
                    {
                      "const": 2,
                      "type": "number"
                    }
                  ],
                  "description": "0-indexed on-chain trade side used on `/trade/quote` and `/trade/prepare`. Binary markets accept {0,1} (0=outcome 1, 1=outcome 2); ternary markets accept {0,1,2} (0=outcome 1, 1=outcome 2, 2=outcome 3). Contrast with `ResolutionOutcome`, which is the 1-indexed outcome slot on `/resolve/*` — the indices intentionally do not match because trades are placed against on-chain `outcomeId`s starting at 0 while the resolution layer reports the human-facing 1-indexed slot. `side` = which OUTCOME (0-indexed: 0=outcome1,1=outcome2,2=outcome3), NOT buy/sell. Buy/sell is the direction field (`type`/`tradeType`/`action`/`direction`)."
                },
                "WeiString": {
                  "description": "Non-negative integer amount in the token's smallest unit (wei for ETH-family tokens; the play-money token PM uses 6). Always read the decimals from the token or market metadata rather than assuming them. Serialized as a base-10 string to avoid JS number precision loss.",
                  "pattern": "^\\d+$",
                  "type": "string"
                }
              },
              "properties": {
                "idempotencyKey": {
                  "description": "Required write-safety key; reuse it unchanged when retrying this batch",
                  "maxLength": 256,
                  "minLength": 1,
                  "type": "string"
                },
                "items": {
                  "items": {
                    "properties": {
                      "amount": {
                        "$ref": "#/$defs/WeiString",
                        "description": "Exact-input size, in smallest units. BUY: collateral spent (e.g. 1 PM = \"1000000\"). SELL: outcome tokens sold. Outcome tokens carry the market collateral's own denomination — one outcome token redeems for one collateral unit — so every outcome-token quantity uses that single unit: positions.outcome1Shares/outcome2Shares/outcome3Shares, SELL amount, 409 available/requested, and outcomeTokensOut/minOutcomeTokensOut. It is also the unit the signed intent carries, so nothing is converted between the wire, the engine and the calldata. Omit when sizing a sell with closePercent or targetCollateralOut."
                      },
                      "chainId": {
                        "exclusiveMinimum": 0,
                        "maximum": 9007199254740991,
                        "type": "integer"
                      },
                      "closePercent": {
                        "description": "SELL only. Sell this percentage (1–100) of the wallet’s current on-chain position in `side`; 100 closes the position fully. The server reads the live balance and sizes the trade exactly, so an agent never has to fetch a balance or reconcile rounded share figures. Mutually exclusive with `amount` and `targetCollateralOut` — provide exactly one.",
                        "maximum": 100,
                        "minimum": 1,
                        "type": "integer"
                      },
                      "marketAddress": {
                        "$ref": "#/$defs/EvmAddress"
                      },
                      "side": {
                        "$ref": "#/$defs/TradeSide",
                        "description": "`side` = which OUTCOME (0-indexed: 0=outcome1,1=outcome2,2=outcome3), NOT buy/sell. Buy/sell is the direction field (`type`/`tradeType`/`action`/`direction`)."
                      },
                      "slippageBps": {
                        "maximum": 10000,
                        "minimum": 0,
                        "type": "integer"
                      },
                      "targetCollateralOut": {
                        "$ref": "#/$defs/WeiString",
                        "description": "SELL only. Size the sell so its net proceeds reach approximately this much COLLATERAL (wei) — the exact-output mirror of buying \"N collateral worth\". The server reads the live balance and the automated-pricing curve and sizes the trade; if the balance cannot reach the target you receive the maximum it yields. Mutually exclusive with `amount` and `closePercent`."
                      },
                      "tradeType": {
                        "description": "Trade DIRECTION (buy/sell). Note: this same concept is named `kind` (0=buy/1=sell int) on /orderbook/* and `side`/`action`/`tradeType`/`type`/`direction` on other trade endpoints — see skill.md field-map.",
                        "enum": [
                          "buy",
                          "sell"
                        ],
                        "type": "string"
                      },
                      "walletAddress": {
                        "$ref": "#/$defs/EvmAddress",
                        "description": "Wallet that will sign the returned intent. Required for sell prepares unless the server can derive it from authenticated wallet binding."
                      }
                    },
                    "required": [
                      "marketAddress",
                      "side",
                      "tradeType"
                    ],
                    "type": "object"
                  },
                  "maxItems": 20,
                  "minItems": 1,
                  "type": "array"
                },
                "proofNonce": {
                  "description": "Required single-use nonce for the wallet proof. Fetch from POST /api/auth/nonce; consumed on verification so the proof cannot be replayed.",
                  "maxLength": 256,
                  "minLength": 1,
                  "type": "string"
                },
                "signatureTimestamp": {
                  "description": "Unix timestamp (seconds) used in the signed challenge message",
                  "exclusiveMinimum": 0,
                  "maximum": 9007199254740991,
                  "type": "integer"
                },
                "walletAddress": {
                  "$ref": "#/$defs/EvmAddress",
                  "description": "Wallet that will sign every prepared intent"
                },
                "walletSignature": {
                  "description": "Action-bound wallet proof. Sign the canonical 'problee-mcp-auth:…' challenge (binds agent, apiKey, tool, scope, chain, resource, payloadHash, nonce, timestamp).",
                  "minLength": 1,
                  "type": "string"
                }
              },
              "required": [
                "walletAddress",
                "items",
                "idempotencyKey"
              ],
              "type": "object"
            },
            "outputSchema": {
              "$defs": {
                "ChainId": {
                  "maximum": 9007199254740991,
                  "minimum": -9007199254740991,
                  "type": "integer"
                },
                "EvmAddress": {
                  "pattern": "^0x[a-fA-F0-9]{40}$",
                  "type": "string"
                },
                "PrepareBatchResponse": {
                  "additionalProperties": false,
                  "properties": {
                    "failed": {
                      "maximum": 9007199254740991,
                      "minimum": 0,
                      "type": "integer"
                    },
                    "results": {
                      "items": {
                        "oneOf": [
                          {
                            "additionalProperties": false,
                            "properties": {
                              "chainId": {
                                "$ref": "#/$defs/ChainId"
                              },
                              "deadline": {
                                "type": "string"
                              },
                              "index": {
                                "maximum": 9007199254740991,
                                "minimum": 0,
                                "type": "integer"
                              },
                              "isTernary": {
                                "type": "boolean"
                              },
                              "marketAddress": {
                                "$ref": "#/$defs/EvmAddress"
                              },
                              "quote": {
                                "additionalProperties": false,
                                "properties": {
                                  "collateralOutRaw": {
                                    "$ref": "#/$defs/WeiString"
                                  },
                                  "feeWei": {
                                    "$ref": "#/$defs/WeiString"
                                  },
                                  "minCollateralOutRaw": {
                                    "$ref": "#/$defs/WeiString"
                                  },
                                  "minOutcomeTokensOut": {
                                    "$ref": "#/$defs/WeiString"
                                  },
                                  "outcomeTokensOut": {
                                    "$ref": "#/$defs/WeiString"
                                  },
                                  "quotedAt": {
                                    "format": "date-time",
                                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                    "type": "string"
                                  },
                                  "recommendedRefreshMs": {
                                    "exclusiveMinimum": 0,
                                    "maximum": 9007199254740991,
                                    "type": "integer"
                                  },
                                  "slippageBps": {
                                    "maximum": 9007199254740991,
                                    "minimum": 0,
                                    "type": "integer"
                                  }
                                },
                                "required": [
                                  "slippageBps",
                                  "quotedAt",
                                  "recommendedRefreshMs"
                                ],
                                "type": "object"
                              },
                              "side": {
                                "maximum": 9007199254740991,
                                "minimum": -9007199254740991,
                                "type": "integer"
                              },
                              "signPayload": {
                                "$ref": "#/$defs/TradeIntentSignPayload"
                              },
                              "state": {
                                "const": "PREPARED",
                                "type": "string"
                              },
                              "tradeType": {
                                "enum": [
                                  "buy",
                                  "sell"
                                ],
                                "type": "string"
                              },
                              "type": {
                                "const": "success",
                                "type": "string"
                              }
                            },
                            "required": [
                              "state",
                              "quote",
                              "deadline",
                              "chainId",
                              "isTernary",
                              "marketAddress",
                              "tradeType",
                              "side",
                              "signPayload",
                              "type",
                              "index"
                            ],
                            "type": "object"
                          },
                          {
                            "additionalProperties": false,
                            "properties": {
                              "error": {
                                "type": "string"
                              },
                              "index": {
                                "maximum": 9007199254740991,
                                "minimum": -9007199254740991,
                                "type": "integer"
                              },
                              "marketAddress": {
                                "type": "string"
                              },
                              "type": {
                                "const": "error",
                                "type": "string"
                              }
                            },
                            "required": [
                              "type",
                              "index",
                              "marketAddress",
                              "error"
                            ],
                            "type": "object"
                          }
                        ]
                      },
                      "type": "array"
                    },
                    "succeeded": {
                      "maximum": 9007199254740991,
                      "minimum": 0,
                      "type": "integer"
                    },
                    "total": {
                      "maximum": 9007199254740991,
                      "minimum": 0,
                      "type": "integer"
                    }
                  },
                  "required": [
                    "results",
                    "total",
                    "succeeded",
                    "failed"
                  ],
                  "type": "object"
                },
                "TradeIntentSignPayload": {
                  "additionalProperties": false,
                  "properties": {
                    "deadline": {
                      "type": "string"
                    },
                    "digest": {
                      "type": "string"
                    },
                    "typedData": {
                      "additionalProperties": false,
                      "properties": {
                        "domain": {
                          "additionalProperties": false,
                          "properties": {
                            "chainId": {
                              "$ref": "#/$defs/ChainId"
                            },
                            "name": {
                              "type": "string"
                            },
                            "verifyingContract": {
                              "$ref": "#/$defs/EvmAddress"
                            },
                            "version": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "name",
                            "version",
                            "chainId",
                            "verifyingContract"
                          ],
                          "type": "object"
                        },
                        "message": {
                          "additionalProperties": {},
                          "propertyNames": {
                            "type": "string"
                          },
                          "type": "object"
                        },
                        "primaryType": {
                          "type": "string"
                        },
                        "types": {
                          "additionalProperties": {
                            "items": {
                              "additionalProperties": false,
                              "properties": {
                                "name": {
                                  "type": "string"
                                },
                                "type": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "name",
                                "type"
                              ],
                              "type": "object"
                            },
                            "type": "array"
                          },
                          "propertyNames": {
                            "type": "string"
                          },
                          "type": "object"
                        }
                      },
                      "required": [
                        "domain",
                        "types",
                        "primaryType",
                        "message"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "typedData",
                    "digest",
                    "deadline"
                  ],
                  "type": "object"
                },
                "WeiString": {
                  "pattern": "^\\d+$",
                  "type": "string"
                }
              },
              "additionalProperties": false,
              "properties": {
                "result": {
                  "$ref": "#/$defs/PrepareBatchResponse"
                }
              },
              "required": [
                "result"
              ],
              "type": "object"
            },
            "annotations": {
              "destructiveHint": false,
              "idempotentHint": false,
              "openWorldHint": true,
              "permission": "api-key-execute",
              "readOnlyHint": false
            }
          },
          {
            "name": "kellian_execute_trade_intent",
            "title": "Execute a signed trade intent (protocol submits and pays gas)",
            "description": "Execute a trade the agent authorized by signature. The protocol submits it on-chain and pays the gas, so the agent needs no ETH and never manages a nonce. Sign the `signPayload` from kellian_prepare_trade, then call this. Re-posting the same signed intent is safe — the digest can only execute once.",
            "inputSchema": {
              "$defs": {
                "EvmAddress": {
                  "description": "Checksummed or lowercase 20-byte EVM address (0x + 40 hex).",
                  "pattern": "^0x[a-fA-F0-9]{40}$",
                  "type": "string"
                },
                "WeiString": {
                  "description": "Non-negative integer amount in the token's smallest unit (wei for ETH-family tokens; the play-money token PM uses 6). Always read the decimals from the token or market metadata rather than assuming them. Serialized as a base-10 string to avoid JS number precision loss.",
                  "pattern": "^\\d+$",
                  "type": "string"
                }
              },
              "properties": {
                "chainId": {
                  "exclusiveMinimum": 0,
                  "maximum": 9007199254740991,
                  "type": "integer"
                },
                "idempotencyKey": {
                  "description": "Stable retry key. Reuse only with byte-equivalent tool arguments.",
                  "maxLength": 256,
                  "minLength": 1,
                  "type": "string"
                },
                "intent": {
                  "description": "The signPayload.typedData.message from problee_prepare_trade, unchanged.",
                  "properties": {
                    "amountIn": {
                      "$ref": "#/$defs/WeiString"
                    },
                    "deadline": {
                      "type": "string"
                    },
                    "kind": {
                      "maximum": 1,
                      "minimum": 0,
                      "type": "integer"
                    },
                    "maker": {
                      "$ref": "#/$defs/EvmAddress"
                    },
                    "market": {
                      "$ref": "#/$defs/EvmAddress"
                    },
                    "minAmountOut": {
                      "$ref": "#/$defs/WeiString"
                    },
                    "nonce": {
                      "type": "string"
                    },
                    "side": {
                      "maximum": 2,
                      "minimum": 0,
                      "type": "integer"
                    }
                  },
                  "required": [
                    "maker",
                    "market",
                    "kind",
                    "side",
                    "amountIn",
                    "minAmountOut",
                    "deadline",
                    "nonce"
                  ],
                  "type": "object"
                },
                "signature": {
                  "description": "eth_signTypedData_v4 result over signPayload.typedData.",
                  "type": "string"
                }
              },
              "required": [
                "intent",
                "signature",
                "idempotencyKey"
              ],
              "type": "object"
            },
            "outputSchema": {
              "$defs": {
                "ExecuteIntentResponse": {
                  "additionalProperties": false,
                  "properties": {
                    "alreadyAccepted": {
                      "type": "boolean"
                    },
                    "deadline": {
                      "type": "string"
                    },
                    "digest": {
                      "type": "string"
                    },
                    "state": {
                      "const": "ACCEPTED",
                      "type": "string"
                    }
                  },
                  "required": [
                    "digest",
                    "state",
                    "deadline",
                    "alreadyAccepted"
                  ],
                  "type": "object"
                }
              },
              "additionalProperties": false,
              "properties": {
                "result": {
                  "$ref": "#/$defs/ExecuteIntentResponse"
                }
              },
              "required": [
                "result"
              ],
              "type": "object"
            },
            "annotations": {
              "destructiveHint": false,
              "idempotentHint": false,
              "openWorldHint": true,
              "permission": "api-key-execute",
              "readOnlyHint": false
            }
          },
          {
            "name": "kellian_get_trade_intent",
            "title": "Read the lifecycle of a signed trade intent",
            "description": "Check what happened to a signed trade intent: whether it was accepted, which transaction the protocol broadcast for it, and how it ended. MINED means the trade happened and the position is yours; CONFIRMED means its block is finalized and settlement can no longer be reorganised away. FAILED, EXPIRED and ABANDONED mean nothing was spent — the signed price and deadline are enforced before any gas is committed. Also returns `selfSubmit`: the exact router call for submitting the intent yourself if the protocol relayer is ever unavailable.",
            "inputSchema": {
              "properties": {
                "digest": {
                  "description": "The digest returned by problee_execute_trade_intent.",
                  "type": "string"
                }
              },
              "required": [
                "digest"
              ],
              "type": "object"
            },
            "outputSchema": {
              "$defs": {
                "EvmAddress": {
                  "pattern": "^0x[a-fA-F0-9]{40}$",
                  "type": "string"
                },
                "IntentStatusResponse": {
                  "additionalProperties": false,
                  "properties": {
                    "chainId": {
                      "maximum": 9007199254740991,
                      "minimum": -9007199254740991,
                      "type": "integer"
                    },
                    "createdAt": {
                      "type": "string"
                    },
                    "deadline": {
                      "type": "string"
                    },
                    "digest": {
                      "type": "string"
                    },
                    "failureCode": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "marketAddress": {
                      "$ref": "#/$defs/EvmAddress"
                    },
                    "selfSubmit": {
                      "additionalProperties": false,
                      "properties": {
                        "functionName": {
                          "enum": [
                            "executeTradeIntent",
                            "executeBasketIntent"
                          ],
                          "type": "string"
                        },
                        "intent": {
                          "anyOf": [
                            {
                              "additionalProperties": false,
                              "properties": {
                                "amountIn": {
                                  "$ref": "#/$defs/WeiString"
                                },
                                "deadline": {
                                  "pattern": "^\\d+$",
                                  "type": "string"
                                },
                                "kind": {
                                  "maximum": 1,
                                  "minimum": 0,
                                  "type": "integer"
                                },
                                "maker": {
                                  "$ref": "#/$defs/EvmAddress"
                                },
                                "market": {
                                  "$ref": "#/$defs/EvmAddress"
                                },
                                "minAmountOut": {
                                  "$ref": "#/$defs/WeiString"
                                },
                                "nonce": {
                                  "pattern": "^\\d+$",
                                  "type": "string"
                                },
                                "side": {
                                  "maximum": 2,
                                  "minimum": 0,
                                  "type": "integer"
                                }
                              },
                              "required": [
                                "maker",
                                "market",
                                "kind",
                                "side",
                                "amountIn",
                                "minAmountOut",
                                "deadline",
                                "nonce"
                              ],
                              "type": "object"
                            },
                            {
                              "additionalProperties": false,
                              "properties": {
                                "deadline": {
                                  "pattern": "^\\d+$",
                                  "type": "string"
                                },
                                "legs": {
                                  "items": {
                                    "additionalProperties": false,
                                    "properties": {
                                      "amountIn": {
                                        "$ref": "#/$defs/WeiString"
                                      },
                                      "kind": {
                                        "maximum": 1,
                                        "minimum": 0,
                                        "type": "integer"
                                      },
                                      "market": {
                                        "$ref": "#/$defs/EvmAddress"
                                      },
                                      "minAmountOut": {
                                        "$ref": "#/$defs/WeiString"
                                      },
                                      "side": {
                                        "maximum": 2,
                                        "minimum": 0,
                                        "type": "integer"
                                      }
                                    },
                                    "required": [
                                      "market",
                                      "kind",
                                      "side",
                                      "amountIn",
                                      "minAmountOut"
                                    ],
                                    "type": "object"
                                  },
                                  "type": "array"
                                },
                                "maker": {
                                  "$ref": "#/$defs/EvmAddress"
                                },
                                "nonce": {
                                  "pattern": "^\\d+$",
                                  "type": "string"
                                }
                              },
                              "required": [
                                "maker",
                                "legs",
                                "deadline",
                                "nonce"
                              ],
                              "type": "object"
                            }
                          ]
                        },
                        "routerAddress": {
                          "$ref": "#/$defs/EvmAddress"
                        },
                        "signature": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "routerAddress",
                        "functionName",
                        "intent",
                        "signature"
                      ],
                      "type": "object"
                    },
                    "status": {
                      "enum": [
                        "ACCEPTED",
                        "SUBMITTED",
                        "MINED",
                        "CONFIRMED",
                        "FAILED",
                        "EXPIRED",
                        "ABANDONED"
                      ],
                      "type": "string"
                    },
                    "txHash": {
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "required": [
                    "digest",
                    "status",
                    "chainId",
                    "marketAddress",
                    "txHash",
                    "failureCode",
                    "deadline",
                    "createdAt",
                    "selfSubmit"
                  ],
                  "type": "object"
                },
                "WeiString": {
                  "pattern": "^\\d+$",
                  "type": "string"
                }
              },
              "additionalProperties": false,
              "properties": {
                "result": {
                  "$ref": "#/$defs/IntentStatusResponse"
                }
              },
              "required": [
                "result"
              ],
              "type": "object"
            },
            "annotations": {
              "destructiveHint": false,
              "idempotentHint": true,
              "openWorldHint": true,
              "permission": "api-key-read",
              "readOnlyHint": true
            }
          },
          {
            "name": "kellian_trading_setup_status",
            "title": "Whether this wallet can already trade, and what it still owes",
            "description": "Check whether the agent wallet can already buy and sell. The protocol can only move what the wallet has granted it. If canBuy/canSell is false, grant it once with kellian_trading_setup_permit by signature; the protocol submits it.",
            "inputSchema": {
              "properties": {
                "chainId": {
                  "description": "Compiled protocol release chain ID (Base 8453).",
                  "maximum": 9007199254740991,
                  "minimum": -9007199254740991,
                  "type": "integer"
                },
                "collateralToken": {
                  "description": "Checksummed or lowercase 20-byte EVM address (0x + 40 hex).",
                  "pattern": "^0x[a-fA-F0-9]{40}$",
                  "type": "string"
                }
              },
              "type": "object"
            },
            "outputSchema": {
              "$defs": {
                "EvmAddress": {
                  "pattern": "^0x[a-fA-F0-9]{40}$",
                  "type": "string"
                },
                "TradingSetupStatusResponse": {
                  "additionalProperties": false,
                  "properties": {
                    "bondSpender": {
                      "anyOf": [
                        {
                          "$ref": "#/$defs/EvmAddress"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "canBuy": {
                      "type": "boolean"
                    },
                    "canChallenge": {
                      "type": "boolean"
                    },
                    "canSell": {
                      "type": "boolean"
                    },
                    "chainId": {
                      "maximum": 9007199254740991,
                      "minimum": -9007199254740991,
                      "type": "integer"
                    },
                    "collateralToken": {
                      "$ref": "#/$defs/EvmAddress"
                    },
                    "nativeBalanceWei": {
                      "$ref": "#/$defs/WeiString"
                    },
                    "spender": {
                      "$ref": "#/$defs/EvmAddress"
                    },
                    "supportsPermit": {
                      "type": "boolean"
                    },
                    "walletAddress": {
                      "$ref": "#/$defs/EvmAddress"
                    }
                  },
                  "required": [
                    "walletAddress",
                    "chainId",
                    "collateralToken",
                    "spender",
                    "canBuy",
                    "canSell",
                    "bondSpender",
                    "canChallenge",
                    "supportsPermit",
                    "nativeBalanceWei"
                  ],
                  "type": "object"
                },
                "WeiString": {
                  "pattern": "^\\d+$",
                  "type": "string"
                }
              },
              "additionalProperties": false,
              "properties": {
                "result": {
                  "$ref": "#/$defs/TradingSetupStatusResponse"
                }
              },
              "required": [
                "result"
              ],
              "type": "object"
            },
            "annotations": {
              "destructiveHint": false,
              "idempotentHint": true,
              "openWorldHint": true,
              "permission": "api-key-read",
              "readOnlyHint": true
            }
          },
          {
            "name": "kellian_trading_setup_permit",
            "title": "Relay a signed collateral permit so the agent pays no gas",
            "description": "Grant an allowance by signature. Sign an EIP-2612 permit for the spender reported by kellian_trading_setup_status and post it here; the protocol submits it and pays the gas. purpose \"trading\" approves the router so you can trade. Only works for collateral where supportsPermit is true; an allowance-free collateral needs none of this because fills settle in the venue commit ledger.",
            "inputSchema": {
              "properties": {
                "chainId": {
                  "description": "Compiled protocol release chain ID (Base 8453).",
                  "maximum": 9007199254740991,
                  "minimum": -9007199254740991,
                  "type": "integer"
                },
                "collateralToken": {
                  "description": "Checksummed or lowercase 20-byte EVM address (0x + 40 hex).",
                  "pattern": "^0x[a-fA-F0-9]{40}$",
                  "type": "string"
                },
                "deadline": {
                  "pattern": "^\\d+$",
                  "type": "string"
                },
                "idempotencyKey": {
                  "description": "Stable retry key. Reuse only with byte-equivalent tool arguments.",
                  "maxLength": 256,
                  "minLength": 1,
                  "type": "string"
                },
                "purpose": {
                  "description": "What the allowance is for. \"trading\" lets the release router pull collateral for trades; \"challenge_bond\" lets the resolution escrow pull the bond when you challenge a resolution. You name the purpose, never the spender — the endpoint resolves that from configuration, so a signature can never approve somewhere you did not intend.",
                  "enum": [
                    "trading",
                    "challenge_bond"
                  ],
                  "type": "string"
                },
                "signature": {
                  "pattern": "^0x[0-9a-fA-F]+$",
                  "type": "string"
                },
                "value": {
                  "description": "Non-negative integer amount in the token's smallest unit (wei for ETH-family tokens; the play-money token PM uses 6). Always read the decimals from the token or market metadata rather than assuming them. Serialized as a base-10 string to avoid JS number precision loss.",
                  "pattern": "^\\d+$",
                  "type": "string"
                }
              },
              "required": [
                "collateralToken",
                "value",
                "deadline",
                "signature",
                "idempotencyKey"
              ],
              "type": "object"
            },
            "outputSchema": {
              "$defs": {
                "TradingSetupPermitResponse": {
                  "additionalProperties": false,
                  "properties": {
                    "spender": {
                      "pattern": "^0x[a-fA-F0-9]{40}$",
                      "type": "string"
                    },
                    "txHash": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "txHash",
                    "spender"
                  ],
                  "type": "object"
                }
              },
              "additionalProperties": false,
              "properties": {
                "result": {
                  "$ref": "#/$defs/TradingSetupPermitResponse"
                }
              },
              "required": [
                "result"
              ],
              "type": "object"
            },
            "annotations": {
              "destructiveHint": false,
              "idempotentHint": false,
              "openWorldHint": true,
              "permission": "api-key-execute",
              "readOnlyHint": false
            }
          },
          {
            "name": "kellian_simulate_trade",
            "title": "Dry-run a trade — returns the same quote + feasibility verdict as /trade/prepare but without the signable intent",
            "description": "Dry-run a trade using the same feasibility and quote pipeline as prepare, without returning signable calldata.\n\nExamples: Dry-run the same body used for prepare",
            "inputSchema": {
              "$defs": {
                "EvmAddress": {
                  "description": "Checksummed or lowercase 20-byte EVM address (0x + 40 hex).",
                  "pattern": "^0x[a-fA-F0-9]{40}$",
                  "type": "string"
                },
                "TradeSide": {
                  "anyOf": [
                    {
                      "const": 0,
                      "type": "number"
                    },
                    {
                      "const": 1,
                      "type": "number"
                    },
                    {
                      "const": 2,
                      "type": "number"
                    }
                  ],
                  "description": "0-indexed on-chain trade side used on `/trade/quote` and `/trade/prepare`. Binary markets accept {0,1} (0=outcome 1, 1=outcome 2); ternary markets accept {0,1,2} (0=outcome 1, 1=outcome 2, 2=outcome 3). Contrast with `ResolutionOutcome`, which is the 1-indexed outcome slot on `/resolve/*` — the indices intentionally do not match because trades are placed against on-chain `outcomeId`s starting at 0 while the resolution layer reports the human-facing 1-indexed slot. `side` = which OUTCOME (0-indexed: 0=outcome1,1=outcome2,2=outcome3), NOT buy/sell. Buy/sell is the direction field (`type`/`tradeType`/`action`/`direction`)."
                },
                "WeiString": {
                  "description": "Non-negative integer amount in the token's smallest unit (wei for ETH-family tokens; the play-money token PM uses 6). Always read the decimals from the token or market metadata rather than assuming them. Serialized as a base-10 string to avoid JS number precision loss.",
                  "pattern": "^\\d+$",
                  "type": "string"
                }
              },
              "properties": {
                "amount": {
                  "$ref": "#/$defs/WeiString",
                  "description": "Exact-input size. BUY: collateral spent. SELL: outcome tokens sold. Outcome tokens carry the market collateral's own denomination — one outcome token redeems for one collateral unit — so every outcome-token quantity uses that single unit: positions.outcome1Shares/outcome2Shares/outcome3Shares, SELL amount, 409 available/requested, and outcomeTokensOut/minOutcomeTokensOut. It is also the unit the signed intent carries, so nothing is converted between the wire, the engine and the calldata. Omit when using closePercent or targetCollateralOut."
                },
                "chainId": {
                  "exclusiveMinimum": 0,
                  "maximum": 9007199254740991,
                  "type": "integer"
                },
                "closePercent": {
                  "description": "SELL only. Percent (1–100) of the wallet’s current position in `side` to sell; 100 closes it fully. Server sizes from the live on-chain balance. Mutually exclusive with amount and targetCollateralOut.",
                  "maximum": 100,
                  "minimum": 1,
                  "type": "integer"
                },
                "marketAddress": {
                  "$ref": "#/$defs/EvmAddress"
                },
                "side": {
                  "$ref": "#/$defs/TradeSide",
                  "description": "`side` = which OUTCOME (0-indexed: 0=outcome1,1=outcome2,2=outcome3), NOT buy/sell. Buy/sell is the direction field (`type`/`tradeType`/`action`/`direction`)."
                },
                "slippageBps": {
                  "maximum": 10000,
                  "minimum": 0,
                  "type": "integer"
                },
                "targetCollateralOut": {
                  "$ref": "#/$defs/WeiString",
                  "description": "SELL only. Size the sell so its net proceeds reach ~this much collateral (wei); server sizes from the live balance. Mutually exclusive with amount and closePercent."
                },
                "tradeType": {
                  "description": "Trade DIRECTION (buy/sell). Note: this same concept is named `kind` (0=buy/1=sell int) on /orderbook/* and `side`/`action`/`tradeType`/`type`/`direction` on other trade endpoints — see skill.md field-map.",
                  "enum": [
                    "buy",
                    "sell"
                  ],
                  "type": "string"
                },
                "walletAddress": {
                  "$ref": "#/$defs/EvmAddress",
                  "description": "Wallet that would sign the intent for the trade being simulated."
                }
              },
              "required": [
                "marketAddress",
                "side",
                "tradeType"
              ],
              "type": "object"
            },
            "outputSchema": {
              "$defs": {
                "TradeSimulationResult": {
                  "additionalProperties": false,
                  "properties": {
                    "chainId": {
                      "maximum": 9007199254740991,
                      "minimum": -9007199254740991,
                      "type": "integer"
                    },
                    "feasible": {
                      "const": true,
                      "type": "boolean"
                    },
                    "isTernary": {
                      "type": "boolean"
                    },
                    "marketAddress": {
                      "pattern": "^0x[a-fA-F0-9]{40}$",
                      "type": "string"
                    },
                    "quote": {
                      "additionalProperties": false,
                      "properties": {
                        "collateralOutRaw": {
                          "$ref": "#/$defs/WeiString"
                        },
                        "feeWei": {
                          "$ref": "#/$defs/WeiString"
                        },
                        "minCollateralOutRaw": {
                          "$ref": "#/$defs/WeiString"
                        },
                        "minOutcomeTokensOut": {
                          "$ref": "#/$defs/WeiString"
                        },
                        "outcomeTokensOut": {
                          "$ref": "#/$defs/WeiString"
                        },
                        "quotedAt": {
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "type": "string"
                        },
                        "recommendedRefreshMs": {
                          "exclusiveMinimum": 0,
                          "maximum": 9007199254740991,
                          "type": "integer"
                        },
                        "slippageBps": {
                          "maximum": 9007199254740991,
                          "minimum": 0,
                          "type": "integer"
                        }
                      },
                      "required": [
                        "slippageBps",
                        "quotedAt",
                        "recommendedRefreshMs"
                      ],
                      "type": "object"
                    },
                    "requiresApproval": {
                      "type": "boolean"
                    },
                    "side": {
                      "maximum": 9007199254740991,
                      "minimum": -9007199254740991,
                      "type": "integer"
                    },
                    "tradeType": {
                      "enum": [
                        "buy",
                        "sell"
                      ],
                      "type": "string"
                    }
                  },
                  "required": [
                    "marketAddress",
                    "chainId",
                    "tradeType",
                    "side",
                    "quote",
                    "feasible"
                  ],
                  "type": "object"
                },
                "WeiString": {
                  "pattern": "^\\d+$",
                  "type": "string"
                }
              },
              "additionalProperties": false,
              "properties": {
                "result": {
                  "$ref": "#/$defs/TradeSimulationResult"
                }
              },
              "required": [
                "result"
              ],
              "type": "object"
            },
            "annotations": {
              "destructiveHint": false,
              "idempotentHint": true,
              "openWorldHint": true,
              "permission": "api-key-read",
              "readOnlyHint": true
            }
          },
          {
            "name": "kellian_get_trade_status",
            "title": "Lookup a submitted trade by transaction hash and chain",
            "description": "Look up a submitted trade by transaction hash — the by-tx path for crash recovery. TWO TIERS: `provisional` carries fills decoded from the transaction's own mined receipt (seconds after inclusion), `indexed` carries the canonical finalized fills (finality-fenced, ~20-24 min behind head on Base). Every fill and the envelope itself carry `finality`. `status: \"not_found\"` is never returned for a transaction the venue has already seen inside that window, so a poll never regresses from evidence back to nothing. Act on provisional; settle on finalized.",
            "inputSchema": {
              "properties": {
                "chainId": {
                  "description": "Active chain the transaction was broadcast on. Discover IDs via GET /discover/chains.",
                  "exclusiveMinimum": 0,
                  "maximum": 9007199254740991,
                  "type": "integer"
                },
                "txHash": {
                  "description": "Transaction hash to look up (0x + 64 hex).",
                  "type": "string"
                }
              },
              "required": [
                "txHash",
                "chainId"
              ],
              "type": "object"
            },
            "outputSchema": {
              "$defs": {
                "AgentTradeFill": {
                  "additionalProperties": false,
                  "properties": {
                    "batchNonce": {
                      "anyOf": [
                        {
                          "pattern": "^\\d+$",
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "batchTxHash": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "chainId": {
                      "$ref": "#/$defs/ChainId"
                    },
                    "clOrdId": {
                      "$ref": "#/$defs/OrderbookClOrdId"
                    },
                    "collateralDelta": {
                      "type": "string"
                    },
                    "direction": {
                      "enum": [
                        "buy",
                        "sell",
                        "redeem"
                      ],
                      "type": "string"
                    },
                    "executionStatus": {
                      "const": "executed",
                      "type": "string"
                    },
                    "explorerUrl": {
                      "format": "uri",
                      "type": "string"
                    },
                    "feePaid": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "finality": {
                      "$ref": "#/$defs/TradeFinality"
                    },
                    "id": {
                      "type": "string"
                    },
                    "liquidityRole": {
                      "enum": [
                        "maker",
                        "taker"
                      ],
                      "type": "string"
                    },
                    "logicalTradeKey": {
                      "type": "string"
                    },
                    "marketAddress": {
                      "$ref": "#/$defs/EvmAddress"
                    },
                    "outcomeIndex": {
                      "anyOf": [
                        {
                          "const": 0,
                          "type": "number"
                        },
                        {
                          "const": 1,
                          "type": "number"
                        },
                        {
                          "const": 2,
                          "type": "number"
                        }
                      ]
                    },
                    "priceDecimal": {
                      "type": "string"
                    },
                    "priceE18": {
                      "type": "string"
                    },
                    "priceRaw": {
                      "type": "string"
                    },
                    "priceRawScale": {
                      "enum": [
                        "fixed_1e18",
                        "decimal_0_1"
                      ],
                      "type": "string"
                    },
                    "principalReceipt": {
                      "additionalProperties": false,
                      "properties": {
                        "authority": {
                          "const": "committed_ledger",
                          "type": "string"
                        },
                        "collateralDelta": {
                          "maxLength": 80,
                          "pattern": "^-?\\d+$",
                          "type": "string"
                        },
                        "collateralEntryKey": {
                          "anyOf": [
                            {
                              "maxLength": 512,
                              "minLength": 1,
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "feeEntryKey": {
                          "anyOf": [
                            {
                              "maxLength": 512,
                              "minLength": 1,
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "feePaid": {
                          "maxLength": 78,
                          "pattern": "^\\d+$",
                          "type": "string"
                        },
                        "movementKey": {
                          "maxLength": 512,
                          "minLength": 1,
                          "type": "string"
                        },
                        "shareEntryKey": {
                          "maxLength": 512,
                          "minLength": 1,
                          "type": "string"
                        }
                      },
                      "required": [
                        "authority",
                        "movementKey",
                        "collateralDelta",
                        "feePaid",
                        "shareEntryKey",
                        "collateralEntryKey",
                        "feeEntryKey"
                      ],
                      "type": "object"
                    },
                    "publicationState": {
                      "enum": [
                        "pending",
                        "published",
                        "finalized"
                      ],
                      "type": "string"
                    },
                    "recordedOn": {
                      "$ref": "#/$defs/RecordedOn"
                    },
                    "settlementMode": {
                      "enum": [
                        "committed",
                        "onchain"
                      ],
                      "type": "string"
                    },
                    "settlementState": {
                      "$ref": "#/$defs/FillSettlementState"
                    },
                    "sharesDelta": {
                      "type": "string"
                    },
                    "side": {
                      "type": "string"
                    },
                    "timestamp": {
                      "anyOf": [
                        {
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                          "type": "string"
                        },
                        {
                          "format": "date-time",
                          "type": "string"
                        }
                      ]
                    },
                    "trader": {
                      "$ref": "#/$defs/EvmAddress"
                    },
                    "txHash": {
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "required": [
                    "chainId",
                    "txHash",
                    "id",
                    "marketAddress",
                    "trader",
                    "side",
                    "outcomeIndex",
                    "direction",
                    "sharesDelta",
                    "collateralDelta",
                    "priceRaw",
                    "priceRawScale",
                    "priceDecimal",
                    "priceE18",
                    "timestamp"
                  ],
                  "type": "object"
                },
                "ChainId": {
                  "maximum": 9007199254740991,
                  "minimum": -9007199254740991,
                  "type": "integer"
                },
                "EvmAddress": {
                  "pattern": "^0x[a-fA-F0-9]{40}$",
                  "type": "string"
                },
                "FillSettlementState": {
                  "enum": [
                    "pending",
                    "committed",
                    "finalized"
                  ],
                  "type": "string"
                },
                "OrderbookClOrdId": {
                  "maxLength": 200,
                  "type": "string"
                },
                "RecordedOn": {
                  "additionalProperties": false,
                  "properties": {
                    "addressTransfersUrl": {
                      "format": "uri",
                      "type": "string"
                    },
                    "explorer": {
                      "maxLength": 32,
                      "minLength": 1,
                      "type": "string"
                    },
                    "txUrl": {
                      "format": "uri",
                      "type": "string"
                    },
                    "verifyUrl": {
                      "format": "uri",
                      "type": "string"
                    }
                  },
                  "required": [
                    "explorer"
                  ],
                  "type": "object"
                },
                "TradeFinality": {
                  "enum": [
                    "provisional",
                    "finalized"
                  ],
                  "type": "string"
                },
                "TradeStatusResponse": {
                  "additionalProperties": false,
                  "properties": {
                    "chainId": {
                      "$ref": "#/$defs/ChainId"
                    },
                    "explorerUrl": {
                      "format": "uri",
                      "type": "string"
                    },
                    "finality": {
                      "$ref": "#/$defs/TradeFinality"
                    },
                    "indexed": {
                      "items": {
                        "$ref": "#/$defs/AgentTradeFill"
                      },
                      "type": "array"
                    },
                    "pending": {
                      "anyOf": [
                        {
                          "additionalProperties": false,
                          "properties": {
                            "createdAt": {
                              "maximum": 9007199254740991,
                              "minimum": 0,
                              "type": "integer"
                            },
                            "marketAddress": {
                              "$ref": "#/$defs/EvmAddress"
                            },
                            "side": {
                              "enum": [
                                "outcome1",
                                "outcome2",
                                "outcome3"
                              ],
                              "type": "string"
                            },
                            "status": {
                              "enum": [
                                "broadcasted",
                                "mined"
                              ],
                              "type": "string"
                            },
                            "userAddress": {
                              "$ref": "#/$defs/EvmAddress"
                            }
                          },
                          "required": [
                            "marketAddress",
                            "userAddress",
                            "status",
                            "createdAt"
                          ],
                          "type": "object"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "provisional": {
                      "items": {
                        "$ref": "#/$defs/AgentTradeFill"
                      },
                      "type": "array"
                    },
                    "status": {
                      "enum": [
                        "indexed",
                        "pending",
                        "not_found"
                      ],
                      "type": "string"
                    },
                    "txHash": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "txHash",
                    "chainId",
                    "status",
                    "indexed",
                    "pending"
                  ],
                  "type": "object"
                }
              },
              "additionalProperties": false,
              "properties": {
                "result": {
                  "$ref": "#/$defs/TradeStatusResponse"
                }
              },
              "required": [
                "result"
              ],
              "type": "object"
            },
            "annotations": {
              "destructiveHint": false,
              "idempotentHint": true,
              "openWorldHint": true,
              "permission": "none",
              "readOnlyHint": true
            }
          },
          {
            "name": "kellian_list_trade_fills",
            "title": "List a wallet's trade fills, newest first (keyset cursor). Mined-tier fills lead; read `finality`.",
            "description": "List a wallet's fills for history and P\u0026L. Newest first; keyset cursor on (timestamp,id); one row per match. TWO TIERS, read `finality` on every fill: `provisional` fills are decoded from a mined receipt seconds after inclusion and lead the first page; `finalized` fills are the canonical finality-fenced projection and are the only P\u0026L truth. Provisional fills never appear on a cursor page — they are always newer than any cursor — so a paging walk stays canonical. Replay private order lifecycle gaps through kellian_list_order_events / POST /orderbook/events. ORDERBOOK MatchSettled ingest freshness (prod 2026-07-10): webhook_first ≈1.52s from block time. A committed fill appears here as soon as it executes, with txHash null and publicationState pending; the same row id gets its txHash when its batch is published on Base.",
            "inputSchema": {
              "properties": {
                "chainId": {
                  "description": "Active chain to query. Discover IDs via GET /discover/chains.",
                  "exclusiveMinimum": 0,
                  "maximum": 9007199254740991,
                  "type": "integer"
                },
                "cursor": {
                  "description": "Opaque cursor from a previous response.",
                  "type": "string"
                },
                "limit": {
                  "description": "Page size (1–100, default 50).",
                  "maximum": 100,
                  "minimum": 1,
                  "type": "integer"
                },
                "walletAddress": {
                  "description": "Wallet to list fills for (0x + 40 hex).",
                  "type": "string"
                }
              },
              "required": [
                "walletAddress",
                "chainId"
              ],
              "type": "object"
            },
            "outputSchema": {
              "$defs": {
                "EvmAddress": {
                  "pattern": "^0x[a-fA-F0-9]{40}$",
                  "type": "string"
                },
                "FillSettlementState": {
                  "enum": [
                    "pending",
                    "committed",
                    "finalized"
                  ],
                  "type": "string"
                },
                "OrderbookClOrdId": {
                  "maxLength": 200,
                  "type": "string"
                },
                "RecordedOn": {
                  "additionalProperties": false,
                  "properties": {
                    "addressTransfersUrl": {
                      "format": "uri",
                      "type": "string"
                    },
                    "explorer": {
                      "maxLength": 32,
                      "minLength": 1,
                      "type": "string"
                    },
                    "txUrl": {
                      "format": "uri",
                      "type": "string"
                    },
                    "verifyUrl": {
                      "format": "uri",
                      "type": "string"
                    }
                  },
                  "required": [
                    "explorer"
                  ],
                  "type": "object"
                },
                "TradeFillsResponse": {
                  "additionalProperties": false,
                  "properties": {
                    "fills": {
                      "items": {
                        "additionalProperties": false,
                        "properties": {
                          "batchNonce": {
                            "anyOf": [
                              {
                                "pattern": "^\\d+$",
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "batchTxHash": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "chainId": {
                            "maximum": 9007199254740991,
                            "minimum": -9007199254740991,
                            "type": "integer"
                          },
                          "clOrdId": {
                            "$ref": "#/$defs/OrderbookClOrdId"
                          },
                          "collateralDelta": {
                            "type": "string"
                          },
                          "direction": {
                            "enum": [
                              "buy",
                              "sell",
                              "redeem"
                            ],
                            "type": "string"
                          },
                          "executionStatus": {
                            "const": "executed",
                            "type": "string"
                          },
                          "explorerUrl": {
                            "format": "uri",
                            "type": "string"
                          },
                          "feePaid": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "finality": {
                            "$ref": "#/$defs/TradeFinality"
                          },
                          "id": {
                            "type": "string"
                          },
                          "liquidityRole": {
                            "enum": [
                              "maker",
                              "taker"
                            ],
                            "type": "string"
                          },
                          "logicalTradeKey": {
                            "type": "string"
                          },
                          "marketAddress": {
                            "$ref": "#/$defs/EvmAddress"
                          },
                          "outcomeIndex": {
                            "anyOf": [
                              {
                                "const": 0,
                                "type": "number"
                              },
                              {
                                "const": 1,
                                "type": "number"
                              },
                              {
                                "const": 2,
                                "type": "number"
                              }
                            ]
                          },
                          "priceDecimal": {
                            "type": "string"
                          },
                          "priceE18": {
                            "type": "string"
                          },
                          "priceRaw": {
                            "type": "string"
                          },
                          "priceRawScale": {
                            "enum": [
                              "fixed_1e18",
                              "decimal_0_1"
                            ],
                            "type": "string"
                          },
                          "principalReceipt": {
                            "additionalProperties": false,
                            "properties": {
                              "authority": {
                                "const": "committed_ledger",
                                "type": "string"
                              },
                              "collateralDelta": {
                                "maxLength": 80,
                                "pattern": "^-?\\d+$",
                                "type": "string"
                              },
                              "collateralEntryKey": {
                                "anyOf": [
                                  {
                                    "maxLength": 512,
                                    "minLength": 1,
                                    "type": "string"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "feeEntryKey": {
                                "anyOf": [
                                  {
                                    "maxLength": 512,
                                    "minLength": 1,
                                    "type": "string"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "feePaid": {
                                "maxLength": 78,
                                "pattern": "^\\d+$",
                                "type": "string"
                              },
                              "movementKey": {
                                "maxLength": 512,
                                "minLength": 1,
                                "type": "string"
                              },
                              "shareEntryKey": {
                                "maxLength": 512,
                                "minLength": 1,
                                "type": "string"
                              }
                            },
                            "required": [
                              "authority",
                              "movementKey",
                              "collateralDelta",
                              "feePaid",
                              "shareEntryKey",
                              "collateralEntryKey",
                              "feeEntryKey"
                            ],
                            "type": "object"
                          },
                          "publicationState": {
                            "enum": [
                              "pending",
                              "published",
                              "finalized"
                            ],
                            "type": "string"
                          },
                          "recordedOn": {
                            "$ref": "#/$defs/RecordedOn"
                          },
                          "settlementMode": {
                            "enum": [
                              "committed",
                              "onchain"
                            ],
                            "type": "string"
                          },
                          "settlementState": {
                            "$ref": "#/$defs/FillSettlementState"
                          },
                          "sharesDelta": {
                            "type": "string"
                          },
                          "side": {
                            "type": "string"
                          },
                          "timestamp": {
                            "anyOf": [
                              {
                                "format": "date-time",
                                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                                "type": "string"
                              },
                              {
                                "format": "date-time",
                                "type": "string"
                              }
                            ]
                          },
                          "trader": {
                            "$ref": "#/$defs/EvmAddress"
                          },
                          "txHash": {
                            "type": [
                              "string",
                              "null"
                            ]
                          }
                        },
                        "required": [
                          "chainId",
                          "txHash",
                          "id",
                          "marketAddress",
                          "trader",
                          "side",
                          "outcomeIndex",
                          "direction",
                          "sharesDelta",
                          "collateralDelta",
                          "priceRaw",
                          "priceRawScale",
                          "priceDecimal",
                          "priceE18",
                          "timestamp"
                        ],
                        "type": "object"
                      },
                      "type": "array"
                    },
                    "hasMore": {
                      "type": "boolean"
                    },
                    "nextCursor": {
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "required": [
                    "fills",
                    "nextCursor",
                    "hasMore"
                  ],
                  "type": "object"
                },
                "TradeFinality": {
                  "enum": [
                    "provisional",
                    "finalized"
                  ],
                  "type": "string"
                }
              },
              "additionalProperties": false,
              "properties": {
                "result": {
                  "$ref": "#/$defs/TradeFillsResponse"
                }
              },
              "required": [
                "result"
              ],
              "type": "object"
            },
            "annotations": {
              "destructiveHint": false,
              "idempotentHint": true,
              "openWorldHint": true,
              "permission": "none",
              "readOnlyHint": true
            }
          },
          {
            "name": "kellian_get_positions",
            "title": "List open positions for a wallet (ledger + optional mark-to-market valuation)",
            "description": "Get token positions for a wallet address: share balances + cost-basis ledger (totalSpent/totalReceived in collateral smallest units, per-outcome cost basis, sell-realized P\u0026L). Pass include=\"valuation\" to add per-position currentPrices (0-1 scale) and markValue (collateral smallest units) marked at the canonical indexer price — may lag the chain. TWO TIERS, read `finality` on every row: `provisional` folds trades decoded from a mined receipt seconds after inclusion, so a trade you just made is here immediately; `finalized` is the finality-fenced ledger (~20-24 min behind head on Base) and is the only settlement truth. Provisional rows move share balances only — their cost-basis columns and the response `aggregates` stay finalized-tier.",
            "inputSchema": {
              "properties": {
                "chainId": {
                  "exclusiveMinimum": 0,
                  "maximum": 9007199254740991,
                  "type": "integer"
                },
                "cursor": {
                  "maxLength": 2048,
                  "type": "string"
                },
                "include": {
                  "description": "Set to \"valuation\" to add currentPrices (0-1) and markValue per position.",
                  "enum": [
                    "valuation"
                  ],
                  "type": "string"
                },
                "limit": {
                  "default": 100,
                  "maximum": 100,
                  "minimum": 1,
                  "type": "integer"
                },
                "marketAddress": {
                  "type": "string"
                },
                "walletAddress": {
                  "type": "string"
                }
              },
              "required": [
                "walletAddress"
              ],
              "type": "object"
            },
            "outputSchema": {
              "$defs": {
                "ExactTradingRatio": {
                  "additionalProperties": false,
                  "properties": {
                    "denominator": {
                      "maxLength": 4096,
                      "pattern": "^[1-9][0-9]*$",
                      "type": "string"
                    },
                    "numerator": {
                      "maxLength": 4096,
                      "pattern": "^-?(0|[1-9][0-9]*)$",
                      "type": "string"
                    }
                  },
                  "required": [
                    "numerator",
                    "denominator"
                  ],
                  "type": "object"
                },
                "IndexerReadMetadata": {
                  "additionalProperties": false,
                  "properties": {
                    "degradedReason": {
                      "anyOf": [
                        {
                          "const": "INDEXER_UNHEALTHY",
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "finalizedThroughBlock": {
                      "anyOf": [
                        {
                          "pattern": "^\\d+$",
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "lastCheckedAt": {
                      "anyOf": [
                        {
                          "$ref": "#/$defs/IsoTimestamp"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "minedTierAvailable": {
                      "type": "boolean"
                    },
                    "source": {
                      "const": "indexer",
                      "type": "string"
                    },
                    "status": {
                      "enum": [
                        "ok",
                        "degraded"
                      ],
                      "type": "string"
                    }
                  },
                  "required": [
                    "source",
                    "status",
                    "lastCheckedAt",
                    "degradedReason"
                  ],
                  "type": "object"
                },
                "IsoTimestamp": {
                  "format": "date-time",
                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                  "type": "string"
                },
                "PositionAggregates": {
                  "additionalProperties": false,
                  "properties": {
                    "complete": {
                      "const": true,
                      "type": "boolean"
                    },
                    "monetaryAttributionComplete": {
                      "type": "boolean"
                    },
                    "monetaryByCollateral": {
                      "items": {
                        "additionalProperties": false,
                        "properties": {
                          "basisMethod": {
                            "anyOf": [
                              {
                                "const": "inventory-weighted-average-v1",
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "chainId": {
                            "exclusiveMinimum": 0,
                            "maximum": 9007199254740991,
                            "type": "integer"
                          },
                          "collateralDecimals": {
                            "maximum": 255,
                            "minimum": 0,
                            "type": "integer"
                          },
                          "collateralToken": {
                            "pattern": "^0x[a-fA-F0-9]{40}$",
                            "type": "string"
                          },
                          "positionCount": {
                            "maximum": 9007199254740991,
                            "minimum": 0,
                            "type": "integer"
                          },
                          "realizedPnlBaseUnits": {
                            "type": "null"
                          },
                          "totalReceivedBaseUnits": {
                            "$ref": "#/$defs/SignedWeiString"
                          },
                          "totalSpentBaseUnits": {
                            "$ref": "#/$defs/SignedWeiString"
                          }
                        },
                        "required": [
                          "chainId",
                          "collateralToken",
                          "collateralDecimals",
                          "positionCount",
                          "totalSpentBaseUnits",
                          "totalReceivedBaseUnits",
                          "realizedPnlBaseUnits"
                        ],
                        "type": "object"
                      },
                      "type": "array"
                    },
                    "nominalSharesRaw": {
                      "additionalProperties": false,
                      "properties": {
                        "outcome1": {
                          "$ref": "#/$defs/SignedWeiString"
                        },
                        "outcome2": {
                          "$ref": "#/$defs/SignedWeiString"
                        },
                        "outcome3": {
                          "$ref": "#/$defs/SignedWeiString"
                        },
                        "scope": {
                          "const": "cross_market_nominal",
                          "type": "string"
                        }
                      },
                      "required": [
                        "outcome1",
                        "outcome2",
                        "outcome3",
                        "scope"
                      ],
                      "type": "object"
                    },
                    "source": {
                      "const": "materialized_positions",
                      "type": "string"
                    },
                    "unattributedPositionCount": {
                      "maximum": 9007199254740991,
                      "minimum": 0,
                      "type": "integer"
                    }
                  },
                  "required": [
                    "nominalSharesRaw",
                    "monetaryByCollateral",
                    "unattributedPositionCount",
                    "monetaryAttributionComplete",
                    "complete",
                    "source"
                  ],
                  "type": "object"
                },
                "PositionValuationItem": {
                  "additionalProperties": false,
                  "properties": {
                    "currentPrices": {
                      "anyOf": [
                        {
                          "additionalProperties": false,
                          "properties": {
                            "outcome1": {
                              "anyOf": [
                                {
                                  "maximum": 1,
                                  "minimum": 0,
                                  "type": "number"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "outcome2": {
                              "anyOf": [
                                {
                                  "maximum": 1,
                                  "minimum": 0,
                                  "type": "number"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "outcome3": {
                              "anyOf": [
                                {
                                  "maximum": 1,
                                  "minimum": 0,
                                  "type": "number"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            }
                          },
                          "required": [
                            "outcome1",
                            "outcome2"
                          ],
                          "type": "object"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "markValue": {
                      "anyOf": [
                        {
                          "$ref": "#/$defs/WeiString"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "status": {
                      "enum": [
                        "available",
                        "unavailable",
                        "not_applicable"
                      ],
                      "type": "string"
                    },
                    "updatedAt": {
                      "anyOf": [
                        {
                          "$ref": "#/$defs/IsoTimestamp"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "status",
                    "currentPrices",
                    "markValue",
                    "updatedAt"
                  ],
                  "type": "object"
                },
                "PositionsResponse": {
                  "additionalProperties": false,
                  "properties": {
                    "aggregates": {
                      "$ref": "#/$defs/PositionAggregates"
                    },
                    "hasMore": {
                      "type": "boolean"
                    },
                    "indexer": {
                      "$ref": "#/$defs/IndexerReadMetadata"
                    },
                    "nextCursor": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "pageSize": {
                      "maximum": 9007199254740991,
                      "minimum": 0,
                      "type": "integer"
                    },
                    "positions": {
                      "items": {
                        "additionalProperties": {},
                        "properties": {
                          "basisMethod": {
                            "anyOf": [
                              {
                                "const": "inventory-weighted-average-v1",
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "buySharesOutcome1": {
                            "$ref": "#/$defs/WeiString"
                          },
                          "buySharesOutcome2": {
                            "$ref": "#/$defs/WeiString"
                          },
                          "buySharesOutcome3": {
                            "$ref": "#/$defs/WeiString"
                          },
                          "chainId": {
                            "maximum": 9007199254740991,
                            "minimum": -9007199254740991,
                            "type": "integer"
                          },
                          "costBasisOutcome1": {
                            "$ref": "#/$defs/WeiString"
                          },
                          "costBasisOutcome2": {
                            "$ref": "#/$defs/WeiString"
                          },
                          "costBasisOutcome3": {
                            "$ref": "#/$defs/WeiString"
                          },
                          "createdAt": {
                            "anyOf": [
                              {
                                "format": "date-time",
                                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                                "type": "string"
                              },
                              {
                                "format": "date-time",
                                "type": "string"
                              }
                            ]
                          },
                          "explorerUrl": {
                            "format": "uri",
                            "type": "string"
                          },
                          "finality": {
                            "$ref": "#/$defs/TradeFinality"
                          },
                          "id": {
                            "type": "string"
                          },
                          "marketAddress": {
                            "type": "string"
                          },
                          "marketReference": {
                            "pattern": "^mkt_[\\da-f]{8}-[\\da-f]{4}-[\\da-f]{4}-[\\da-f]{4}-[\\da-f]{12}$",
                            "type": "string"
                          },
                          "outcome1Shares": {
                            "$ref": "#/$defs/WeiString"
                          },
                          "outcome2Shares": {
                            "$ref": "#/$defs/WeiString"
                          },
                          "outcome3Shares": {
                            "$ref": "#/$defs/WeiString"
                          },
                          "outcomes": {
                            "items": {
                              "additionalProperties": false,
                              "properties": {
                                "outcome": {
                                  "type": "string"
                                },
                                "shares": {
                                  "pattern": "^(?:0|[1-9]\\d*)(?:\\.\\d{1,6})?$",
                                  "type": "string"
                                }
                              },
                              "required": [
                                "outcome",
                                "shares"
                              ],
                              "type": "object"
                            },
                            "type": "array"
                          },
                          "realizedPnl": {
                            "anyOf": [
                              {
                                "$ref": "#/$defs/SignedWeiString"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "realizedPnlPm": {
                            "anyOf": [
                              {
                                "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d{1,6})?$",
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "remainingCostBasisOutcome1": {
                            "anyOf": [
                              {
                                "$ref": "#/$defs/WeiString"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "remainingCostBasisOutcome2": {
                            "anyOf": [
                              {
                                "$ref": "#/$defs/WeiString"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "remainingCostBasisOutcome3": {
                            "anyOf": [
                              {
                                "$ref": "#/$defs/WeiString"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "totalReceived": {
                            "$ref": "#/$defs/WeiString"
                          },
                          "totalSpent": {
                            "$ref": "#/$defs/WeiString"
                          },
                          "tradingPerformance": {
                            "anyOf": [
                              {
                                "additionalProperties": false,
                                "properties": {
                                  "basis": {
                                    "anyOf": [
                                      {
                                        "$ref": "#/$defs/ExactTradingRatio"
                                      },
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  },
                                  "completeness": {
                                    "enum": [
                                      "complete",
                                      "incomplete"
                                    ],
                                    "type": "string"
                                  },
                                  "feesWei": {
                                    "anyOf": [
                                      {
                                        "maxLength": 256,
                                        "pattern": "^-?(0|[1-9][0-9]*)$",
                                        "type": "string"
                                      },
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  },
                                  "headlinePrice": {
                                    "anyOf": [
                                      {
                                        "$ref": "#/$defs/ExactTradingRatio"
                                      },
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  },
                                  "markMethod": {
                                    "const": "displayed-market-price-v1",
                                    "type": "string"
                                  },
                                  "measurement": {
                                    "additionalProperties": false,
                                    "properties": {
                                      "asOf": {
                                        "format": "date-time",
                                        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                                        "type": "string"
                                      },
                                      "sourceRevision": {
                                        "type": "string"
                                      }
                                    },
                                    "required": [
                                      "asOf",
                                      "sourceRevision"
                                    ],
                                    "type": "object"
                                  },
                                  "methodVersion": {
                                    "const": "committed-pm-trading-account-v2",
                                    "type": "string"
                                  },
                                  "outcomes": {
                                    "items": {
                                      "additionalProperties": false,
                                      "properties": {
                                        "averagePrice": {
                                          "anyOf": [
                                            {
                                              "$ref": "#/$defs/ExactTradingRatio"
                                            },
                                            {
                                              "type": "null"
                                            }
                                          ]
                                        },
                                        "basis": {
                                          "anyOf": [
                                            {
                                              "$ref": "#/$defs/ExactTradingRatio"
                                            },
                                            {
                                              "type": "null"
                                            }
                                          ]
                                        },
                                        "markPrice": {
                                          "anyOf": [
                                            {
                                              "$ref": "#/$defs/ExactTradingRatio"
                                            },
                                            {
                                              "type": "null"
                                            }
                                          ]
                                        },
                                        "pnl": {
                                          "anyOf": [
                                            {
                                              "$ref": "#/$defs/ExactTradingRatio"
                                            },
                                            {
                                              "type": "null"
                                            }
                                          ]
                                        },
                                        "priceMovement": {
                                          "anyOf": [
                                            {
                                              "$ref": "#/$defs/ExactTradingRatio"
                                            },
                                            {
                                              "type": "null"
                                            }
                                          ]
                                        },
                                        "priceObservedAt": {
                                          "anyOf": [
                                            {
                                              "format": "date-time",
                                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                                              "type": "string"
                                            },
                                            {
                                              "type": "null"
                                            }
                                          ]
                                        },
                                        "priceSource": {
                                          "type": [
                                            "string",
                                            "null"
                                          ]
                                        },
                                        "quantityWei": {
                                          "pattern": "^\\d+$",
                                          "type": "string"
                                        },
                                        "side": {
                                          "maximum": 2,
                                          "minimum": 0,
                                          "type": "integer"
                                        },
                                        "stale": {
                                          "type": "boolean"
                                        },
                                        "state": {
                                          "enum": [
                                            "Open",
                                            "Closed",
                                            "Won",
                                            "Lost",
                                            "Void"
                                          ],
                                          "type": "string"
                                        },
                                        "value": {
                                          "anyOf": [
                                            {
                                              "$ref": "#/$defs/ExactTradingRatio"
                                            },
                                            {
                                              "type": "null"
                                            }
                                          ]
                                        }
                                      },
                                      "required": [
                                        "side",
                                        "quantityWei",
                                        "value",
                                        "basis",
                                        "pnl",
                                        "averagePrice",
                                        "markPrice",
                                        "state",
                                        "priceObservedAt",
                                        "priceSource",
                                        "stale"
                                      ],
                                      "type": "object"
                                    },
                                    "type": "array"
                                  },
                                  "ownershipAligned": {
                                    "type": "boolean"
                                  },
                                  "pnl": {
                                    "anyOf": [
                                      {
                                        "$ref": "#/$defs/ExactTradingRatio"
                                      },
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  },
                                  "realizedPnl": {
                                    "anyOf": [
                                      {
                                        "$ref": "#/$defs/ExactTradingRatio"
                                      },
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  },
                                  "scope": {
                                    "const": "committed_trading_market",
                                    "type": "string"
                                  },
                                  "settlementReceivedWei": {
                                    "anyOf": [
                                      {
                                        "maxLength": 256,
                                        "pattern": "^-?(0|[1-9][0-9]*)$",
                                        "type": "string"
                                      },
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  },
                                  "state": {
                                    "enum": [
                                      "Open",
                                      "Closed",
                                      "Won",
                                      "Lost",
                                      "Void",
                                      "Mixed"
                                    ],
                                    "type": "string"
                                  },
                                  "unavailableReasons": {
                                    "items": {
                                      "type": "string"
                                    },
                                    "type": "array"
                                  },
                                  "unit": {
                                    "additionalProperties": false,
                                    "properties": {
                                      "cashValue": {
                                        "const": false,
                                        "type": "boolean"
                                      },
                                      "decimals": {
                                        "maximum": 9007199254740991,
                                        "minimum": 0,
                                        "type": "integer"
                                      },
                                      "symbol": {
                                        "type": "string"
                                      }
                                    },
                                    "required": [
                                      "symbol",
                                      "decimals",
                                      "cashValue"
                                    ],
                                    "type": "object"
                                  },
                                  "unrealizedPnl": {
                                    "anyOf": [
                                      {
                                        "$ref": "#/$defs/ExactTradingRatio"
                                      },
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  },
                                  "value": {
                                    "anyOf": [
                                      {
                                        "$ref": "#/$defs/ExactTradingRatio"
                                      },
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  },
                                  "volumeWei": {
                                    "anyOf": [
                                      {
                                        "maxLength": 256,
                                        "pattern": "^-?(0|[1-9][0-9]*)$",
                                        "type": "string"
                                      },
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  }
                                },
                                "required": [
                                  "methodVersion",
                                  "markMethod",
                                  "unit",
                                  "scope",
                                  "measurement",
                                  "completeness",
                                  "unavailableReasons",
                                  "value",
                                  "basis",
                                  "pnl",
                                  "realizedPnl",
                                  "unrealizedPnl",
                                  "volumeWei",
                                  "feesWei",
                                  "state",
                                  "outcomes"
                                ],
                                "type": "object"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "updatedAt": {
                            "anyOf": [
                              {
                                "format": "date-time",
                                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                                "type": "string"
                              },
                              {
                                "format": "date-time",
                                "type": "string"
                              }
                            ]
                          },
                          "userId": {
                            "type": "string"
                          },
                          "valuation": {
                            "$ref": "#/$defs/PositionValuationItem"
                          },
                          "valuePm": {
                            "anyOf": [
                              {
                                "pattern": "^(?:0|[1-9]\\d*)(?:\\.\\d{1,6})?$",
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          }
                        },
                        "required": [
                          "marketAddress",
                          "chainId"
                        ],
                        "type": "object"
                      },
                      "type": "array"
                    },
                    "total": {
                      "maximum": 9007199254740991,
                      "minimum": 0,
                      "type": "integer"
                    }
                  },
                  "required": [
                    "positions",
                    "total",
                    "pageSize",
                    "hasMore",
                    "nextCursor",
                    "aggregates"
                  ],
                  "type": "object"
                },
                "SignedWeiString": {
                  "pattern": "^-?\\d+$",
                  "type": "string"
                },
                "TradeFinality": {
                  "enum": [
                    "provisional",
                    "finalized"
                  ],
                  "type": "string"
                },
                "WeiString": {
                  "pattern": "^\\d+$",
                  "type": "string"
                }
              },
              "additionalProperties": false,
              "properties": {
                "result": {
                  "$ref": "#/$defs/PositionsResponse"
                }
              },
              "required": [
                "result"
              ],
              "type": "object"
            },
            "annotations": {
              "destructiveHint": false,
              "idempotentHint": true,
              "openWorldHint": true,
              "permission": "none",
              "readOnlyHint": true
            }
          },
          {
            "name": "kellian_get_balance",
            "title": "Get token balances for a wallet",
            "description": "Get collateral balances for a wallet (PM by default; include=\"all\" returns every active supported collateral on the chain). Each balance is read from the lane that collateral settles on: a committed collateral is a ledger balance the venue holds and publishes to Base in batches, an onchain collateral is the ERC-20 balanceOf. Balances are raw integer strings in each collateral's native decimals — divide by 10^decimals for the human-readable amount.",
            "inputSchema": {
              "properties": {
                "chainId": {
                  "description": "Active chain to query. Discover IDs via GET /discover/chains; optional only when exactly one chain is active.",
                  "exclusiveMinimum": 0,
                  "maximum": 9007199254740991,
                  "type": "integer"
                },
                "include": {
                  "description": "default returns the PM balance only. all returns every active supported collateral on the chain.",
                  "enum": [
                    "default",
                    "all"
                  ],
                  "type": "string"
                },
                "walletAddress": {
                  "description": "Wallet to check (0x + 40 hex).",
                  "type": "string"
                }
              },
              "required": [
                "walletAddress"
              ],
              "type": "object"
            },
            "outputSchema": {
              "$defs": {
                "BalanceResponse": {
                  "items": {
                    "additionalProperties": false,
                    "properties": {
                      "address": {
                        "type": "string"
                      },
                      "balance": {
                        "pattern": "^\\d+$",
                        "type": "string"
                      },
                      "balancePm": {
                        "pattern": "^(?:0|[1-9]\\d*)(?:\\.\\d{1,6})?$",
                        "type": "string"
                      },
                      "decimals": {
                        "maximum": 30,
                        "minimum": 0,
                        "type": "integer"
                      },
                      "error": {
                        "type": "string"
                      },
                      "symbol": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "symbol",
                      "address",
                      "decimals",
                      "balance"
                    ],
                    "type": "object"
                  },
                  "type": "array"
                }
              },
              "additionalProperties": false,
              "properties": {
                "result": {
                  "$ref": "#/$defs/BalanceResponse"
                }
              },
              "required": [
                "result"
              ],
              "type": "object"
            },
            "annotations": {
              "destructiveHint": false,
              "idempotentHint": true,
              "openWorldHint": true,
              "permission": "none",
              "readOnlyHint": true
            }
          },
          {
            "name": "kellian_list_claims",
            "title": "List claimable payouts for the authenticated wallet",
            "description": "List currently on-chain-eligible payout claims for the authenticated agent wallet. Claim submission applies to onchain markets. Committed markets settle automatically at final resolution; GET /claims/receipts reports exact already-credited payouts. Explicit batch requests return SKIPPED/COMMITTED_SETTLED only after a corroborated payout receipt, with claimed:true and amountAvailable:true. Pending or unproven cases return SKIPPED/NOT_CLAIMABLE_YET, claimed:false and amountAvailable:false; their required amount of zero is an unavailable placeholder, not a credited zero result. No transaction is submitted for a committed market.",
            "inputSchema": {
              "$defs": {
                "EvmAddress": {
                  "description": "Checksummed or lowercase 20-byte EVM address (0x + 40 hex).",
                  "pattern": "^0x[a-fA-F0-9]{40}$",
                  "type": "string"
                }
              },
              "properties": {
                "cursor": {
                  "type": "string"
                },
                "limit": {
                  "default": 100,
                  "maximum": 200,
                  "minimum": 1,
                  "type": "integer"
                },
                "walletAddress": {
                  "$ref": "#/$defs/EvmAddress",
                  "description": "Optional wallet assertion; defaults to the API-key bound wallet"
                }
              },
              "type": "object"
            },
            "outputSchema": {
              "$defs": {
                "ChainId": {
                  "maximum": 9007199254740991,
                  "minimum": -9007199254740991,
                  "type": "integer"
                },
                "ClaimAvailableResponse": {
                  "additionalProperties": false,
                  "properties": {
                    "count": {
                      "maximum": 9007199254740991,
                      "minimum": 0,
                      "type": "integer"
                    },
                    "hasMore": {
                      "type": "boolean"
                    },
                    "nextCursor": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "payouts": {
                      "items": {
                        "additionalProperties": false,
                        "properties": {
                          "amount": {
                            "$ref": "#/$defs/WeiString"
                          },
                          "amountSource": {
                            "enum": [
                              "chain",
                              "ledger"
                            ],
                            "type": "string"
                          },
                          "chainId": {
                            "$ref": "#/$defs/ChainId"
                          },
                          "chainReadAt": {
                            "format": "date-time",
                            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                            "type": "string"
                          },
                          "claimed": {
                            "type": "boolean"
                          },
                          "createdAt": {
                            "anyOf": [
                              {
                                "format": "date-time",
                                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                                "type": "string"
                              },
                              {
                                "format": "date-time",
                                "type": "string"
                              }
                            ]
                          },
                          "eligibleAt": {
                            "anyOf": [
                              {
                                "anyOf": [
                                  {
                                    "format": "date-time",
                                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                                    "type": "string"
                                  },
                                  {
                                    "format": "date-time",
                                    "type": "string"
                                  }
                                ]
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "eligibleNow": {
                            "type": "boolean"
                          },
                          "id": {
                            "type": "string"
                          },
                          "isResolved": {
                            "type": "boolean"
                          },
                          "marketAddress": {
                            "$ref": "#/$defs/EvmAddress"
                          },
                          "settlement": {
                            "$ref": "#/$defs/MarketSettlement"
                          },
                          "status": {
                            "enum": [
                              "claimable",
                              "claimed"
                            ],
                            "type": "string"
                          },
                          "winningShares": {
                            "$ref": "#/$defs/WeiString"
                          }
                        },
                        "required": [
                          "id",
                          "chainId",
                          "marketAddress",
                          "amount",
                          "status",
                          "createdAt",
                          "eligibleNow",
                          "eligibleAt",
                          "amountSource",
                          "winningShares",
                          "isResolved",
                          "claimed",
                          "chainReadAt"
                        ],
                        "type": "object"
                      },
                      "type": "array"
                    },
                    "projection": {
                      "additionalProperties": false,
                      "properties": {
                        "checkedAt": {
                          "anyOf": [
                            {
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "cursors": {
                          "items": {
                            "additionalProperties": false,
                            "properties": {
                              "blockNumber": {
                                "anyOf": [
                                  {
                                    "pattern": "^[0-9]+$",
                                    "type": "string"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "chainId": {
                                "$ref": "#/$defs/ChainId"
                              },
                              "healthy": {
                                "type": "boolean"
                              },
                              "lagSeconds": {
                                "anyOf": [
                                  {
                                    "maximum": 9007199254740991,
                                    "minimum": -9007199254740991,
                                    "type": "integer"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              }
                            },
                            "required": [
                              "chainId",
                              "blockNumber",
                              "lagSeconds",
                              "healthy"
                            ],
                            "type": "object"
                          },
                          "type": "array"
                        },
                        "fresh": {
                          "type": "boolean"
                        },
                        "source": {
                          "const": "indexer",
                          "type": "string"
                        }
                      },
                      "required": [
                        "source",
                        "fresh",
                        "checkedAt",
                        "cursors"
                      ],
                      "type": "object"
                    },
                    "totalClaimable": {
                      "$ref": "#/$defs/WeiString"
                    },
                    "totalCount": {
                      "maximum": 9007199254740991,
                      "minimum": 0,
                      "type": "integer"
                    },
                    "totalEligibleNow": {
                      "$ref": "#/$defs/WeiString"
                    },
                    "unattributedPayoutCount": {
                      "maximum": 9007199254740991,
                      "minimum": 0,
                      "type": "integer"
                    },
                    "valueAttributionComplete": {
                      "type": "boolean"
                    },
                    "valueTotals": {
                      "items": {
                        "additionalProperties": false,
                        "properties": {
                          "chainId": {
                            "$ref": "#/$defs/ChainId"
                          },
                          "collateralToken": {
                            "$ref": "#/$defs/EvmAddress"
                          },
                          "decimals": {
                            "maximum": 9007199254740991,
                            "minimum": 0,
                            "type": "integer"
                          },
                          "symbol": {
                            "type": "string"
                          },
                          "totalFormatted": {
                            "type": "string"
                          },
                          "totalWei": {
                            "$ref": "#/$defs/WeiString"
                          }
                        },
                        "required": [
                          "chainId",
                          "collateralToken",
                          "symbol",
                          "decimals",
                          "totalWei",
                          "totalFormatted"
                        ],
                        "type": "object"
                      },
                      "type": "array"
                    },
                    "wallet": {
                      "$ref": "#/$defs/EvmAddress"
                    }
                  },
                  "required": [
                    "wallet",
                    "payouts",
                    "totalClaimable",
                    "totalEligibleNow",
                    "count",
                    "totalCount",
                    "valueTotals",
                    "unattributedPayoutCount",
                    "valueAttributionComplete",
                    "hasMore",
                    "nextCursor",
                    "projection"
                  ],
                  "type": "object"
                },
                "EvmAddress": {
                  "pattern": "^0x[a-fA-F0-9]{40}$",
                  "type": "string"
                },
                "MarketSettlement": {
                  "enum": [
                    "onchain",
                    "committed"
                  ],
                  "type": "string"
                },
                "WeiString": {
                  "pattern": "^\\d+$",
                  "type": "string"
                }
              },
              "additionalProperties": false,
              "properties": {
                "result": {
                  "$ref": "#/$defs/ClaimAvailableResponse"
                }
              },
              "required": [
                "result"
              ],
              "type": "object"
            },
            "annotations": {
              "destructiveHint": false,
              "idempotentHint": true,
              "openWorldHint": true,
              "permission": "api-key-read",
              "readOnlyHint": true
            }
          },
          {
            "name": "kellian_prepare_claims",
            "title": "Settle on-chain claims for specified markets — the protocol submits and pays the gas",
            "description": "Settle claims for the specified markets. There is no calldata to sign or broadcast: the protocol submits each market-local claimPayoutFor transaction itself and pays the gas, since a payout can only ever reach the holder the market names. Each entry in the response is SETTLED (with the transaction hash the protocol sent) or SKIPPED (not yet claimable, with when it will be); claim-all callers continue safely after individual failures. Claim submission applies to onchain markets. Committed markets settle automatically at final resolution; GET /claims/receipts reports exact already-credited payouts. Explicit batch requests return SKIPPED/COMMITTED_SETTLED only after a corroborated payout receipt, with claimed:true and amountAvailable:true. Pending or unproven cases return SKIPPED/NOT_CLAIMABLE_YET, claimed:false and amountAvailable:false; their required amount of zero is an unavailable placeholder, not a credited zero result. No transaction is submitted for a committed market.",
            "inputSchema": {
              "$defs": {
                "EvmAddress": {
                  "description": "Checksummed or lowercase 20-byte EVM address (0x + 40 hex).",
                  "pattern": "^0x[a-fA-F0-9]{40}$",
                  "type": "string"
                }
              },
              "properties": {
                "idempotencyKey": {
                  "description": "Stable retry key. Reuse only with byte-equivalent tool arguments.",
                  "maxLength": 256,
                  "minLength": 1,
                  "type": "string"
                },
                "markets": {
                  "items": {
                    "properties": {
                      "chainId": {
                        "description": "Compiled protocol release chain ID (Base 8453).",
                        "maximum": 9007199254740991,
                        "minimum": -9007199254740991,
                        "type": "integer"
                      },
                      "marketAddress": {
                        "$ref": "#/$defs/EvmAddress"
                      }
                    },
                    "required": [
                      "chainId",
                      "marketAddress"
                    ],
                    "type": "object"
                  },
                  "maxItems": 100,
                  "minItems": 1,
                  "type": "array"
                },
                "proofNonce": {
                  "description": "Required single-use nonce for the wallet proof. Fetch from POST /api/auth/nonce; consumed on verification so the proof cannot be replayed.",
                  "maxLength": 256,
                  "minLength": 1,
                  "type": "string"
                },
                "signatureTimestamp": {
                  "description": "Unix timestamp (seconds) used in the signed challenge message",
                  "exclusiveMinimum": 0,
                  "maximum": 9007199254740991,
                  "type": "integer"
                },
                "walletAddress": {
                  "$ref": "#/$defs/EvmAddress",
                  "description": "Wallet that owns the payout claims"
                },
                "walletSignature": {
                  "description": "Action-bound wallet proof. Sign the canonical 'problee-mcp-auth:…' challenge (binds agent, apiKey, tool, scope, chain, resource, payloadHash, nonce, timestamp).",
                  "minLength": 1,
                  "type": "string"
                }
              },
              "required": [
                "markets",
                "walletAddress",
                "idempotencyKey"
              ],
              "type": "object"
            },
            "outputSchema": {
              "$defs": {
                "ChainId": {
                  "maximum": 9007199254740991,
                  "minimum": -9007199254740991,
                  "type": "integer"
                },
                "ClaimBatchResponse": {
                  "additionalProperties": false,
                  "properties": {
                    "claimable": {
                      "maximum": 9007199254740991,
                      "minimum": 0,
                      "type": "integer"
                    },
                    "claims": {
                      "items": {
                        "additionalProperties": false,
                        "properties": {
                          "amount": {
                            "$ref": "#/$defs/WeiString"
                          },
                          "amountAvailable": {
                            "type": "boolean"
                          },
                          "amountSource": {
                            "enum": [
                              "chain",
                              "ledger"
                            ],
                            "type": "string"
                          },
                          "chainId": {
                            "$ref": "#/$defs/ChainId"
                          },
                          "chainReadAt": {
                            "format": "date-time",
                            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                            "type": "string"
                          },
                          "claimed": {
                            "type": "boolean"
                          },
                          "eligibleAt": {
                            "anyOf": [
                              {
                                "anyOf": [
                                  {
                                    "format": "date-time",
                                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                                    "type": "string"
                                  },
                                  {
                                    "format": "date-time",
                                    "type": "string"
                                  }
                                ]
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "eligibleNow": {
                            "type": "boolean"
                          },
                          "isResolved": {
                            "type": "boolean"
                          },
                          "marketAddress": {
                            "$ref": "#/$defs/EvmAddress"
                          },
                          "settlement": {
                            "$ref": "#/$defs/MarketSettlement"
                          },
                          "skippedReason": {
                            "enum": [
                              "NOT_CLAIMABLE_YET",
                              "COMMITTED_SETTLED",
                              "MARKET_NOT_FOUND",
                              "ROUTER_UNAVAILABLE",
                              "SUBMIT_FAILED"
                            ],
                            "type": "string"
                          },
                          "state": {
                            "enum": [
                              "SETTLED",
                              "SKIPPED"
                            ],
                            "type": "string"
                          },
                          "txHash": {
                            "pattern": "^0x[a-fA-F0-9]{64}$",
                            "type": "string"
                          },
                          "winningShares": {
                            "$ref": "#/$defs/WeiString"
                          }
                        },
                        "required": [
                          "state",
                          "chainId",
                          "marketAddress",
                          "amount",
                          "eligibleNow",
                          "eligibleAt",
                          "amountSource",
                          "winningShares",
                          "isResolved",
                          "claimed",
                          "chainReadAt"
                        ],
                        "type": "object"
                      },
                      "type": "array"
                    },
                    "projection": {
                      "additionalProperties": false,
                      "properties": {
                        "checkedAt": {
                          "anyOf": [
                            {
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "cursors": {
                          "items": {
                            "additionalProperties": false,
                            "properties": {
                              "blockNumber": {
                                "anyOf": [
                                  {
                                    "pattern": "^[0-9]+$",
                                    "type": "string"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "chainId": {
                                "$ref": "#/$defs/ChainId"
                              },
                              "healthy": {
                                "type": "boolean"
                              },
                              "lagSeconds": {
                                "anyOf": [
                                  {
                                    "maximum": 9007199254740991,
                                    "minimum": -9007199254740991,
                                    "type": "integer"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              }
                            },
                            "required": [
                              "chainId",
                              "blockNumber",
                              "lagSeconds",
                              "healthy"
                            ],
                            "type": "object"
                          },
                          "type": "array"
                        },
                        "fresh": {
                          "type": "boolean"
                        },
                        "source": {
                          "const": "indexer",
                          "type": "string"
                        }
                      },
                      "required": [
                        "source",
                        "fresh",
                        "checkedAt",
                        "cursors"
                      ],
                      "type": "object"
                    },
                    "requested": {
                      "maximum": 9007199254740991,
                      "minimum": 0,
                      "type": "integer"
                    },
                    "wallet": {
                      "$ref": "#/$defs/EvmAddress"
                    }
                  },
                  "required": [
                    "requested",
                    "wallet",
                    "claimable",
                    "claims",
                    "projection"
                  ],
                  "type": "object"
                },
                "EvmAddress": {
                  "pattern": "^0x[a-fA-F0-9]{40}$",
                  "type": "string"
                },
                "MarketSettlement": {
                  "enum": [
                    "onchain",
                    "committed"
                  ],
                  "type": "string"
                },
                "WeiString": {
                  "pattern": "^\\d+$",
                  "type": "string"
                }
              },
              "additionalProperties": false,
              "properties": {
                "result": {
                  "$ref": "#/$defs/ClaimBatchResponse"
                }
              },
              "required": [
                "result"
              ],
              "type": "object"
            },
            "annotations": {
              "destructiveHint": false,
              "idempotentHint": false,
              "openWorldHint": true,
              "permission": "api-key-execute",
              "readOnlyHint": false
            }
          },
          {
            "name": "kellian_simulate_claims",
            "title": "Dry-run a batch claim — returns claimable amounts and eligibility per market, submitting nothing",
            "description": "Dry-run specified payout claims and return amounts and eligibility. Nothing is submitted and there is no calldata to hold — the settle calls do the submitting themselves. Claim submission applies to onchain markets. Committed markets settle automatically at final resolution; GET /claims/receipts reports exact already-credited payouts. Explicit batch requests return SKIPPED/COMMITTED_SETTLED only after a corroborated payout receipt, with claimed:true and amountAvailable:true. Pending or unproven cases return SKIPPED/NOT_CLAIMABLE_YET, claimed:false and amountAvailable:false; their required amount of zero is an unavailable placeholder, not a credited zero result. No transaction is submitted for a committed market.",
            "inputSchema": {
              "$defs": {
                "EvmAddress": {
                  "description": "Checksummed or lowercase 20-byte EVM address (0x + 40 hex).",
                  "pattern": "^0x[a-fA-F0-9]{40}$",
                  "type": "string"
                }
              },
              "properties": {
                "markets": {
                  "items": {
                    "properties": {
                      "chainId": {
                        "description": "Compiled protocol release chain ID (Base 8453).",
                        "maximum": 9007199254740991,
                        "minimum": -9007199254740991,
                        "type": "integer"
                      },
                      "marketAddress": {
                        "$ref": "#/$defs/EvmAddress"
                      }
                    },
                    "required": [
                      "chainId",
                      "marketAddress"
                    ],
                    "type": "object"
                  },
                  "maxItems": 100,
                  "minItems": 1,
                  "type": "array"
                },
                "walletAddress": {
                  "$ref": "#/$defs/EvmAddress",
                  "description": "Optional wallet assertion; defaults to the API-key bound wallet"
                }
              },
              "required": [
                "markets"
              ],
              "type": "object"
            },
            "outputSchema": {
              "$defs": {
                "ChainId": {
                  "maximum": 9007199254740991,
                  "minimum": -9007199254740991,
                  "type": "integer"
                },
                "ClaimSimulationResponse": {
                  "additionalProperties": false,
                  "properties": {
                    "claimable": {
                      "maximum": 9007199254740991,
                      "minimum": 0,
                      "type": "integer"
                    },
                    "items": {
                      "items": {
                        "additionalProperties": false,
                        "properties": {
                          "amount": {
                            "$ref": "#/$defs/WeiString"
                          },
                          "amountSource": {
                            "enum": [
                              "chain",
                              "ledger"
                            ],
                            "type": "string"
                          },
                          "chainId": {
                            "$ref": "#/$defs/ChainId"
                          },
                          "chainReadAt": {
                            "format": "date-time",
                            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                            "type": "string"
                          },
                          "claimed": {
                            "type": "boolean"
                          },
                          "eligibleAt": {
                            "anyOf": [
                              {
                                "anyOf": [
                                  {
                                    "format": "date-time",
                                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                                    "type": "string"
                                  },
                                  {
                                    "format": "date-time",
                                    "type": "string"
                                  }
                                ]
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "eligibleNow": {
                            "type": "boolean"
                          },
                          "isResolved": {
                            "type": "boolean"
                          },
                          "marketAddress": {
                            "$ref": "#/$defs/EvmAddress"
                          },
                          "settlement": {
                            "$ref": "#/$defs/MarketSettlement"
                          },
                          "status": {
                            "enum": [
                              "claimable",
                              "claimed"
                            ],
                            "type": "string"
                          },
                          "winningShares": {
                            "$ref": "#/$defs/WeiString"
                          }
                        },
                        "required": [
                          "chainId",
                          "marketAddress",
                          "amount",
                          "status",
                          "eligibleNow",
                          "eligibleAt",
                          "amountSource",
                          "winningShares",
                          "isResolved",
                          "claimed",
                          "chainReadAt"
                        ],
                        "type": "object"
                      },
                      "type": "array"
                    },
                    "projection": {
                      "additionalProperties": false,
                      "properties": {
                        "checkedAt": {
                          "anyOf": [
                            {
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "cursors": {
                          "items": {
                            "additionalProperties": false,
                            "properties": {
                              "blockNumber": {
                                "anyOf": [
                                  {
                                    "pattern": "^[0-9]+$",
                                    "type": "string"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "chainId": {
                                "$ref": "#/$defs/ChainId"
                              },
                              "healthy": {
                                "type": "boolean"
                              },
                              "lagSeconds": {
                                "anyOf": [
                                  {
                                    "maximum": 9007199254740991,
                                    "minimum": -9007199254740991,
                                    "type": "integer"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              }
                            },
                            "required": [
                              "chainId",
                              "blockNumber",
                              "lagSeconds",
                              "healthy"
                            ],
                            "type": "object"
                          },
                          "type": "array"
                        },
                        "fresh": {
                          "type": "boolean"
                        },
                        "source": {
                          "const": "indexer",
                          "type": "string"
                        }
                      },
                      "required": [
                        "source",
                        "fresh",
                        "checkedAt",
                        "cursors"
                      ],
                      "type": "object"
                    },
                    "requested": {
                      "maximum": 9007199254740991,
                      "minimum": 0,
                      "type": "integer"
                    },
                    "totalAmountWei": {
                      "$ref": "#/$defs/WeiString"
                    },
                    "totalEligibleAmountWei": {
                      "$ref": "#/$defs/WeiString"
                    },
                    "wallet": {
                      "$ref": "#/$defs/EvmAddress"
                    }
                  },
                  "required": [
                    "requested",
                    "wallet",
                    "claimable",
                    "totalAmountWei",
                    "totalEligibleAmountWei",
                    "items",
                    "projection"
                  ],
                  "type": "object"
                },
                "EvmAddress": {
                  "pattern": "^0x[a-fA-F0-9]{40}$",
                  "type": "string"
                },
                "MarketSettlement": {
                  "enum": [
                    "onchain",
                    "committed"
                  ],
                  "type": "string"
                },
                "WeiString": {
                  "pattern": "^\\d+$",
                  "type": "string"
                }
              },
              "additionalProperties": false,
              "properties": {
                "result": {
                  "$ref": "#/$defs/ClaimSimulationResponse"
                }
              },
              "required": [
                "result"
              ],
              "type": "object"
            },
            "annotations": {
              "destructiveHint": false,
              "idempotentHint": true,
              "openWorldHint": true,
              "permission": "api-key-read",
              "readOnlyHint": true
            }
          },
          {
            "name": "kellian_sweep_claims",
            "title": "Settle every on-chain claimable market — the protocol submits and pays the gas — defaults to on-chain-eligible only",
            "description": "Settle every claimable market owned by the agent wallet. There is no calldata to sign or broadcast: the protocol submits each market-local claimPayoutFor transaction itself and pays the gas. Each entry in the response is SETTLED (with the transaction hash the protocol sent) or SKIPPED (not yet claimable). Pending finality is not claimable. Claim submission applies to onchain markets. Committed markets settle automatically at final resolution; GET /claims/receipts reports exact already-credited payouts. Explicit batch requests return SKIPPED/COMMITTED_SETTLED only after a corroborated payout receipt, with claimed:true and amountAvailable:true. Pending or unproven cases return SKIPPED/NOT_CLAIMABLE_YET, claimed:false and amountAvailable:false; their required amount of zero is an unavailable placeholder, not a credited zero result. No transaction is submitted for a committed market.",
            "inputSchema": {
              "$defs": {
                "EvmAddress": {
                  "description": "Checksummed or lowercase 20-byte EVM address (0x + 40 hex).",
                  "pattern": "^0x[a-fA-F0-9]{40}$",
                  "type": "string"
                }
              },
              "properties": {
                "cursor": {
                  "type": "string"
                },
                "idempotencyKey": {
                  "description": "Stable retry key. Reuse only with byte-equivalent tool arguments.",
                  "maxLength": 256,
                  "minLength": 1,
                  "type": "string"
                },
                "includeIneligible": {
                  "type": "boolean"
                },
                "limit": {
                  "default": 100,
                  "maximum": 200,
                  "minimum": 1,
                  "type": "integer"
                },
                "proofNonce": {
                  "description": "Required single-use nonce for the wallet proof. Fetch from POST /api/auth/nonce; consumed on verification so the proof cannot be replayed.",
                  "maxLength": 256,
                  "minLength": 1,
                  "type": "string"
                },
                "signatureTimestamp": {
                  "description": "Unix timestamp (seconds) used in the signed challenge message",
                  "exclusiveMinimum": 0,
                  "maximum": 9007199254740991,
                  "type": "integer"
                },
                "walletAddress": {
                  "$ref": "#/$defs/EvmAddress",
                  "description": "Wallet that owns the payout claims"
                },
                "walletSignature": {
                  "description": "Action-bound wallet proof. Sign the canonical 'problee-mcp-auth:…' challenge (binds agent, apiKey, tool, scope, chain, resource, payloadHash, nonce, timestamp).",
                  "minLength": 1,
                  "type": "string"
                }
              },
              "required": [
                "walletAddress",
                "idempotencyKey"
              ],
              "type": "object"
            },
            "outputSchema": {
              "$defs": {
                "ChainId": {
                  "maximum": 9007199254740991,
                  "minimum": -9007199254740991,
                  "type": "integer"
                },
                "ClaimSweepResponse": {
                  "additionalProperties": false,
                  "properties": {
                    "claims": {
                      "items": {
                        "additionalProperties": false,
                        "properties": {
                          "amount": {
                            "$ref": "#/$defs/WeiString"
                          },
                          "amountAvailable": {
                            "type": "boolean"
                          },
                          "amountSource": {
                            "enum": [
                              "chain",
                              "ledger"
                            ],
                            "type": "string"
                          },
                          "chainId": {
                            "$ref": "#/$defs/ChainId"
                          },
                          "chainReadAt": {
                            "format": "date-time",
                            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                            "type": "string"
                          },
                          "claimed": {
                            "type": "boolean"
                          },
                          "eligibleAt": {
                            "anyOf": [
                              {
                                "anyOf": [
                                  {
                                    "format": "date-time",
                                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                                    "type": "string"
                                  },
                                  {
                                    "format": "date-time",
                                    "type": "string"
                                  }
                                ]
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "eligibleNow": {
                            "type": "boolean"
                          },
                          "isResolved": {
                            "type": "boolean"
                          },
                          "marketAddress": {
                            "$ref": "#/$defs/EvmAddress"
                          },
                          "settlement": {
                            "$ref": "#/$defs/MarketSettlement"
                          },
                          "skippedReason": {
                            "enum": [
                              "NOT_CLAIMABLE_YET",
                              "COMMITTED_SETTLED",
                              "MARKET_NOT_FOUND",
                              "ROUTER_UNAVAILABLE",
                              "SUBMIT_FAILED"
                            ],
                            "type": "string"
                          },
                          "state": {
                            "enum": [
                              "SETTLED",
                              "SKIPPED"
                            ],
                            "type": "string"
                          },
                          "txHash": {
                            "pattern": "^0x[a-fA-F0-9]{64}$",
                            "type": "string"
                          },
                          "winningShares": {
                            "$ref": "#/$defs/WeiString"
                          }
                        },
                        "required": [
                          "state",
                          "chainId",
                          "marketAddress",
                          "amount",
                          "eligibleNow",
                          "eligibleAt",
                          "amountSource",
                          "winningShares",
                          "isResolved",
                          "claimed",
                          "chainReadAt"
                        ],
                        "type": "object"
                      },
                      "type": "array"
                    },
                    "excludedIneligibleCount": {
                      "maximum": 9007199254740991,
                      "minimum": 0,
                      "type": "integer"
                    },
                    "hasMore": {
                      "type": "boolean"
                    },
                    "nextCursor": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "projection": {
                      "additionalProperties": false,
                      "properties": {
                        "checkedAt": {
                          "anyOf": [
                            {
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "cursors": {
                          "items": {
                            "additionalProperties": false,
                            "properties": {
                              "blockNumber": {
                                "anyOf": [
                                  {
                                    "pattern": "^[0-9]+$",
                                    "type": "string"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "chainId": {
                                "$ref": "#/$defs/ChainId"
                              },
                              "healthy": {
                                "type": "boolean"
                              },
                              "lagSeconds": {
                                "anyOf": [
                                  {
                                    "maximum": 9007199254740991,
                                    "minimum": -9007199254740991,
                                    "type": "integer"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              }
                            },
                            "required": [
                              "chainId",
                              "blockNumber",
                              "lagSeconds",
                              "healthy"
                            ],
                            "type": "object"
                          },
                          "type": "array"
                        },
                        "fresh": {
                          "type": "boolean"
                        },
                        "source": {
                          "const": "indexer",
                          "type": "string"
                        }
                      },
                      "required": [
                        "source",
                        "fresh",
                        "checkedAt",
                        "cursors"
                      ],
                      "type": "object"
                    },
                    "totalAmount": {
                      "$ref": "#/$defs/WeiString"
                    },
                    "totalClaimable": {
                      "maximum": 9007199254740991,
                      "minimum": 0,
                      "type": "integer"
                    },
                    "totalCount": {
                      "maximum": 9007199254740991,
                      "minimum": 0,
                      "type": "integer"
                    },
                    "totalEligibleAmount": {
                      "$ref": "#/$defs/WeiString"
                    },
                    "unattributedPayoutCount": {
                      "maximum": 9007199254740991,
                      "minimum": 0,
                      "type": "integer"
                    },
                    "valueAttributionComplete": {
                      "type": "boolean"
                    },
                    "valueTotals": {
                      "items": {
                        "additionalProperties": false,
                        "properties": {
                          "chainId": {
                            "$ref": "#/$defs/ChainId"
                          },
                          "collateralToken": {
                            "$ref": "#/$defs/EvmAddress"
                          },
                          "decimals": {
                            "maximum": 9007199254740991,
                            "minimum": 0,
                            "type": "integer"
                          },
                          "symbol": {
                            "type": "string"
                          },
                          "totalFormatted": {
                            "type": "string"
                          },
                          "totalWei": {
                            "$ref": "#/$defs/WeiString"
                          }
                        },
                        "required": [
                          "chainId",
                          "collateralToken",
                          "symbol",
                          "decimals",
                          "totalWei",
                          "totalFormatted"
                        ],
                        "type": "object"
                      },
                      "type": "array"
                    },
                    "wallet": {
                      "$ref": "#/$defs/EvmAddress"
                    }
                  },
                  "required": [
                    "wallet",
                    "totalClaimable",
                    "totalAmount",
                    "totalEligibleAmount",
                    "excludedIneligibleCount",
                    "claims",
                    "totalCount",
                    "valueTotals",
                    "unattributedPayoutCount",
                    "valueAttributionComplete",
                    "hasMore",
                    "nextCursor",
                    "projection"
                  ],
                  "type": "object"
                },
                "EvmAddress": {
                  "pattern": "^0x[a-fA-F0-9]{40}$",
                  "type": "string"
                },
                "MarketSettlement": {
                  "enum": [
                    "onchain",
                    "committed"
                  ],
                  "type": "string"
                },
                "WeiString": {
                  "pattern": "^\\d+$",
                  "type": "string"
                }
              },
              "additionalProperties": false,
              "properties": {
                "result": {
                  "$ref": "#/$defs/ClaimSweepResponse"
                }
              },
              "required": [
                "result"
              ],
              "type": "object"
            },
            "annotations": {
              "destructiveHint": false,
              "idempotentHint": false,
              "openWorldHint": true,
              "permission": "api-key-execute",
              "readOnlyHint": false
            }
          },
          {
            "name": "kellian_get_resolution_status",
            "title": "Get the current resolution status for a market",
            "description": "Get the current resolution status for a market (read-only)",
            "inputSchema": {
              "properties": {
                "chainId": {
                  "description": "Compiled protocol release chain ID (Base 8453).",
                  "maximum": 9007199254740991,
                  "minimum": -9007199254740991,
                  "type": "integer"
                },
                "marketAddress": {
                  "description": "Checksummed or lowercase 20-byte EVM address (0x + 40 hex).",
                  "pattern": "^0x[a-fA-F0-9]{40}$",
                  "type": "string"
                }
              },
              "required": [
                "marketAddress"
              ],
              "type": "object"
            },
            "outputSchema": {
              "$defs": {
                "ResolutionStatus": {
                  "additionalProperties": false,
                  "properties": {
                    "chainId": {
                      "maximum": 9007199254740991,
                      "minimum": -9007199254740991,
                      "type": "integer"
                    },
                    "council": {
                      "anyOf": [
                        {
                          "additionalProperties": false,
                          "properties": {
                            "bindingVerdictOutcome": {
                              "anyOf": [
                                {
                                  "maximum": 9007199254740991,
                                  "minimum": -9007199254740991,
                                  "type": "integer"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "deadline": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "decidedOutcome": {
                              "anyOf": [
                                {
                                  "maximum": 9007199254740991,
                                  "minimum": -9007199254740991,
                                  "type": "integer"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "memberCount": {
                              "maximum": 9007199254740991,
                              "minimum": 0,
                              "type": "integer"
                            },
                            "quorum": {
                              "exclusiveMinimum": 0,
                              "maximum": 9007199254740991,
                              "type": "integer"
                            },
                            "state": {
                              "enum": [
                                "reviewing",
                                "decided"
                              ],
                              "type": "string"
                            },
                            "supermajorityThreshold": {
                              "type": "number"
                            },
                            "totalVotes": {
                              "maximum": 9007199254740991,
                              "minimum": 0,
                              "type": "integer"
                            },
                            "votes": {
                              "items": {
                                "additionalProperties": false,
                                "properties": {
                                  "memberAddress": {
                                    "type": "string"
                                  },
                                  "note": {
                                    "type": [
                                      "string",
                                      "null"
                                    ]
                                  },
                                  "outcomeChosen": {
                                    "maximum": 9007199254740991,
                                    "minimum": -9007199254740991,
                                    "type": "integer"
                                  },
                                  "votedAt": {
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "memberAddress",
                                  "outcomeChosen",
                                  "note",
                                  "votedAt"
                                ],
                                "type": "object"
                              },
                              "type": "array"
                            }
                          },
                          "required": [
                            "state",
                            "deadline",
                            "bindingVerdictOutcome",
                            "decidedOutcome",
                            "quorum",
                            "supermajorityThreshold",
                            "memberCount",
                            "totalVotes",
                            "votes"
                          ],
                          "type": "object"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "currentProposal": {
                      "anyOf": [
                        {
                          "additionalProperties": false,
                          "properties": {
                            "bondAmount": {
                              "type": "string"
                            },
                            "chainId": {
                              "maximum": 9007199254740991,
                              "minimum": -9007199254740991,
                              "type": "integer"
                            },
                            "challengerAddress": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "challengerOutcome": {
                              "anyOf": [
                                {
                                  "anyOf": [
                                    {
                                      "const": 1,
                                      "type": "number"
                                    },
                                    {
                                      "const": 2,
                                      "type": "number"
                                    },
                                    {
                                      "const": 3,
                                      "type": "number"
                                    }
                                  ]
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "confidence": {
                              "type": "number"
                            },
                            "createdAt": {
                              "type": "string"
                            },
                            "creatorEvidence": {
                              "anyOf": [
                                {
                                  "additionalProperties": false,
                                  "properties": {
                                    "attribution": {
                                      "const": "creator_reported",
                                      "type": "string"
                                    },
                                    "evidence": {
                                      "additionalProperties": {
                                        "anyOf": [
                                          {
                                            "type": "null"
                                          },
                                          {
                                            "type": "boolean"
                                          },
                                          {
                                            "type": "number"
                                          },
                                          {
                                            "type": "string"
                                          },
                                          {
                                            "items": {},
                                            "type": "array"
                                          },
                                          {
                                            "additionalProperties": {},
                                            "propertyNames": {
                                              "type": "string"
                                            },
                                            "type": "object"
                                          }
                                        ]
                                      },
                                      "propertyNames": {
                                        "type": "string"
                                      },
                                      "type": "object"
                                    },
                                    "evidenceHash": {
                                      "pattern": "^0x[0-9a-f]{64}$",
                                      "type": "string"
                                    }
                                  },
                                  "required": [
                                    "attribution",
                                    "evidenceHash",
                                    "evidence"
                                  ],
                                  "type": "object"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "currentRound": {
                              "maximum": 9007199254740991,
                              "minimum": -9007199254740991,
                              "type": "integer"
                            },
                            "humanVoteSession": {
                              "anyOf": [
                                {
                                  "additionalProperties": false,
                                  "properties": {
                                    "isOpenVoting": {
                                      "type": "boolean"
                                    },
                                    "quorumReached": {
                                      "type": "boolean"
                                    },
                                    "quorumRequired": {
                                      "exclusiveMinimum": 0,
                                      "maximum": 9007199254740991,
                                      "type": "integer"
                                    },
                                    "state": {
                                      "anyOf": [
                                        {
                                          "const": "open",
                                          "type": "string"
                                        },
                                        {
                                          "const": "verdict",
                                          "type": "string"
                                        }
                                      ]
                                    },
                                    "verdict": {
                                      "anyOf": [
                                        {
                                          "anyOf": [
                                            {
                                              "const": 0,
                                              "type": "number"
                                            },
                                            {
                                              "anyOf": [
                                                {
                                                  "const": 1,
                                                  "type": "number"
                                                },
                                                {
                                                  "const": 2,
                                                  "type": "number"
                                                },
                                                {
                                                  "const": 3,
                                                  "type": "number"
                                                }
                                              ]
                                            }
                                          ]
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    },
                                    "verdictKind": {
                                      "anyOf": [
                                        {
                                          "enum": [
                                            "binding",
                                            "no_quorum",
                                            "deadlock"
                                          ],
                                          "type": "string"
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    },
                                    "voteCount": {
                                      "type": "number"
                                    },
                                    "voteDeadline": {
                                      "format": "date-time",
                                      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                      "type": "string"
                                    }
                                  },
                                  "required": [
                                    "state",
                                    "isOpenVoting",
                                    "quorumRequired",
                                    "voteDeadline",
                                    "quorumReached",
                                    "verdictKind",
                                    "verdict",
                                    "voteCount"
                                  ],
                                  "type": "object"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "id": {
                              "type": "string"
                            },
                            "livenessEndsAt": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "marketAddress": {
                              "type": "string"
                            },
                            "outcomeIndex": {
                              "maximum": 3,
                              "minimum": 0,
                              "type": "integer"
                            },
                            "outcomeLabel": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "proposerAddress": {
                              "type": "string"
                            },
                            "reasoning": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "sourceLayer": {
                              "type": "string"
                            },
                            "state": {
                              "enum": [
                                "pending",
                                "proposed",
                                "creator_resolved",
                                "challenged",
                                "human_voting",
                                "council_reviewing",
                                "council_decided",
                                "liveness_passed",
                                "finalized",
                                "expired"
                              ],
                              "type": "string"
                            }
                          },
                          "required": [
                            "id",
                            "chainId",
                            "marketAddress",
                            "outcomeIndex",
                            "outcomeLabel",
                            "confidence",
                            "reasoning",
                            "sourceLayer",
                            "bondAmount",
                            "state",
                            "currentRound",
                            "proposerAddress",
                            "challengerAddress",
                            "challengerOutcome",
                            "livenessEndsAt",
                            "createdAt",
                            "humanVoteSession"
                          ],
                          "type": "object"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "flow": {
                      "type": "string"
                    },
                    "marketAddress": {
                      "type": "string"
                    },
                    "marketOutcome": {
                      "anyOf": [
                        {
                          "maximum": 9007199254740991,
                          "minimum": -9007199254740991,
                          "type": "integer"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "marketState": {
                      "anyOf": [
                        {
                          "enum": [
                            "open",
                            "closed",
                            "creator_proposal",
                            "challenge",
                            "human_voting",
                            "council_review",
                            "resolved",
                            "void"
                          ],
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "note": {
                      "type": "string"
                    },
                    "pendingOperations": {
                      "default": [],
                      "items": {
                        "additionalProperties": false,
                        "properties": {
                          "expiresAt": {
                            "type": "string"
                          },
                          "kind": {
                            "enum": [
                              "creator_intent",
                              "challenge",
                              "creator_mia",
                              "ballot",
                              "finalize_vote",
                              "settle_binding",
                              "execute_timeout",
                              "council_execute",
                              "integrity_restart",
                              "voter_reward_claim"
                            ],
                            "type": "string"
                          },
                          "observedBlockNumber": {
                            "anyOf": [
                              {
                                "pattern": "^[0-9]+$",
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "onChainProposalId": {
                            "anyOf": [
                              {
                                "pattern": "^0x[a-fA-F0-9]{64}$",
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "onChainSessionId": {
                            "anyOf": [
                              {
                                "pattern": "^0x[a-fA-F0-9]{64}$",
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "operationId": {
                            "minLength": 1,
                            "type": "string"
                          },
                          "outcomeIndex": {
                            "anyOf": [
                              {
                                "anyOf": [
                                  {
                                    "const": 0,
                                    "type": "number"
                                  },
                                  {
                                    "anyOf": [
                                      {
                                        "const": 1,
                                        "type": "number"
                                      },
                                      {
                                        "const": 2,
                                        "type": "number"
                                      },
                                      {
                                        "const": 3,
                                        "type": "number"
                                      }
                                    ]
                                  }
                                ]
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "receiptStatus": {
                            "enum": [
                              "broadcast",
                              "mined"
                            ],
                            "type": "string"
                          },
                          "state": {
                            "const": "SUBMITTED",
                            "type": "string"
                          },
                          "submittedAt": {
                            "type": "string"
                          },
                          "txHash": {
                            "pattern": "^0x[a-fA-F0-9]{64}$",
                            "type": "string"
                          }
                        },
                        "required": [
                          "operationId",
                          "kind",
                          "state",
                          "txHash",
                          "observedBlockNumber",
                          "receiptStatus",
                          "onChainProposalId",
                          "onChainSessionId",
                          "outcomeIndex",
                          "submittedAt",
                          "expiresAt"
                        ],
                        "type": "object"
                      },
                      "type": "array"
                    }
                  },
                  "required": [
                    "marketAddress",
                    "chainId",
                    "marketOutcome",
                    "marketState",
                    "currentProposal",
                    "pendingOperations",
                    "council",
                    "flow",
                    "note"
                  ],
                  "type": "object"
                }
              },
              "additionalProperties": false,
              "properties": {
                "result": {
                  "$ref": "#/$defs/ResolutionStatus"
                }
              },
              "required": [
                "result"
              ],
              "type": "object"
            },
            "annotations": {
              "destructiveHint": false,
              "idempotentHint": true,
              "openWorldHint": true,
              "permission": "api-key-read",
              "readOnlyHint": true
            }
          },
          {
            "name": "kellian_get_claim_status",
            "title": "Get claim status for a resolved market",
            "description": "Get claim status for a resolved market",
            "inputSchema": {
              "properties": {
                "chainId": {
                  "description": "Compiled protocol release chain ID (Base 8453).",
                  "maximum": 9007199254740991,
                  "minimum": -9007199254740991,
                  "type": "integer"
                },
                "marketAddress": {
                  "description": "Checksummed or lowercase 20-byte EVM address (0x + 40 hex).",
                  "pattern": "^0x[a-fA-F0-9]{40}$",
                  "type": "string"
                }
              },
              "required": [
                "marketAddress"
              ],
              "type": "object"
            },
            "outputSchema": {
              "$defs": {
                "ClaimStatus": {
                  "additionalProperties": false,
                  "properties": {
                    "claimAvailable": {
                      "type": "boolean"
                    },
                    "market": {
                      "additionalProperties": false,
                      "properties": {
                        "address": {
                          "type": "string"
                        },
                        "marketState": {
                          "enum": [
                            "open",
                            "closed",
                            "creator_proposal",
                            "challenge",
                            "human_voting",
                            "council_review",
                            "resolved",
                            "void"
                          ],
                          "type": "string"
                        },
                        "outcome": {
                          "anyOf": [
                            {
                              "maximum": 9007199254740991,
                              "minimum": -9007199254740991,
                              "type": "integer"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        }
                      },
                      "required": [
                        "address",
                        "outcome",
                        "marketState"
                      ],
                      "type": "object"
                    },
                    "note": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "market",
                    "claimAvailable",
                    "note"
                  ],
                  "type": "object"
                }
              },
              "additionalProperties": false,
              "properties": {
                "result": {
                  "$ref": "#/$defs/ClaimStatus"
                }
              },
              "required": [
                "result"
              ],
              "type": "object"
            },
            "annotations": {
              "destructiveHint": false,
              "idempotentHint": true,
              "openWorldHint": true,
              "permission": "api-key-read",
              "readOnlyHint": true
            }
          },
          {
            "name": "kellian_get_proposal",
            "title": "Get the current resolution proposal for a market",
            "description": "Get the current resolution proposal for a market",
            "inputSchema": {
              "properties": {
                "chainId": {
                  "description": "Compiled protocol release chain ID (Base 8453).",
                  "maximum": 9007199254740991,
                  "minimum": -9007199254740991,
                  "type": "integer"
                },
                "marketAddress": {
                  "description": "Checksummed or lowercase 20-byte EVM address (0x + 40 hex).",
                  "pattern": "^0x[a-fA-F0-9]{40}$",
                  "type": "string"
                }
              },
              "required": [
                "marketAddress"
              ],
              "type": "object"
            },
            "outputSchema": {
              "additionalProperties": false,
              "properties": {
                "result": {
                  "anyOf": [
                    {
                      "additionalProperties": false,
                      "properties": {
                        "bondAmount": {
                          "type": "string"
                        },
                        "chainId": {
                          "maximum": 9007199254740991,
                          "minimum": -9007199254740991,
                          "type": "integer"
                        },
                        "challengerAddress": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "challengerOutcome": {
                          "anyOf": [
                            {
                              "anyOf": [
                                {
                                  "const": 1,
                                  "type": "number"
                                },
                                {
                                  "const": 2,
                                  "type": "number"
                                },
                                {
                                  "const": 3,
                                  "type": "number"
                                }
                              ]
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "confidence": {
                          "type": "number"
                        },
                        "createdAt": {
                          "type": "string"
                        },
                        "creatorEvidence": {
                          "anyOf": [
                            {
                              "additionalProperties": false,
                              "properties": {
                                "attribution": {
                                  "const": "creator_reported",
                                  "type": "string"
                                },
                                "evidence": {
                                  "additionalProperties": {
                                    "anyOf": [
                                      {
                                        "type": "null"
                                      },
                                      {
                                        "type": "boolean"
                                      },
                                      {
                                        "type": "number"
                                      },
                                      {
                                        "type": "string"
                                      },
                                      {
                                        "items": {},
                                        "type": "array"
                                      },
                                      {
                                        "additionalProperties": {},
                                        "propertyNames": {
                                          "type": "string"
                                        },
                                        "type": "object"
                                      }
                                    ]
                                  },
                                  "propertyNames": {
                                    "type": "string"
                                  },
                                  "type": "object"
                                },
                                "evidenceHash": {
                                  "pattern": "^0x[0-9a-f]{64}$",
                                  "type": "string"
                                }
                              },
                              "required": [
                                "attribution",
                                "evidenceHash",
                                "evidence"
                              ],
                              "type": "object"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "currentRound": {
                          "maximum": 9007199254740991,
                          "minimum": -9007199254740991,
                          "type": "integer"
                        },
                        "humanVoteSession": {
                          "anyOf": [
                            {
                              "additionalProperties": false,
                              "properties": {
                                "isOpenVoting": {
                                  "type": "boolean"
                                },
                                "quorumReached": {
                                  "type": "boolean"
                                },
                                "quorumRequired": {
                                  "exclusiveMinimum": 0,
                                  "maximum": 9007199254740991,
                                  "type": "integer"
                                },
                                "state": {
                                  "anyOf": [
                                    {
                                      "const": "open",
                                      "type": "string"
                                    },
                                    {
                                      "const": "verdict",
                                      "type": "string"
                                    }
                                  ]
                                },
                                "verdict": {
                                  "anyOf": [
                                    {
                                      "anyOf": [
                                        {
                                          "const": 0,
                                          "type": "number"
                                        },
                                        {
                                          "anyOf": [
                                            {
                                              "const": 1,
                                              "type": "number"
                                            },
                                            {
                                              "const": 2,
                                              "type": "number"
                                            },
                                            {
                                              "const": 3,
                                              "type": "number"
                                            }
                                          ]
                                        }
                                      ]
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "verdictKind": {
                                  "anyOf": [
                                    {
                                      "enum": [
                                        "binding",
                                        "no_quorum",
                                        "deadlock"
                                      ],
                                      "type": "string"
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "voteCount": {
                                  "type": "number"
                                },
                                "voteDeadline": {
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                  "type": "string"
                                }
                              },
                              "required": [
                                "state",
                                "isOpenVoting",
                                "quorumRequired",
                                "voteDeadline",
                                "quorumReached",
                                "verdictKind",
                                "verdict",
                                "voteCount"
                              ],
                              "type": "object"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "id": {
                          "type": "string"
                        },
                        "livenessEndsAt": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "marketAddress": {
                          "type": "string"
                        },
                        "outcomeIndex": {
                          "maximum": 3,
                          "minimum": 0,
                          "type": "integer"
                        },
                        "outcomeLabel": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "proposerAddress": {
                          "type": "string"
                        },
                        "reasoning": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "sourceLayer": {
                          "type": "string"
                        },
                        "state": {
                          "enum": [
                            "pending",
                            "proposed",
                            "creator_resolved",
                            "challenged",
                            "human_voting",
                            "council_reviewing",
                            "council_decided",
                            "liveness_passed",
                            "finalized",
                            "expired"
                          ],
                          "type": "string"
                        }
                      },
                      "required": [
                        "id",
                        "chainId",
                        "marketAddress",
                        "outcomeIndex",
                        "outcomeLabel",
                        "confidence",
                        "reasoning",
                        "sourceLayer",
                        "bondAmount",
                        "state",
                        "currentRound",
                        "proposerAddress",
                        "challengerAddress",
                        "challengerOutcome",
                        "livenessEndsAt",
                        "createdAt",
                        "humanVoteSession"
                      ],
                      "type": "object"
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "result"
              ],
              "type": "object"
            },
            "annotations": {
              "destructiveHint": false,
              "idempotentHint": true,
              "openWorldHint": true,
              "permission": "api-key-read",
              "readOnlyHint": true
            }
          },
          {
            "name": "kellian_get_transaction_status",
            "title": "Recover chain-authoritative status for an agent-submitted transaction",
            "description": "Recover the chain-authoritative lifecycle of a wallet-submitted transaction after a timeout, disconnect, or agent restart. The response includes a durable status URL and minimal receipt proof. Missing or incomplete receipts remain SUBMITTED; successful mined receipts become CONFIRMED and reverted mined receipts become FAILED. Economic finality remains indexer-authoritative.\n\nExamples: Receipt-confirmed transaction",
            "inputSchema": {
              "properties": {
                "chainId": {
                  "description": "Compiled protocol release chain ID (Base 8453).",
                  "maximum": 9007199254740991,
                  "minimum": -9007199254740991,
                  "type": "integer"
                },
                "hash": {
                  "pattern": "^0x[a-fA-F0-9]{64}$",
                  "type": "string"
                },
                "idempotencyKey": {
                  "maxLength": 200,
                  "minLength": 1,
                  "type": "string"
                },
                "operationId": {
                  "maxLength": 200,
                  "minLength": 1,
                  "type": "string"
                },
                "submittedAt": {
                  "format": "date-time",
                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                  "type": "string"
                }
              },
              "required": [
                "hash"
              ],
              "type": "object"
            },
            "outputSchema": {
              "$defs": {
                "ProtocolTransactionStatusResponse": {
                  "oneOf": [
                    {
                      "additionalProperties": false,
                      "properties": {
                        "chainId": {
                          "exclusiveMinimum": 0,
                          "maximum": 9007199254740991,
                          "type": "integer"
                        },
                        "idempotencyKey": {
                          "maxLength": 200,
                          "minLength": 1,
                          "type": "string"
                        },
                        "operationId": {
                          "maxLength": 200,
                          "minLength": 1,
                          "type": "string"
                        },
                        "receipt": {
                          "type": "null"
                        },
                        "state": {
                          "const": "SUBMITTED",
                          "type": "string"
                        },
                        "statusUrl": {
                          "maxLength": 2000,
                          "pattern": "^\\/.*",
                          "type": "string"
                        },
                        "submittedAt": {
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                          "type": "string"
                        },
                        "txHash": {
                          "pattern": "^0x[a-fA-F0-9]{64}$",
                          "type": "string"
                        }
                      },
                      "required": [
                        "operationId",
                        "idempotencyKey",
                        "state",
                        "chainId",
                        "txHash",
                        "submittedAt",
                        "statusUrl",
                        "receipt"
                      ],
                      "type": "object"
                    },
                    {
                      "additionalProperties": false,
                      "properties": {
                        "blockNumber": {
                          "pattern": "^[0-9]+$",
                          "type": "string"
                        },
                        "chainId": {
                          "exclusiveMinimum": 0,
                          "maximum": 9007199254740991,
                          "type": "integer"
                        },
                        "confirmedAt": {
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                          "type": "string"
                        },
                        "idempotencyKey": {
                          "maxLength": 200,
                          "minLength": 1,
                          "type": "string"
                        },
                        "operationId": {
                          "maxLength": 200,
                          "minLength": 1,
                          "type": "string"
                        },
                        "receipt": {
                          "additionalProperties": false,
                          "properties": {
                            "blockHash": {
                              "pattern": "^0x[a-fA-F0-9]{64}$",
                              "type": "string"
                            },
                            "blockNumber": {
                              "pattern": "^[0-9]+$",
                              "type": "string"
                            },
                            "status": {
                              "const": "success",
                              "type": "string"
                            },
                            "transactionIndex": {
                              "pattern": "^[0-9]+$",
                              "type": "string"
                            }
                          },
                          "required": [
                            "status",
                            "blockNumber",
                            "blockHash",
                            "transactionIndex"
                          ],
                          "type": "object"
                        },
                        "state": {
                          "const": "CONFIRMED",
                          "type": "string"
                        },
                        "statusUrl": {
                          "maxLength": 2000,
                          "pattern": "^\\/.*",
                          "type": "string"
                        },
                        "txHash": {
                          "pattern": "^0x[a-fA-F0-9]{64}$",
                          "type": "string"
                        }
                      },
                      "required": [
                        "operationId",
                        "idempotencyKey",
                        "state",
                        "chainId",
                        "txHash",
                        "blockNumber",
                        "confirmedAt",
                        "statusUrl",
                        "receipt"
                      ],
                      "type": "object"
                    },
                    {
                      "additionalProperties": false,
                      "properties": {
                        "chainId": {
                          "maximum": 9007199254740991,
                          "minimum": -9007199254740991,
                          "type": "integer"
                        },
                        "code": {
                          "maxLength": 100,
                          "minLength": 1,
                          "type": "string"
                        },
                        "detail": {
                          "maxLength": 1000,
                          "minLength": 1,
                          "type": "string"
                        },
                        "failedAt": {
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                          "type": "string"
                        },
                        "idempotencyKey": {
                          "maxLength": 200,
                          "minLength": 1,
                          "type": "string"
                        },
                        "operationId": {
                          "maxLength": 200,
                          "minLength": 1,
                          "type": "string"
                        },
                        "receipt": {
                          "additionalProperties": false,
                          "properties": {
                            "blockHash": {
                              "pattern": "^0x[a-fA-F0-9]{64}$",
                              "type": "string"
                            },
                            "blockNumber": {
                              "pattern": "^[0-9]+$",
                              "type": "string"
                            },
                            "status": {
                              "const": "reverted",
                              "type": "string"
                            },
                            "transactionIndex": {
                              "pattern": "^[0-9]+$",
                              "type": "string"
                            }
                          },
                          "required": [
                            "status",
                            "blockNumber",
                            "blockHash",
                            "transactionIndex"
                          ],
                          "type": "object"
                        },
                        "retryable": {
                          "type": "boolean"
                        },
                        "state": {
                          "const": "FAILED",
                          "type": "string"
                        },
                        "statusUrl": {
                          "maxLength": 2000,
                          "pattern": "^\\/.*",
                          "type": "string"
                        },
                        "txHash": {
                          "pattern": "^0x[a-fA-F0-9]{64}$",
                          "type": "string"
                        }
                      },
                      "required": [
                        "operationId",
                        "idempotencyKey",
                        "state",
                        "chainId",
                        "txHash",
                        "code",
                        "detail",
                        "retryable",
                        "failedAt",
                        "statusUrl",
                        "receipt"
                      ],
                      "type": "object"
                    }
                  ]
                }
              },
              "additionalProperties": false,
              "properties": {
                "result": {
                  "$ref": "#/$defs/ProtocolTransactionStatusResponse"
                }
              },
              "required": [
                "result"
              ],
              "type": "object"
            },
            "annotations": {
              "destructiveHint": false,
              "idempotentHint": true,
              "openWorldHint": true,
              "permission": "api-key-read",
              "readOnlyHint": true
            }
          },
          {
            "name": "kellian_list_event_types",
            "title": "List all protocol event types",
            "description": "List every protocol WebSocket event type, its description, and its webhook equivalent (if bridged). Full connection details live in kellian_discover_events.",
            "inputSchema": {
              "properties": {},
              "type": "object"
            },
            "outputSchema": {
              "$defs": {
                "EventsTypesResponse": {
                  "additionalProperties": false,
                  "properties": {
                    "activeConnections": {
                      "maximum": 9007199254740991,
                      "minimum": 0,
                      "type": "integer"
                    },
                    "discoveryEndpoint": {
                      "const": "/api/agent/v1/events/discovery",
                      "type": "string"
                    },
                    "types": {
                      "items": {
                        "additionalProperties": false,
                        "properties": {
                          "description": {
                            "type": "string"
                          },
                          "transports": {
                            "additionalProperties": false,
                            "properties": {
                              "webSocket": {
                                "const": true,
                                "type": "boolean"
                              },
                              "webhook": {
                                "anyOf": [
                                  {
                                    "enum": [
                                      "market.resolution_due",
                                      "market.resolved",
                                      "trade.executed",
                                      "trade.intent.created",
                                      "trade.submitted",
                                      "trade.indexed",
                                      "trade.failed",
                                      "execution.report",
                                      "market.live",
                                      "market.cancelled",
                                      "market.challengeWindowOpened",
                                      "market.voteOpened",
                                      "market.voteClosed",
                                      "market.disputed",
                                      "market.disputeFinalized",
                                      "market.councilReview",
                                      "alert.fired"
                                    ],
                                    "type": "string",
                                    "x-extensible-enum": true
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              }
                            },
                            "required": [
                              "webSocket",
                              "webhook"
                            ],
                            "type": "object"
                          },
                          "type": {
                            "enum": [
                              "market.created",
                              "market.live",
                              "market.resolution_due",
                              "market.challengeWindowOpened",
                              "market.resolved",
                              "market.cancelled",
                              "market.controlsChanged",
                              "market.disputed",
                              "market.disputeFinalized",
                              "market.voteOpened",
                              "market.voteClosed",
                              "market.councilReview",
                              "negotiation.countered",
                              "negotiation.accepted",
                              "negotiation.rejected",
                              "negotiation.expired"
                            ],
                            "type": "string"
                          }
                        },
                        "required": [
                          "type",
                          "description",
                          "transports"
                        ],
                        "type": "object"
                      },
                      "type": "array"
                    }
                  },
                  "required": [
                    "types",
                    "activeConnections",
                    "discoveryEndpoint"
                  ],
                  "type": "object"
                }
              },
              "additionalProperties": false,
              "properties": {
                "result": {
                  "$ref": "#/$defs/EventsTypesResponse"
                }
              },
              "required": [
                "result"
              ],
              "type": "object"
            },
            "annotations": {
              "destructiveHint": false,
              "idempotentHint": true,
              "openWorldHint": true,
              "permission": "none",
              "readOnlyHint": true
            }
          },
          {
            "name": "kellian_discover_events",
            "title": "Describe the WebSocket transport (URL, auth, message shapes, reconnect protocol) and the WS↔webhook taxonomy bridge",
            "description": "Describe the Agent WebSocket transport (URL, auth schemes, message shapes, reconnect/replay protocol), the WS↔webhook taxonomy bridge, wallet-scoped auto-delivered channels (execution.report), and webhooks as the async fallback.",
            "inputSchema": {
              "properties": {},
              "type": "object"
            },
            "outputSchema": {
              "$defs": {
                "EventsDiscoveryResponse": {
                  "additionalProperties": false,
                  "properties": {
                    "alternatives": {
                      "additionalProperties": false,
                      "properties": {
                        "polling": {
                          "additionalProperties": false,
                          "properties": {
                            "note": {
                              "type": "string"
                            },
                            "supported": {
                              "const": false,
                              "type": "boolean"
                            }
                          },
                          "required": [
                            "supported",
                            "note"
                          ],
                          "type": "object"
                        },
                        "webhooks": {
                          "additionalProperties": false,
                          "properties": {
                            "discoveryEndpoint": {
                              "const": "/api/agent/v1/webhooks/discovery",
                              "type": "string"
                            },
                            "eventsEndpoint": {
                              "const": "/api/agent/v1/webhooks/events",
                              "type": "string"
                            },
                            "note": {
                              "type": "string"
                            },
                            "role": {
                              "const": "async-fallback",
                              "type": "string"
                            }
                          },
                          "required": [
                            "role",
                            "discoveryEndpoint",
                            "eventsEndpoint",
                            "note"
                          ],
                          "type": "object"
                        }
                      },
                      "required": [
                        "webhooks",
                        "polling"
                      ],
                      "type": "object"
                    },
                    "taxonomy": {
                      "items": {
                        "additionalProperties": false,
                        "properties": {
                          "semantic": {
                            "type": "string"
                          },
                          "webSocketEvent": {
                            "enum": [
                              "market.created",
                              "market.live",
                              "market.resolution_due",
                              "market.challengeWindowOpened",
                              "market.resolved",
                              "market.cancelled",
                              "market.controlsChanged",
                              "market.disputed",
                              "market.disputeFinalized",
                              "market.voteOpened",
                              "market.voteClosed",
                              "market.councilReview",
                              "negotiation.countered",
                              "negotiation.accepted",
                              "negotiation.rejected",
                              "negotiation.expired"
                            ],
                            "type": "string"
                          },
                          "webhookEvent": {
                            "anyOf": [
                              {
                                "enum": [
                                  "market.resolution_due",
                                  "market.resolved",
                                  "trade.executed",
                                  "trade.intent.created",
                                  "trade.submitted",
                                  "trade.indexed",
                                  "trade.failed",
                                  "execution.report",
                                  "market.live",
                                  "market.cancelled",
                                  "market.challengeWindowOpened",
                                  "market.voteOpened",
                                  "market.voteClosed",
                                  "market.disputed",
                                  "market.disputeFinalized",
                                  "market.councilReview",
                                  "alert.fired"
                                ],
                                "type": "string",
                                "x-extensible-enum": true
                              },
                              {
                                "type": "null"
                              }
                            ]
                          }
                        },
                        "required": [
                          "webSocketEvent",
                          "webhookEvent",
                          "semantic"
                        ],
                        "type": "object"
                      },
                      "type": "array"
                    },
                    "walletScopedChannels": {
                      "items": {
                        "additionalProperties": false,
                        "properties": {
                          "channel": {
                            "type": "string"
                          },
                          "delivery": {
                            "const": "at-most-once",
                            "type": "string"
                          },
                          "description": {
                            "type": "string"
                          },
                          "events": {
                            "items": {
                              "$ref": "#/$defs/ExecutionReportEventName"
                            },
                            "type": "array"
                          },
                          "payload": {
                            "additionalProperties": false,
                            "properties": {
                              "chainId": {
                                "maximum": 9007199254740991,
                                "minimum": -9007199254740991,
                                "type": "integer"
                              },
                              "clOrdId": {
                                "$ref": "#/$defs/OrderbookClOrdId"
                              },
                              "counterpartyOrderHash": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "cumulativeFilled": {
                                "type": "string"
                              },
                              "event": {
                                "$ref": "#/$defs/ExecutionReportEventName"
                              },
                              "eventId": {
                                "format": "uuid",
                                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                "type": "string"
                              },
                              "feePaid": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "fillAmount": {
                                "type": "string"
                              },
                              "finality": {
                                "enum": [
                                  "offchain",
                                  "provisional",
                                  "finalized",
                                  "orphaned"
                                ],
                                "type": "string"
                              },
                              "kind": {
                                "anyOf": [
                                  {
                                    "maximum": 1,
                                    "minimum": 0,
                                    "type": "integer"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "liquidityRole": {
                                "anyOf": [
                                  {
                                    "enum": [
                                      "maker",
                                      "taker"
                                    ],
                                    "type": "string"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "marketAddress": {
                                "type": "string"
                              },
                              "occurredAt": {
                                "format": "date-time",
                                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                                "type": "string"
                              },
                              "orderHash": {
                                "type": "string"
                              },
                              "orderStatus": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "price": {
                                "type": "string"
                              },
                              "priceBasis": {
                                "anyOf": [
                                  {
                                    "enum": [
                                      "order_side",
                                      "outcome1"
                                    ],
                                    "type": "string"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "priceBps": {
                                "anyOf": [
                                  {
                                    "pattern": "^\\d+$",
                                    "type": "string"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "priceDecimal": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "reason": {
                                "type": "string"
                              },
                              "remaining": {
                                "type": "string"
                              },
                              "reservationId": {
                                "anyOf": [
                                  {
                                    "format": "uuid",
                                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                    "type": "string"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "schemaVersion": {
                                "const": "problee.orderbook.order-event.v1",
                                "type": "string"
                              },
                              "seq": {
                                "maximum": 9007199254740991,
                                "minimum": -9007199254740991,
                                "type": "integer"
                              },
                              "sequence": {
                                "pattern": "^\\d+$",
                                "type": "string"
                              },
                              "settlementLogIndex": {
                                "anyOf": [
                                  {
                                    "maximum": 9007199254740991,
                                    "minimum": -9007199254740991,
                                    "type": "integer"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "side": {
                                "anyOf": [
                                  {
                                    "const": 0,
                                    "type": "number"
                                  },
                                  {
                                    "const": 1,
                                    "type": "number"
                                  }
                                ]
                              },
                              "transactionHash": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "walletAddress": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "chainId",
                              "marketAddress",
                              "walletAddress",
                              "orderHash",
                              "event"
                            ],
                            "type": "object"
                          },
                          "reconcile": {
                            "additionalProperties": false,
                            "properties": {
                              "auth": {
                                "const": "wallet-bound-agent",
                                "type": "string"
                              },
                              "cursor": {
                                "const": "afterSequence",
                                "type": "string"
                              },
                              "endpoint": {
                                "const": "/api/agent/v1/orderbook/events",
                                "type": "string"
                              },
                              "mcpTool": {
                                "const": "problee_list_order_events",
                                "type": "string"
                              },
                              "method": {
                                "const": "POST",
                                "type": "string"
                              },
                              "note": {
                                "type": "string"
                              },
                              "ordering": {
                                "const": "sequence-ascending",
                                "type": "string"
                              }
                            },
                            "required": [
                              "endpoint",
                              "method",
                              "auth",
                              "mcpTool",
                              "cursor",
                              "ordering",
                              "note"
                            ],
                            "type": "object"
                          },
                          "scope": {
                            "const": "wallet",
                            "type": "string"
                          },
                          "transports": {
                            "items": {
                              "enum": [
                                "agent-websocket",
                                "sse"
                              ],
                              "type": "string"
                            },
                            "type": "array"
                          }
                        },
                        "required": [
                          "channel",
                          "description",
                          "transports",
                          "delivery",
                          "scope",
                          "events",
                          "reconcile",
                          "payload"
                        ],
                        "type": "object"
                      },
                      "type": "array"
                    },
                    "webSocket": {
                      "additionalProperties": false,
                      "properties": {
                        "auth": {
                          "additionalProperties": false,
                          "properties": {
                            "bearer": {
                              "additionalProperties": false,
                              "properties": {
                                "format": {
                                  "const": "Bearer \u003capi-key\u003e",
                                  "type": "string"
                                },
                                "header": {
                                  "const": "Authorization",
                                  "type": "string"
                                }
                              },
                              "required": [
                                "header",
                                "format"
                              ],
                              "type": "object"
                            },
                            "note": {
                              "type": "string"
                            },
                            "schemes": {
                              "items": {
                                "enum": [
                                  "bearer",
                                  "x-api-key"
                                ],
                                "type": "string"
                              },
                              "type": "array"
                            },
                            "xApiKey": {
                              "additionalProperties": false,
                              "properties": {
                                "format": {
                                  "const": "\u003capi-key\u003e",
                                  "type": "string"
                                },
                                "header": {
                                  "const": "x-api-key",
                                  "type": "string"
                                }
                              },
                              "required": [
                                "header",
                                "format"
                              ],
                              "type": "object"
                            }
                          },
                          "required": [
                            "schemes",
                            "bearer",
                            "xApiKey",
                            "note"
                          ],
                          "type": "object"
                        },
                        "clientMessages": {
                          "items": {
                            "additionalProperties": false,
                            "properties": {
                              "action": {
                                "enum": [
                                  "subscribe",
                                  "unsubscribe",
                                  "ping"
                                ],
                                "type": "string"
                              },
                              "note": {
                                "type": "string"
                              },
                              "shape": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "action",
                              "shape"
                            ],
                            "type": "object"
                          },
                          "type": "array"
                        },
                        "heartbeat": {
                          "additionalProperties": false,
                          "properties": {
                            "intervalSeconds": {
                              "exclusiveMinimum": 0,
                              "maximum": 9007199254740991,
                              "type": "integer"
                            },
                            "mechanism": {
                              "const": "ws-ping",
                              "type": "string"
                            },
                            "missedPongDisconnectAfter": {
                              "exclusiveMinimum": 0,
                              "maximum": 9007199254740991,
                              "type": "integer"
                            }
                          },
                          "required": [
                            "mechanism",
                            "intervalSeconds",
                            "missedPongDisconnectAfter"
                          ],
                          "type": "object"
                        },
                        "protocol": {
                          "const": "json",
                          "type": "string"
                        },
                        "reconnect": {
                          "additionalProperties": false,
                          "properties": {
                            "bufferSize": {
                              "exclusiveMinimum": 0,
                              "maximum": 9007199254740991,
                              "type": "integer"
                            },
                            "lastEventIdQueryParam": {
                              "const": "lastEventId",
                              "type": "string"
                            },
                            "note": {
                              "type": "string"
                            },
                            "perInstanceBuffer": {
                              "const": true,
                              "type": "boolean"
                            }
                          },
                          "required": [
                            "lastEventIdQueryParam",
                            "bufferSize",
                            "perInstanceBuffer",
                            "note"
                          ],
                          "type": "object"
                        },
                        "serverMessages": {
                          "items": {
                            "additionalProperties": false,
                            "properties": {
                              "note": {
                                "type": "string"
                              },
                              "shape": {
                                "type": "string"
                              },
                              "type": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "type",
                              "shape"
                            ],
                            "type": "object"
                          },
                          "type": "array"
                        },
                        "url": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "url",
                        "auth",
                        "protocol",
                        "clientMessages",
                        "serverMessages",
                        "reconnect",
                        "heartbeat"
                      ],
                      "type": "object"
                    },
                    "webhooks": {
                      "additionalProperties": false,
                      "properties": {
                        "discoveryEndpoint": {
                          "const": "/api/agent/v1/webhooks/discovery",
                          "type": "string"
                        },
                        "eventsEndpoint": {
                          "const": "/api/agent/v1/webhooks/events",
                          "type": "string"
                        }
                      },
                      "required": [
                        "discoveryEndpoint",
                        "eventsEndpoint"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "webSocket",
                    "taxonomy",
                    "walletScopedChannels",
                    "webhooks",
                    "alternatives"
                  ],
                  "type": "object"
                },
                "ExecutionReportEventName": {
                  "enum": [
                    "accepted",
                    "reserved",
                    "submitted",
                    "mined",
                    "fill",
                    "partial",
                    "cancelled",
                    "expired",
                    "rejected",
                    "released",
                    "bust",
                    "quarantined",
                    "restored",
                    "suspended",
                    "reversed"
                  ],
                  "type": "string"
                },
                "OrderbookClOrdId": {
                  "maxLength": 200,
                  "type": "string"
                }
              },
              "additionalProperties": false,
              "properties": {
                "result": {
                  "$ref": "#/$defs/EventsDiscoveryResponse"
                }
              },
              "required": [
                "result"
              ],
              "type": "object"
            },
            "annotations": {
              "destructiveHint": false,
              "idempotentHint": true,
              "openWorldHint": true,
              "permission": "none",
              "readOnlyHint": true
            }
          },
          {
            "name": "kellian_list_webhooks",
            "title": "List webhook delivery targets owned by the authenticated agent",
            "description": "List webhook delivery targets owned by the authenticated agent, with delivery health diagnostics for each.",
            "inputSchema": {
              "properties": {},
              "type": "object"
            },
            "outputSchema": {
              "$defs": {
                "ListWebhooksResponse": {
                  "additionalProperties": false,
                  "properties": {
                    "webhooks": {
                      "items": {
                        "additionalProperties": false,
                        "properties": {
                          "createdAt": {
                            "anyOf": [
                              {
                                "format": "date-time",
                                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                                "type": "string"
                              },
                              {
                                "format": "date-time",
                                "type": "string"
                              }
                            ]
                          },
                          "deliveryDiagnostics": {
                            "additionalProperties": false,
                            "properties": {
                              "deadLetterCount": {
                                "maximum": 9007199254740991,
                                "minimum": 0,
                                "type": "integer"
                              },
                              "exhaustedDeadLetterCount": {
                                "maximum": 9007199254740991,
                                "minimum": 0,
                                "type": "integer"
                              },
                              "failureCount": {
                                "maximum": 9007199254740991,
                                "minimum": 0,
                                "type": "integer"
                              },
                              "lastFailure": {
                                "anyOf": [
                                  {
                                    "additionalProperties": false,
                                    "properties": {
                                      "attempts": {
                                        "maximum": 9007199254740991,
                                        "minimum": 0,
                                        "type": "integer"
                                      },
                                      "error": {
                                        "type": "string"
                                      },
                                      "maxAttempts": {
                                        "maximum": 9007199254740991,
                                        "minimum": 0,
                                        "type": "integer"
                                      },
                                      "nextRetryAt": {
                                        "anyOf": [
                                          {
                                            "anyOf": [
                                              {
                                                "format": "date-time",
                                                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                                                "type": "string"
                                              },
                                              {
                                                "format": "date-time",
                                                "type": "string"
                                              }
                                            ]
                                          },
                                          {
                                            "type": "null"
                                          }
                                        ]
                                      },
                                      "status": {
                                        "type": "string"
                                      },
                                      "updatedAt": {
                                        "anyOf": [
                                          {
                                            "format": "date-time",
                                            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                                            "type": "string"
                                          },
                                          {
                                            "format": "date-time",
                                            "type": "string"
                                          }
                                        ]
                                      }
                                    },
                                    "required": [
                                      "status",
                                      "error",
                                      "attempts",
                                      "maxAttempts",
                                      "nextRetryAt",
                                      "updatedAt"
                                    ],
                                    "type": "object"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "lastSuccessAt": {
                                "anyOf": [
                                  {
                                    "anyOf": [
                                      {
                                        "format": "date-time",
                                        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                                        "type": "string"
                                      },
                                      {
                                        "format": "date-time",
                                        "type": "string"
                                      }
                                    ]
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "maxFailuresBeforeDisable": {
                                "exclusiveMinimum": 0,
                                "maximum": 9007199254740991,
                                "type": "integer"
                              },
                              "nextRetryAt": {
                                "anyOf": [
                                  {
                                    "anyOf": [
                                      {
                                        "format": "date-time",
                                        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                                        "type": "string"
                                      },
                                      {
                                        "format": "date-time",
                                        "type": "string"
                                      }
                                    ]
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "pendingDeliveryCount": {
                                "maximum": 9007199254740991,
                                "minimum": 0,
                                "type": "integer"
                              },
                              "pendingRetryCount": {
                                "maximum": 9007199254740991,
                                "minimum": 0,
                                "type": "integer"
                              },
                              "status": {
                                "enum": [
                                  "idle",
                                  "pending",
                                  "retrying",
                                  "dead_lettered",
                                  "delivered",
                                  "disabled"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "status",
                              "lastSuccessAt",
                              "failureCount",
                              "pendingDeliveryCount",
                              "pendingRetryCount",
                              "deadLetterCount",
                              "exhaustedDeadLetterCount",
                              "nextRetryAt",
                              "lastFailure",
                              "maxFailuresBeforeDisable"
                            ],
                            "type": "object"
                          },
                          "enabled": {
                            "type": "boolean"
                          },
                          "events": {
                            "items": {
                              "enum": [
                                "market.resolution_due",
                                "market.resolved",
                                "trade.executed",
                                "trade.intent.created",
                                "trade.submitted",
                                "trade.indexed",
                                "trade.failed",
                                "execution.report",
                                "market.live",
                                "market.cancelled",
                                "market.challengeWindowOpened",
                                "market.voteOpened",
                                "market.voteClosed",
                                "market.disputed",
                                "market.disputeFinalized",
                                "market.councilReview",
                                "alert.fired"
                              ],
                              "type": "string",
                              "x-extensible-enum": true
                            },
                            "type": "array"
                          },
                          "failureCount": {
                            "maximum": 9007199254740991,
                            "minimum": 0,
                            "type": "integer"
                          },
                          "id": {
                            "type": "string"
                          },
                          "lastDelivery": {
                            "anyOf": [
                              {
                                "anyOf": [
                                  {
                                    "format": "date-time",
                                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                                    "type": "string"
                                  },
                                  {
                                    "format": "date-time",
                                    "type": "string"
                                  }
                                ]
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "url": {
                            "format": "uri",
                            "type": "string"
                          },
                          "verifiedAt": {
                            "anyOf": [
                              {
                                "anyOf": [
                                  {
                                    "format": "date-time",
                                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                                    "type": "string"
                                  },
                                  {
                                    "format": "date-time",
                                    "type": "string"
                                  }
                                ]
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "walletFilters": {
                            "items": {
                              "pattern": "^0x[a-fA-F0-9]{40}$",
                              "type": "string"
                            },
                            "type": "array"
                          }
                        },
                        "required": [
                          "id",
                          "url",
                          "events",
                          "walletFilters",
                          "enabled",
                          "verifiedAt",
                          "failureCount",
                          "lastDelivery",
                          "deliveryDiagnostics",
                          "createdAt"
                        ],
                        "type": "object"
                      },
                      "type": "array"
                    }
                  },
                  "required": [
                    "webhooks"
                  ],
                  "type": "object"
                }
              },
              "additionalProperties": false,
              "properties": {
                "result": {
                  "$ref": "#/$defs/ListWebhooksResponse"
                }
              },
              "required": [
                "result"
              ],
              "type": "object"
            },
            "annotations": {
              "destructiveHint": false,
              "idempotentHint": true,
              "openWorldHint": true,
              "permission": "api-key-read",
              "readOnlyHint": true
            }
          },
          {
            "name": "kellian_get_webhook",
            "title": "Fetch a single webhook delivery target by id",
            "description": "Fetch a single webhook delivery target by id, with delivery health diagnostics.",
            "inputSchema": {
              "properties": {
                "id": {
                  "description": "Webhook id, from problee_list_webhooks.",
                  "format": "uuid",
                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                  "type": "string"
                }
              },
              "required": [
                "id"
              ],
              "type": "object"
            },
            "outputSchema": {
              "$defs": {
                "GetWebhookResponse": {
                  "additionalProperties": false,
                  "properties": {
                    "createdAt": {
                      "anyOf": [
                        {
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                          "type": "string"
                        },
                        {
                          "format": "date-time",
                          "type": "string"
                        }
                      ]
                    },
                    "deliveryDiagnostics": {
                      "additionalProperties": false,
                      "properties": {
                        "deadLetterCount": {
                          "maximum": 9007199254740991,
                          "minimum": 0,
                          "type": "integer"
                        },
                        "exhaustedDeadLetterCount": {
                          "maximum": 9007199254740991,
                          "minimum": 0,
                          "type": "integer"
                        },
                        "failureCount": {
                          "maximum": 9007199254740991,
                          "minimum": 0,
                          "type": "integer"
                        },
                        "lastFailure": {
                          "anyOf": [
                            {
                              "additionalProperties": false,
                              "properties": {
                                "attempts": {
                                  "maximum": 9007199254740991,
                                  "minimum": 0,
                                  "type": "integer"
                                },
                                "error": {
                                  "type": "string"
                                },
                                "maxAttempts": {
                                  "maximum": 9007199254740991,
                                  "minimum": 0,
                                  "type": "integer"
                                },
                                "nextRetryAt": {
                                  "anyOf": [
                                    {
                                      "anyOf": [
                                        {
                                          "format": "date-time",
                                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                                          "type": "string"
                                        },
                                        {
                                          "format": "date-time",
                                          "type": "string"
                                        }
                                      ]
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "status": {
                                  "type": "string"
                                },
                                "updatedAt": {
                                  "anyOf": [
                                    {
                                      "format": "date-time",
                                      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                                      "type": "string"
                                    },
                                    {
                                      "format": "date-time",
                                      "type": "string"
                                    }
                                  ]
                                }
                              },
                              "required": [
                                "status",
                                "error",
                                "attempts",
                                "maxAttempts",
                                "nextRetryAt",
                                "updatedAt"
                              ],
                              "type": "object"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "lastSuccessAt": {
                          "anyOf": [
                            {
                              "anyOf": [
                                {
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                                  "type": "string"
                                },
                                {
                                  "format": "date-time",
                                  "type": "string"
                                }
                              ]
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "maxFailuresBeforeDisable": {
                          "exclusiveMinimum": 0,
                          "maximum": 9007199254740991,
                          "type": "integer"
                        },
                        "nextRetryAt": {
                          "anyOf": [
                            {
                              "anyOf": [
                                {
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                                  "type": "string"
                                },
                                {
                                  "format": "date-time",
                                  "type": "string"
                                }
                              ]
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "pendingDeliveryCount": {
                          "maximum": 9007199254740991,
                          "minimum": 0,
                          "type": "integer"
                        },
                        "pendingRetryCount": {
                          "maximum": 9007199254740991,
                          "minimum": 0,
                          "type": "integer"
                        },
                        "status": {
                          "enum": [
                            "idle",
                            "pending",
                            "retrying",
                            "dead_lettered",
                            "delivered",
                            "disabled"
                          ],
                          "type": "string"
                        }
                      },
                      "required": [
                        "status",
                        "lastSuccessAt",
                        "failureCount",
                        "pendingDeliveryCount",
                        "pendingRetryCount",
                        "deadLetterCount",
                        "exhaustedDeadLetterCount",
                        "nextRetryAt",
                        "lastFailure",
                        "maxFailuresBeforeDisable"
                      ],
                      "type": "object"
                    },
                    "enabled": {
                      "type": "boolean"
                    },
                    "events": {
                      "items": {
                        "enum": [
                          "market.resolution_due",
                          "market.resolved",
                          "trade.executed",
                          "trade.intent.created",
                          "trade.submitted",
                          "trade.indexed",
                          "trade.failed",
                          "execution.report",
                          "market.live",
                          "market.cancelled",
                          "market.challengeWindowOpened",
                          "market.voteOpened",
                          "market.voteClosed",
                          "market.disputed",
                          "market.disputeFinalized",
                          "market.councilReview",
                          "alert.fired"
                        ],
                        "type": "string",
                        "x-extensible-enum": true
                      },
                      "type": "array"
                    },
                    "failureCount": {
                      "maximum": 9007199254740991,
                      "minimum": 0,
                      "type": "integer"
                    },
                    "id": {
                      "type": "string"
                    },
                    "lastDelivery": {
                      "anyOf": [
                        {
                          "anyOf": [
                            {
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                              "type": "string"
                            },
                            {
                              "format": "date-time",
                              "type": "string"
                            }
                          ]
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "url": {
                      "format": "uri",
                      "type": "string"
                    },
                    "verifiedAt": {
                      "anyOf": [
                        {
                          "anyOf": [
                            {
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                              "type": "string"
                            },
                            {
                              "format": "date-time",
                              "type": "string"
                            }
                          ]
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "walletFilters": {
                      "items": {
                        "pattern": "^0x[a-fA-F0-9]{40}$",
                        "type": "string"
                      },
                      "type": "array"
                    }
                  },
                  "required": [
                    "id",
                    "url",
                    "events",
                    "walletFilters",
                    "enabled",
                    "verifiedAt",
                    "failureCount",
                    "lastDelivery",
                    "deliveryDiagnostics",
                    "createdAt"
                  ],
                  "type": "object"
                }
              },
              "additionalProperties": false,
              "properties": {
                "result": {
                  "$ref": "#/$defs/GetWebhookResponse"
                }
              },
              "required": [
                "result"
              ],
              "type": "object"
            },
            "annotations": {
              "destructiveHint": false,
              "idempotentHint": true,
              "openWorldHint": true,
              "permission": "api-key-read",
              "readOnlyHint": true
            }
          },
          {
            "name": "kellian_list_webhook_event_types",
            "title": "List the event types agents can subscribe to, with payload hints",
            "description": "List the event types agents can subscribe a webhook to, with payload shape hints, the walletFilters matching field, and the source realtime/WebSocket event each is bridged from.",
            "inputSchema": {
              "properties": {},
              "type": "object"
            },
            "outputSchema": {
              "$defs": {
                "WebhookEventCatalogResponse": {
                  "additionalProperties": false,
                  "properties": {
                    "events": {
                      "items": {
                        "additionalProperties": false,
                        "properties": {
                          "bridgedFromWebSocket": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "description": {
                            "type": "string"
                          },
                          "name": {
                            "enum": [
                              "market.resolution_due",
                              "market.resolved",
                              "trade.executed",
                              "trade.intent.created",
                              "trade.submitted",
                              "trade.indexed",
                              "trade.failed",
                              "execution.report",
                              "market.live",
                              "market.cancelled",
                              "market.challengeWindowOpened",
                              "market.voteOpened",
                              "market.voteClosed",
                              "market.disputed",
                              "market.disputeFinalized",
                              "market.councilReview",
                              "alert.fired"
                            ],
                            "type": "string",
                            "x-extensible-enum": true
                          },
                          "payloadShape": {
                            "type": "string"
                          },
                          "sourceRealtimeEvent": {
                            "type": "string"
                          },
                          "walletFilterField": {
                            "anyOf": [
                              {
                                "enum": [
                                  "trader",
                                  "walletAddress"
                                ],
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          }
                        },
                        "required": [
                          "name",
                          "description",
                          "payloadShape",
                          "walletFilterField",
                          "sourceRealtimeEvent",
                          "bridgedFromWebSocket"
                        ],
                        "type": "object"
                      },
                      "type": "array"
                    }
                  },
                  "required": [
                    "events"
                  ],
                  "type": "object"
                }
              },
              "additionalProperties": false,
              "properties": {
                "result": {
                  "$ref": "#/$defs/WebhookEventCatalogResponse"
                }
              },
              "required": [
                "result"
              ],
              "type": "object"
            },
            "annotations": {
              "destructiveHint": false,
              "idempotentHint": true,
              "openWorldHint": true,
              "permission": "none",
              "readOnlyHint": true
            }
          },
          {
            "name": "kellian_discover_webhooks",
            "title": "Describe the webhook signing scheme so agents can verify deliveries without reading source",
            "description": "Describe the Standard Webhooks signing scheme (headers, HMAC-SHA256 algorithm, envelope shape, replay tolerance) and the url_verification handshake, so a receiver can verify deliveries without reading source.",
            "inputSchema": {
              "properties": {},
              "type": "object"
            },
            "outputSchema": {
              "$defs": {
                "WebhookDiscoveryResponse": {
                  "additionalProperties": false,
                  "properties": {
                    "envelope": {
                      "additionalProperties": false,
                      "properties": {
                        "idPrefix": {
                          "const": "evt_",
                          "type": "string"
                        },
                        "shape": {
                          "const": "{id, event, timestamp, data}",
                          "type": "string"
                        },
                        "timestampFormat": {
                          "const": "ISO-8601",
                          "type": "string"
                        }
                      },
                      "required": [
                        "shape",
                        "idPrefix",
                        "timestampFormat"
                      ],
                      "type": "object"
                    },
                    "headers": {
                      "additionalProperties": false,
                      "properties": {
                        "id": {
                          "const": "webhook-id",
                          "type": "string"
                        },
                        "signature": {
                          "const": "webhook-signature",
                          "type": "string"
                        },
                        "timestamp": {
                          "const": "webhook-timestamp",
                          "type": "string"
                        }
                      },
                      "required": [
                        "id",
                        "timestamp",
                        "signature"
                      ],
                      "type": "object"
                    },
                    "referenceUrl": {
                      "const": "https://www.standardwebhooks.com",
                      "type": "string"
                    },
                    "replayToleranceSeconds": {
                      "exclusiveMinimum": 0,
                      "maximum": 9007199254740991,
                      "type": "integer"
                    },
                    "signing": {
                      "additionalProperties": false,
                      "properties": {
                        "algorithm": {
                          "const": "HMAC-SHA256",
                          "type": "string"
                        },
                        "headerFormat": {
                          "const": "v1,{base64Signature}",
                          "type": "string"
                        },
                        "mode": {
                          "enum": [
                            "legacy",
                            "standard"
                          ],
                          "type": "string"
                        },
                        "modes": {
                          "additionalProperties": false,
                          "properties": {
                            "legacy": {
                              "additionalProperties": false,
                              "properties": {
                                "hmacKey": {
                                  "const": "UTF-8 bytes of the full whsec_-prefixed secret string",
                                  "type": "string"
                                },
                                "standardWebhooksConformant": {
                                  "const": false,
                                  "type": "boolean"
                                },
                                "webhookTimestampFormat": {
                                  "const": "ISO-8601",
                                  "type": "string"
                                }
                              },
                              "required": [
                                "webhookTimestampFormat",
                                "hmacKey",
                                "standardWebhooksConformant"
                              ],
                              "type": "object"
                            },
                            "standard": {
                              "additionalProperties": false,
                              "properties": {
                                "hmacKey": {
                                  "const": "base64-decoded bytes of the secret after the whsec_ prefix",
                                  "type": "string"
                                },
                                "standardWebhooksConformant": {
                                  "const": true,
                                  "type": "boolean"
                                },
                                "webhookTimestampFormat": {
                                  "const": "unix-seconds",
                                  "type": "string"
                                }
                              },
                              "required": [
                                "webhookTimestampFormat",
                                "hmacKey",
                                "standardWebhooksConformant"
                              ],
                              "type": "object"
                            }
                          },
                          "required": [
                            "legacy",
                            "standard"
                          ],
                          "type": "object"
                        },
                        "multipleSignaturesDelimiter": {
                          "const": " ",
                          "type": "string"
                        },
                        "schemeTag": {
                          "const": "v1",
                          "type": "string"
                        },
                        "signatureEncoding": {
                          "const": "base64",
                          "type": "string"
                        },
                        "signedContentTemplate": {
                          "const": "{id}.{timestamp}.{rawBody}",
                          "type": "string"
                        }
                      },
                      "required": [
                        "algorithm",
                        "signedContentTemplate",
                        "signatureEncoding",
                        "schemeTag",
                        "headerFormat",
                        "multipleSignaturesDelimiter",
                        "mode",
                        "modes"
                      ],
                      "type": "object"
                    },
                    "spec": {
                      "const": "standard-webhooks",
                      "type": "string"
                    },
                    "verification": {
                      "additionalProperties": false,
                      "properties": {
                        "enforced": {
                          "const": false,
                          "type": "boolean"
                        },
                        "expectedResponse": {
                          "additionalProperties": false,
                          "properties": {
                            "bodyShape": {
                              "const": "{\"challenge\":\"\u003cverificationToken\u003e\"}",
                              "type": "string"
                            },
                            "contentType": {
                              "const": "application/json",
                              "type": "string"
                            },
                            "statusCode": {
                              "const": "2xx",
                              "type": "string"
                            }
                          },
                          "required": [
                            "statusCode",
                            "bodyShape",
                            "contentType"
                          ],
                          "type": "object"
                        },
                        "method": {
                          "const": "POST",
                          "type": "string"
                        },
                        "requestBodyShape": {
                          "const": "{\"type\":\"url_verification\",\"challenge\":\"\u003cverificationToken\u003e\"}",
                          "type": "string"
                        },
                        "requestHeaders": {
                          "additionalProperties": false,
                          "properties": {
                            "content-type": {
                              "const": "application/json",
                              "type": "string"
                            },
                            "x-webhook-verification": {
                              "const": "true",
                              "type": "string"
                            }
                          },
                          "required": [
                            "x-webhook-verification",
                            "content-type"
                          ],
                          "type": "object"
                        },
                        "timeoutSeconds": {
                          "exclusiveMinimum": 0,
                          "maximum": 9007199254740991,
                          "type": "integer"
                        },
                        "verificationTokenSource": {
                          "const": "RegisterWebhookResponse.verificationToken",
                          "type": "string"
                        }
                      },
                      "required": [
                        "enforced",
                        "method",
                        "requestHeaders",
                        "requestBodyShape",
                        "expectedResponse",
                        "timeoutSeconds",
                        "verificationTokenSource"
                      ],
                      "type": "object"
                    },
                    "version": {
                      "const": "v1",
                      "type": "string"
                    }
                  },
                  "required": [
                    "spec",
                    "version",
                    "headers",
                    "signing",
                    "replayToleranceSeconds",
                    "envelope",
                    "verification",
                    "referenceUrl"
                  ],
                  "type": "object"
                }
              },
              "additionalProperties": false,
              "properties": {
                "result": {
                  "$ref": "#/$defs/WebhookDiscoveryResponse"
                }
              },
              "required": [
                "result"
              ],
              "type": "object"
            },
            "annotations": {
              "destructiveHint": false,
              "idempotentHint": true,
              "openWorldHint": true,
              "permission": "none",
              "readOnlyHint": true
            }
          },
          {
            "name": "kellian_get_orderbook",
            "title": "Get orderbook depth for a market",
            "description": "Get orderbook depth for a market",
            "inputSchema": {
              "properties": {
                "chainId": {
                  "description": "Chain id for the market address. Required when the same market address exists on multiple chains.",
                  "type": "number"
                },
                "depth": {
                  "description": "Price levels per side (default: 20)",
                  "type": "number"
                },
                "marketAddress": {
                  "description": "Orderbook market contract address",
                  "type": "string"
                },
                "side": {
                  "description": "Outcome side: 0=outcome 1, 1=outcome 2. Required for executable_for_caller; optional for public aggregate depth.",
                  "maximum": 1,
                  "minimum": 0,
                  "type": "number"
                },
                "view": {
                  "default": "public",
                  "description": "public (default) includes all makers. executable_for_caller excludes only the wallet bound to the authenticated MCP session.",
                  "enum": [
                    "public",
                    "executable_for_caller"
                  ],
                  "type": "string"
                }
              },
              "required": [
                "marketAddress"
              ],
              "type": "object"
            },
            "outputSchema": {
              "$defs": {
                "McpOrderbookLevel": {
                  "additionalProperties": false,
                  "properties": {
                    "orderCount": {
                      "maximum": 9007199254740991,
                      "minimum": 0,
                      "type": "integer"
                    },
                    "price": {
                      "$ref": "#/$defs/McpOrderbookPriceBps"
                    },
                    "priceDecimal": {
                      "$ref": "#/$defs/McpOrderbookPriceDecimal"
                    },
                    "totalAmount": {
                      "$ref": "#/$defs/WeiString"
                    }
                  },
                  "required": [
                    "price",
                    "priceDecimal",
                    "totalAmount",
                    "orderCount"
                  ],
                  "type": "object"
                },
                "McpOrderbookPriceBps": {
                  "pattern": "^\\d+$",
                  "type": "string"
                },
                "McpOrderbookPriceDecimal": {
                  "maximum": 1,
                  "minimum": 0,
                  "type": "number"
                },
                "McpOrderbookSnapshot": {
                  "additionalProperties": false,
                  "properties": {
                    "asks": {
                      "items": {
                        "$ref": "#/$defs/McpOrderbookLevel"
                      },
                      "type": "array"
                    },
                    "bestAsk": {
                      "anyOf": [
                        {
                          "$ref": "#/$defs/McpOrderbookPriceBps"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "bestAskDecimal": {
                      "anyOf": [
                        {
                          "$ref": "#/$defs/McpOrderbookPriceDecimal"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "bestAskPercent": {
                      "anyOf": [
                        {
                          "maximum": 100,
                          "minimum": 0,
                          "type": "number"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "bestBid": {
                      "anyOf": [
                        {
                          "$ref": "#/$defs/McpOrderbookPriceBps"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "bestBidDecimal": {
                      "anyOf": [
                        {
                          "$ref": "#/$defs/McpOrderbookPriceDecimal"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "bestBidPercent": {
                      "anyOf": [
                        {
                          "maximum": 100,
                          "minimum": 0,
                          "type": "number"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "bids": {
                      "items": {
                        "$ref": "#/$defs/McpOrderbookLevel"
                      },
                      "type": "array"
                    },
                    "checksum": {
                      "anyOf": [
                        {
                          "pattern": "^sha256:[0-9a-f]{64}$",
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "effectiveMinBuyAmount": {
                      "anyOf": [
                        {
                          "additionalProperties": false,
                          "properties": {
                            "outcome1": {
                              "$ref": "#/$defs/WeiString"
                            },
                            "outcome2": {
                              "$ref": "#/$defs/WeiString"
                            }
                          },
                          "required": [
                            "outcome1",
                            "outcome2"
                          ],
                          "type": "object"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "feePolicyVersion": {
                      "enum": [
                        "notional-v1",
                        "shares-v2"
                      ],
                      "type": "string"
                    },
                    "l2Version": {
                      "const": 2,
                      "type": "number"
                    },
                    "maxSignableBuyPriceBps": {
                      "anyOf": [
                        {
                          "pattern": "^\\d+$",
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "mid": {
                      "anyOf": [
                        {
                          "$ref": "#/$defs/McpOrderbookPriceBps"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "midDecimal": {
                      "anyOf": [
                        {
                          "$ref": "#/$defs/McpOrderbookPriceDecimal"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "midPercent": {
                      "anyOf": [
                        {
                          "maximum": 100,
                          "minimum": 0,
                          "type": "number"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "minBuyAmount": {
                      "anyOf": [
                        {
                          "$ref": "#/$defs/WeiString"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "minSignableSellPriceBps": {
                      "anyOf": [
                        {
                          "pattern": "^\\d+$",
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "previousRevision": {
                      "pattern": "^\\d+$",
                      "type": "string"
                    },
                    "revision": {
                      "pattern": "^\\d+$",
                      "type": "string"
                    },
                    "seq": {
                      "maximum": 9007199254740991,
                      "minimum": 0,
                      "type": "integer"
                    },
                    "side": {
                      "anyOf": [
                        {
                          "anyOf": [
                            {
                              "const": 0,
                              "type": "number"
                            },
                            {
                              "const": 1,
                              "type": "number"
                            }
                          ]
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "spread": {
                      "anyOf": [
                        {
                          "pattern": "^-?\\d+$",
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "spreadDecimal": {
                      "anyOf": [
                        {
                          "maximum": 1,
                          "minimum": -1,
                          "type": "number"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "streamEpoch": {
                      "anyOf": [
                        {
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "takerFeeBps": {
                      "maximum": 10000,
                      "minimum": 0,
                      "type": "integer"
                    },
                    "tradingStatus": {
                      "enum": [
                        "open",
                        "closed"
                      ],
                      "type": "string"
                    },
                    "view": {
                      "enum": [
                        "public",
                        "executable_for_caller"
                      ],
                      "type": "string"
                    }
                  },
                  "required": [
                    "view",
                    "side",
                    "bids",
                    "asks",
                    "bestBid",
                    "bestAsk",
                    "spread",
                    "bestBidDecimal",
                    "bestAskDecimal",
                    "spreadDecimal",
                    "seq",
                    "l2Version",
                    "streamEpoch",
                    "revision",
                    "previousRevision",
                    "checksum",
                    "mid",
                    "midDecimal",
                    "takerFeeBps",
                    "maxSignableBuyPriceBps",
                    "minSignableSellPriceBps",
                    "minBuyAmount",
                    "effectiveMinBuyAmount"
                  ],
                  "type": "object"
                },
                "WeiString": {
                  "pattern": "^\\d+$",
                  "type": "string"
                }
              },
              "additionalProperties": false,
              "properties": {
                "result": {
                  "$ref": "#/$defs/McpOrderbookSnapshot"
                }
              },
              "required": [
                "result"
              ],
              "type": "object"
            },
            "annotations": {
              "destructiveHint": false,
              "idempotentHint": true,
              "openWorldHint": true,
              "permission": "api-key-read",
              "readOnlyHint": true
            }
          },
          {
            "name": "kellian_batch_get_orderbooks",
            "title": "Get caller-executable depth for multiple destination books",
            "description": "Get one to 100 ordered caller-executable destination books. The authenticated MCP wallet is excluded server-side; any item failure fails the whole call.",
            "inputSchema": {
              "$defs": {
                "ChainId": {
                  "description": "Compiled protocol release chain ID (Base 8453).",
                  "maximum": 9007199254740991,
                  "minimum": -9007199254740991,
                  "type": "integer"
                },
                "EvmAddress": {
                  "description": "Checksummed or lowercase 20-byte EVM address (0x + 40 hex).",
                  "pattern": "^0x[a-fA-F0-9]{40}$",
                  "type": "string"
                },
                "McpOrderbookSide": {
                  "anyOf": [
                    {
                      "const": 0,
                      "type": "number"
                    },
                    {
                      "const": 1,
                      "type": "number"
                    }
                  ],
                  "description": "0-indexed outcome side: 0=outcome1, 1=outcome2. NOT buy/sell — buy/sell is `kind` (0=buy, 1=sell)."
                }
              },
              "properties": {
                "requests": {
                  "description": "Unique exact chain, market, side, view, and depth requests.",
                  "items": {
                    "additionalProperties": false,
                    "properties": {
                      "chainId": {
                        "$ref": "#/$defs/ChainId",
                        "description": "Exact chain id. Batch reads never resolve an address across chains."
                      },
                      "depth": {
                        "default": 20,
                        "description": "Price levels per side (default: 20; maximum: 50).",
                        "maximum": 50,
                        "minimum": 1,
                        "type": "integer"
                      },
                      "marketAddress": {
                        "$ref": "#/$defs/EvmAddress",
                        "description": "Exact orderbook market contract address."
                      },
                      "side": {
                        "$ref": "#/$defs/McpOrderbookSide",
                        "description": "Exact outcome side: 0=outcome 1, 1=outcome 2. Batch reads are always side-scoped."
                      },
                      "view": {
                        "const": "executable_for_caller",
                        "description": "Caller-executable depth with the authenticated credential wallet excluded. The excluded wallet cannot be supplied in the request.",
                        "type": "string"
                      }
                    },
                    "required": [
                      "chainId",
                      "marketAddress",
                      "side",
                      "view"
                    ],
                    "type": "object"
                  },
                  "maxItems": 100,
                  "minItems": 1,
                  "type": "array"
                }
              },
              "required": [
                "requests"
              ],
              "type": "object"
            },
            "outputSchema": {
              "$defs": {
                "ChainId": {
                  "maximum": 9007199254740991,
                  "minimum": -9007199254740991,
                  "type": "integer"
                },
                "EvmAddress": {
                  "pattern": "^0x[a-fA-F0-9]{40}$",
                  "type": "string"
                },
                "McpOrderbookLevel": {
                  "additionalProperties": false,
                  "properties": {
                    "orderCount": {
                      "maximum": 9007199254740991,
                      "minimum": 0,
                      "type": "integer"
                    },
                    "price": {
                      "$ref": "#/$defs/McpOrderbookPriceBps"
                    },
                    "priceDecimal": {
                      "$ref": "#/$defs/McpOrderbookPriceDecimal"
                    },
                    "totalAmount": {
                      "$ref": "#/$defs/WeiString"
                    }
                  },
                  "required": [
                    "price",
                    "priceDecimal",
                    "totalAmount",
                    "orderCount"
                  ],
                  "type": "object"
                },
                "McpOrderbookPriceBps": {
                  "pattern": "^\\d+$",
                  "type": "string"
                },
                "McpOrderbookPriceDecimal": {
                  "maximum": 1,
                  "minimum": 0,
                  "type": "number"
                },
                "OrderbookBatchGetResponse": {
                  "additionalProperties": false,
                  "properties": {
                    "books": {
                      "items": {
                        "additionalProperties": false,
                        "properties": {
                          "asks": {
                            "items": {
                              "$ref": "#/$defs/McpOrderbookLevel"
                            },
                            "type": "array"
                          },
                          "bestAsk": {
                            "anyOf": [
                              {
                                "$ref": "#/$defs/McpOrderbookPriceBps"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "bestAskDecimal": {
                            "anyOf": [
                              {
                                "$ref": "#/$defs/McpOrderbookPriceDecimal"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "bestAskPercent": {
                            "anyOf": [
                              {
                                "maximum": 100,
                                "minimum": 0,
                                "type": "number"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "bestBid": {
                            "anyOf": [
                              {
                                "$ref": "#/$defs/McpOrderbookPriceBps"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "bestBidDecimal": {
                            "anyOf": [
                              {
                                "$ref": "#/$defs/McpOrderbookPriceDecimal"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "bestBidPercent": {
                            "anyOf": [
                              {
                                "maximum": 100,
                                "minimum": 0,
                                "type": "number"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "bids": {
                            "items": {
                              "$ref": "#/$defs/McpOrderbookLevel"
                            },
                            "type": "array"
                          },
                          "chainId": {
                            "$ref": "#/$defs/ChainId"
                          },
                          "checksum": {
                            "anyOf": [
                              {
                                "pattern": "^sha256:[0-9a-f]{64}$",
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "effectiveMinBuyAmount": {
                            "anyOf": [
                              {
                                "additionalProperties": false,
                                "properties": {
                                  "outcome1": {
                                    "$ref": "#/$defs/WeiString"
                                  },
                                  "outcome2": {
                                    "$ref": "#/$defs/WeiString"
                                  }
                                },
                                "required": [
                                  "outcome1",
                                  "outcome2"
                                ],
                                "type": "object"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "feePolicyVersion": {
                            "enum": [
                              "notional-v1",
                              "shares-v2"
                            ],
                            "type": "string"
                          },
                          "l2Version": {
                            "const": 2,
                            "type": "number"
                          },
                          "marketAddress": {
                            "$ref": "#/$defs/EvmAddress"
                          },
                          "maxSignableBuyPriceBps": {
                            "anyOf": [
                              {
                                "pattern": "^\\d+$",
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "mid": {
                            "anyOf": [
                              {
                                "$ref": "#/$defs/McpOrderbookPriceBps"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "midDecimal": {
                            "anyOf": [
                              {
                                "$ref": "#/$defs/McpOrderbookPriceDecimal"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "midPercent": {
                            "anyOf": [
                              {
                                "maximum": 100,
                                "minimum": 0,
                                "type": "number"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "minBuyAmount": {
                            "anyOf": [
                              {
                                "$ref": "#/$defs/WeiString"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "minSignableSellPriceBps": {
                            "anyOf": [
                              {
                                "pattern": "^\\d+$",
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "previousRevision": {
                            "pattern": "^\\d+$",
                            "type": "string"
                          },
                          "revision": {
                            "pattern": "^\\d+$",
                            "type": "string"
                          },
                          "seq": {
                            "maximum": 9007199254740991,
                            "minimum": 0,
                            "type": "integer"
                          },
                          "side": {
                            "anyOf": [
                              {
                                "anyOf": [
                                  {
                                    "const": 0,
                                    "type": "number"
                                  },
                                  {
                                    "const": 1,
                                    "type": "number"
                                  }
                                ]
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "spread": {
                            "anyOf": [
                              {
                                "pattern": "^-?\\d+$",
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "spreadDecimal": {
                            "anyOf": [
                              {
                                "maximum": 1,
                                "minimum": -1,
                                "type": "number"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "streamEpoch": {
                            "format": "uuid",
                            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                            "type": "string"
                          },
                          "takerFeeBps": {
                            "maximum": 10000,
                            "minimum": 0,
                            "type": "integer"
                          },
                          "tradingStatus": {
                            "enum": [
                              "open",
                              "closed"
                            ],
                            "type": "string"
                          },
                          "view": {
                            "enum": [
                              "public",
                              "executable_for_caller"
                            ],
                            "type": "string"
                          }
                        },
                        "required": [
                          "view",
                          "side",
                          "bids",
                          "asks",
                          "bestBid",
                          "bestAsk",
                          "spread",
                          "bestBidDecimal",
                          "bestAskDecimal",
                          "spreadDecimal",
                          "seq",
                          "l2Version",
                          "streamEpoch",
                          "revision",
                          "previousRevision",
                          "checksum",
                          "mid",
                          "midDecimal",
                          "takerFeeBps",
                          "maxSignableBuyPriceBps",
                          "minSignableSellPriceBps",
                          "minBuyAmount",
                          "effectiveMinBuyAmount",
                          "chainId",
                          "marketAddress"
                        ],
                        "type": "object"
                      },
                      "type": "array"
                    }
                  },
                  "required": [
                    "books"
                  ],
                  "type": "object"
                },
                "WeiString": {
                  "pattern": "^\\d+$",
                  "type": "string"
                }
              },
              "additionalProperties": false,
              "properties": {
                "result": {
                  "$ref": "#/$defs/OrderbookBatchGetResponse"
                }
              },
              "required": [
                "result"
              ],
              "type": "object"
            },
            "annotations": {
              "destructiveHint": false,
              "idempotentHint": true,
              "openWorldHint": true,
              "permission": "api-key-read",
              "readOnlyHint": true
            }
          },
          {
            "name": "kellian_get_open_orders",
            "title": "List the authenticated wallet's open orders",
            "description": "List one keyset page of the authenticated MCP wallet's open orders, including reservation state. Always continue with nextCursor until hasMore is false.",
            "inputSchema": {
              "properties": {
                "chainId": {
                  "description": "Optional chain filter. Required when the same market address exists on multiple chains.",
                  "type": "number"
                },
                "cursor": {
                  "description": "Order hash returned as nextCursor by the prior page.",
                  "pattern": "^0x[a-fA-F0-9]{64}$",
                  "type": "string"
                },
                "limit": {
                  "default": 100,
                  "maximum": 100,
                  "minimum": 1,
                  "type": "integer"
                },
                "marketAddress": {
                  "description": "Optional market filter",
                  "type": "string"
                }
              },
              "type": "object"
            },
            "outputSchema": {
              "$defs": {
                "McpOrderbookOpenOrdersResponse": {
                  "additionalProperties": false,
                  "properties": {
                    "hasMore": {
                      "type": "boolean"
                    },
                    "nextCursor": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "orders": {
                      "items": {
                        "additionalProperties": false,
                        "properties": {
                          "action": {
                            "enum": [
                              "buy",
                              "sell"
                            ],
                            "type": "string"
                          },
                          "amount": {
                            "$ref": "#/$defs/WeiString"
                          },
                          "cancelRequestedAt": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "chainId": {
                            "maximum": 9007199254740991,
                            "minimum": -9007199254740991,
                            "type": "integer"
                          },
                          "clOrdId": {
                            "anyOf": [
                              {
                                "maxLength": 200,
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "createdAt": {
                            "type": "string"
                          },
                          "eligibilityReason": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "eligibilityStatus": {
                            "enum": [
                              "RECHECK_REQUIRED",
                              "ELIGIBLE",
                              "QUARANTINED"
                            ],
                            "type": "string"
                          },
                          "expiry": {
                            "$ref": "#/$defs/WeiString"
                          },
                          "filledAmount": {
                            "$ref": "#/$defs/WeiString"
                          },
                          "filledShares": {
                            "pattern": "^(?:0|[1-9]\\d*)(?:\\.\\d{1,6})?$",
                            "type": "string"
                          },
                          "hostedMatchingState": {
                            "enum": [
                              "ACTIVE",
                              "MATCHING_SUSPENDED",
                              "CANCEL_PENDING"
                            ],
                            "type": "string"
                          },
                          "kind": {
                            "maximum": 1,
                            "minimum": 0,
                            "type": "integer"
                          },
                          "marketAddress": {
                            "pattern": "^0x[a-fA-F0-9]{40}$",
                            "type": "string"
                          },
                          "matchingSuspendedAt": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "nonce": {
                            "$ref": "#/$defs/WeiString"
                          },
                          "orderHash": {
                            "type": "string"
                          },
                          "orderReference": {
                            "pattern": "^ord_[A-Za-z0-9_-]{43}$",
                            "type": "string"
                          },
                          "outcome": {
                            "type": "string"
                          },
                          "price": {
                            "pattern": "^\\d+$",
                            "type": "string"
                          },
                          "priceDecimal": {
                            "maximum": 1,
                            "minimum": 0,
                            "type": "number"
                          },
                          "pricePercent": {
                            "maximum": 100,
                            "minimum": 0,
                            "type": "number"
                          },
                          "remainingShares": {
                            "pattern": "^(?:0|[1-9]\\d*)(?:\\.\\d{1,6})?$",
                            "type": "string"
                          },
                          "reservationExpiresAt": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "reservedAmount": {
                            "$ref": "#/$defs/WeiString"
                          },
                          "shares": {
                            "pattern": "^(?:0|[1-9]\\d*)(?:\\.\\d{1,6})?$",
                            "type": "string"
                          },
                          "side": {
                            "anyOf": [
                              {
                                "const": 0,
                                "type": "number"
                              },
                              {
                                "const": 1,
                                "type": "number"
                              }
                            ]
                          },
                          "signatureScheme": {
                            "enum": [
                              "settlement-v1",
                              "committed-quote-v2"
                            ],
                            "type": "string"
                          },
                          "status": {
                            "type": "string"
                          },
                          "statusPm": {
                            "enum": [
                              "awaiting_approval",
                              "approved",
                              "accepted",
                              "waiting",
                              "resting",
                              "partly_filled",
                              "filled",
                              "rejected",
                              "expired",
                              "cancelled",
                              "cancellation_pending",
                              "uncertain"
                            ],
                            "type": "string"
                          }
                        },
                        "required": [
                          "orderHash",
                          "marketAddress",
                          "chainId",
                          "kind",
                          "side",
                          "price",
                          "priceDecimal",
                          "amount",
                          "filledAmount",
                          "reservedAmount",
                          "reservationExpiresAt",
                          "nonce",
                          "expiry",
                          "status",
                          "createdAt",
                          "clOrdId"
                        ],
                        "type": "object"
                      },
                      "type": "array"
                    }
                  },
                  "required": [
                    "orders",
                    "nextCursor",
                    "hasMore"
                  ],
                  "type": "object"
                },
                "WeiString": {
                  "pattern": "^\\d+$",
                  "type": "string"
                }
              },
              "additionalProperties": false,
              "properties": {
                "result": {
                  "$ref": "#/$defs/McpOrderbookOpenOrdersResponse"
                }
              },
              "required": [
                "result"
              ],
              "type": "object"
            },
            "annotations": {
              "destructiveHint": false,
              "idempotentHint": true,
              "openWorldHint": true,
              "permission": "api-key-read",
              "readOnlyHint": true
            }
          },
          {
            "name": "kellian_list_order_events",
            "title": "Replay private order lifecycle events",
            "description": "Replay the authenticated wallet’s durable private order lifecycle journal. Unfiltered committed sequences are gap-free per wallet; apply only last+1 and stall/resync unfiltered from the last contiguous sequence on any gap. Filtered cursors are audit-only and scoped to the exact filter set.",
            "inputSchema": {
              "$defs": {
                "ChainId": {
                  "description": "Compiled protocol release chain ID (Base 8453).",
                  "maximum": 9007199254740991,
                  "minimum": -9007199254740991,
                  "type": "integer"
                },
                "EvmAddress": {
                  "description": "Checksummed or lowercase 20-byte EVM address (0x + 40 hex).",
                  "pattern": "^0x[a-fA-F0-9]{40}$",
                  "type": "string"
                },
                "WeiString": {
                  "description": "Non-negative integer amount in the token's smallest unit (wei for ETH-family tokens; the play-money token PM uses 6). Always read the decimals from the token or market metadata rather than assuming them. Serialized as a base-10 string to avoid JS number precision loss.",
                  "pattern": "^\\d+$",
                  "type": "string"
                }
              },
              "properties": {
                "afterSequence": {
                  "$ref": "#/$defs/WeiString",
                  "default": "0",
                  "description": "Return events with wallet-global sequence strictly greater than this value. Unfiltered committed replay is gap-free: accept only last+1, stall on a gap, and restart unfiltered replay from the last contiguous value. When filters are supplied, intentional skips are possible and the cursor is valid only with the exact same filter set."
                },
                "chainId": {
                  "$ref": "#/$defs/ChainId",
                  "description": "Optional audit filter; it does not create an independent sequence."
                },
                "limit": {
                  "default": 50,
                  "maximum": 100,
                  "minimum": 1,
                  "type": "integer"
                },
                "marketAddress": {
                  "$ref": "#/$defs/EvmAddress",
                  "description": "Optional audit filter; filtered cursors are valid only for this exact filter set."
                },
                "orderHash": {
                  "description": "Optional audit filter; unfiltered replay is required to close wallet-global gaps.",
                  "type": "string"
                }
              },
              "type": "object"
            },
            "outputSchema": {
              "$defs": {
                "EvmAddress": {
                  "pattern": "^0x[a-fA-F0-9]{40}$",
                  "type": "string"
                },
                "OrderbookOrderEventsResponse": {
                  "additionalProperties": false,
                  "properties": {
                    "earliestRetainedSequence": {
                      "anyOf": [
                        {
                          "$ref": "#/$defs/WeiString"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "events": {
                      "items": {
                        "additionalProperties": false,
                        "properties": {
                          "action": {
                            "anyOf": [
                              {
                                "enum": [
                                  "buy",
                                  "sell"
                                ],
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "chainId": {
                            "maximum": 9007199254740991,
                            "minimum": -9007199254740991,
                            "type": "integer"
                          },
                          "clOrdId": {
                            "anyOf": [
                              {
                                "maxLength": 200,
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "counterpartyOrderHash": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "cumulativeFilled": {
                            "anyOf": [
                              {
                                "$ref": "#/$defs/WeiString"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "event": {
                            "enum": [
                              "accepted",
                              "reserved",
                              "submitted",
                              "mined",
                              "fill",
                              "partial",
                              "cancelled",
                              "expired",
                              "rejected",
                              "released",
                              "bust",
                              "quarantined",
                              "restored",
                              "suspended",
                              "reversed"
                            ],
                            "type": "string",
                            "x-extensible-enum": true
                          },
                          "eventId": {
                            "format": "uuid",
                            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                            "type": "string"
                          },
                          "feePaid": {
                            "anyOf": [
                              {
                                "$ref": "#/$defs/WeiString"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "fillAmount": {
                            "anyOf": [
                              {
                                "$ref": "#/$defs/WeiString"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "fillShares": {
                            "anyOf": [
                              {
                                "pattern": "^(?:0|[1-9]\\d*)(?:\\.\\d{1,6})?$",
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "filledShares": {
                            "anyOf": [
                              {
                                "pattern": "^(?:0|[1-9]\\d*)(?:\\.\\d{1,6})?$",
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "finality": {
                            "enum": [
                              "offchain",
                              "provisional",
                              "finalized",
                              "orphaned"
                            ],
                            "type": "string",
                            "x-extensible-enum": true
                          },
                          "kind": {
                            "anyOf": [
                              {
                                "maximum": 1,
                                "minimum": 0,
                                "type": "integer"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "liquidityRole": {
                            "anyOf": [
                              {
                                "enum": [
                                  "maker",
                                  "taker"
                                ],
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "marketAddress": {
                            "$ref": "#/$defs/EvmAddress"
                          },
                          "occurredAt": {
                            "format": "date-time",
                            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                            "type": "string"
                          },
                          "orderHash": {
                            "type": "string"
                          },
                          "orderReference": {
                            "pattern": "^ord_[A-Za-z0-9_-]{43}$",
                            "type": "string"
                          },
                          "orderStatus": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "outcome": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "priceBasis": {
                            "anyOf": [
                              {
                                "enum": [
                                  "order_side",
                                  "outcome1"
                                ],
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "priceBps": {
                            "anyOf": [
                              {
                                "pattern": "^\\d+$",
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "priceDecimal": {
                            "anyOf": [
                              {
                                "pattern": "^(?:0(?:\\.\\d{1,4})?|1)$",
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "pricePercent": {
                            "anyOf": [
                              {
                                "maximum": 100,
                                "minimum": 0,
                                "type": "number"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "reason": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "remaining": {
                            "anyOf": [
                              {
                                "$ref": "#/$defs/WeiString"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "remainingShares": {
                            "anyOf": [
                              {
                                "pattern": "^(?:0|[1-9]\\d*)(?:\\.\\d{1,6})?$",
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "reservationId": {
                            "anyOf": [
                              {
                                "format": "uuid",
                                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "schemaVersion": {
                            "const": "problee.orderbook.order-event.v1",
                            "type": "string"
                          },
                          "sequence": {
                            "$ref": "#/$defs/WeiString"
                          },
                          "settlementLogIndex": {
                            "anyOf": [
                              {
                                "maximum": 9007199254740991,
                                "minimum": -9007199254740991,
                                "type": "integer"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "side": {
                            "anyOf": [
                              {
                                "anyOf": [
                                  {
                                    "const": 0,
                                    "type": "number"
                                  },
                                  {
                                    "const": 1,
                                    "type": "number"
                                  }
                                ]
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "statusPm": {
                            "anyOf": [
                              {
                                "enum": [
                                  "awaiting_approval",
                                  "approved",
                                  "accepted",
                                  "waiting",
                                  "resting",
                                  "partly_filled",
                                  "filled",
                                  "rejected",
                                  "expired",
                                  "cancelled",
                                  "cancellation_pending",
                                  "uncertain"
                                ],
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "transactionHash": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "walletAddress": {
                            "$ref": "#/$defs/EvmAddress"
                          }
                        },
                        "required": [
                          "schemaVersion",
                          "eventId",
                          "sequence",
                          "walletAddress",
                          "event",
                          "finality",
                          "chainId",
                          "marketAddress",
                          "orderHash",
                          "occurredAt"
                        ],
                        "type": "object"
                      },
                      "type": "array"
                    },
                    "hasMore": {
                      "type": "boolean"
                    },
                    "nextAfterSequence": {
                      "$ref": "#/$defs/WeiString"
                    },
                    "sequencePolicy": {
                      "const": "gap_free_per_wallet",
                      "type": "string"
                    }
                  },
                  "required": [
                    "events",
                    "sequencePolicy",
                    "earliestRetainedSequence",
                    "nextAfterSequence",
                    "hasMore"
                  ],
                  "type": "object"
                },
                "WeiString": {
                  "pattern": "^\\d+$",
                  "type": "string"
                }
              },
              "additionalProperties": false,
              "properties": {
                "result": {
                  "$ref": "#/$defs/OrderbookOrderEventsResponse"
                }
              },
              "required": [
                "result"
              ],
              "type": "object"
            },
            "annotations": {
              "destructiveHint": false,
              "idempotentHint": true,
              "openWorldHint": true,
              "permission": "api-key-read",
              "readOnlyHint": true
            }
          },
          {
            "name": "kellian_place_limit_order",
            "title": "Prepare or place a user-signed limit order. Union on `requiresSignature`: true → sign the returned EIP-712 typedData and resubmit; else the order was placed.",
            "description": "Prepare or place a limit order. Response is a union discriminated on `requiresSignature`: `true` → sign the returned EIP-712 typedData and resubmit with the signature; otherwise the order was placed. The user wallet signs the EIP-712 order; the protocol operator key is never used as user identity. Reusing a live clOrdId with different (market, side, price, amount, kind) returns 409 CLORDID_CONFLICT.\n\nExamples: First call without signature — server returns EIP-712 typedData to sign; Signing branch — sign typedData exactly as returned, then resubmit with orderSignature + nonce; Resubmit with wallet signature and the nonce from the signing payload",
            "inputSchema": {
              "$defs": {
                "WeiString": {
                  "description": "Non-negative integer amount in the token's smallest unit (wei for ETH-family tokens; the play-money token PM uses 6). Always read the decimals from the token or market metadata rather than assuming them. Serialized as a base-10 string to avoid JS number precision loss.",
                  "pattern": "^\\d+$",
                  "type": "string"
                }
              },
              "properties": {
                "amount": {
                  "$ref": "#/$defs/WeiString",
                  "description": "Order size in OUTCOME-TOKEN smallest units, using the market collateral's decimals (PM: 6 — always read decimals from market metadata). One whole outcome token redeems for one whole collateral token; this field is NOT a collateral amount. Collateral locked = price × amount ÷ 10000."
                },
                "chainId": {
                  "description": "Chain id for the market address. Required when the same market address exists on multiple chains.",
                  "type": "number"
                },
                "clOrdId": {
                  "description": "Client-supplied order id (maximum 200 characters; optional at placement; off-chain and not part of the EIP-712 Order / orderHash). Used for reconciliation, cancel-by-clOrdId, and live-order idempotency: the same (wallet, clOrdId) with matching (market, side, price, amount, kind) returns the existing open/partially-filled order; a divergent body yields 409 CLORDID_CONFLICT. After the order reaches a terminal status the id may be reused. Orthogonal to the HTTP Idempotency-Key header (transport-level).",
                  "maxLength": 200,
                  "type": "string"
                },
                "expiry": {
                  "description": "Unix timestamp expiry",
                  "maximum": 9007199254740991,
                  "minimum": -9007199254740991,
                  "type": "integer"
                },
                "idempotencyKey": {
                  "description": "Required write-safety key. Use a new key after signing because the signed submission is a different request.",
                  "maxLength": 256,
                  "minLength": 1,
                  "type": "string"
                },
                "kind": {
                  "default": 0,
                  "description": "0=buy/bid, 1=sell/ask",
                  "maximum": 1,
                  "minimum": 0,
                  "type": "number"
                },
                "marketAddress": {
                  "description": "Orderbook market address",
                  "type": "string"
                },
                "nonce": {
                  "description": "Order nonce for a user-signed EIP-712 order",
                  "type": "string"
                },
                "orderSignature": {
                  "description": "User EIP-712 signature over the order. Omit to receive signing payload.",
                  "type": "string"
                },
                "postOnly": {
                  "description": "Maker-only (off-chain, not signed): reject the order if any part would cross the book on placement, so it can never pay taker.",
                  "type": "boolean"
                },
                "price": {
                  "description": "Limit price in basis points. Must land on this market's price grid, published as tradingRules.priceBands: default markets are BANDED — 10-bps rungs below 500 and above 9500, 100-bps rungs in between — and an off-grid price is refused with 400 PRICE_OFF_TICK naming the two nearest legal prices. Resting orders (GTC or postOnly) meet tradingRules.minRestingShares and minRestingExpirySeconds. Passive postOnly orders have no collateral-notional minimum (minRestingNotional is 0). Active BUY orders (postOnly absent or false) retain the book snapshot's effectiveMinBuyAmount: principal notional for GTC, total budget including fees for IOC/FOK. IOC/FOK SELL meets minSellShares. A verified entire-position SELL is exempt from size floors. There is no longer a per-fill collateral floor: settlement stopped asserting the market's minBuyAmount in the 2026-08-31 beacon upgrade, so that field is a deprecated, unenforced record and no size need be checked against it. Provide either price or priceDecimal.",
                  "maximum": 9999,
                  "minimum": 1,
                  "type": "integer"
                },
                "priceDecimal": {
                  "description": "Limit price as a 0–1 decimal probability (agent convention): 0.55 = 5500 bps. Converted by rounding to the nearest whole BPS; the result must then land on this market's price grid (tradingRules.priceBands) or placement returns PRICE_OFF_TICK with the two nearest legal prices — a stated limit price is never silently moved. Provide either price (bps) or priceDecimal — not both.",
                  "maximum": 0.9999,
                  "minimum": 0.0001,
                  "type": "number"
                },
                "proofNonce": {
                  "description": "Required single-use nonce for the wallet proof. Fetch from POST /api/auth/nonce; consumed on verification so the proof cannot be replayed.",
                  "maxLength": 256,
                  "minLength": 1,
                  "type": "string"
                },
                "side": {
                  "description": "0=outcome 1, 1=outcome 2",
                  "maximum": 1,
                  "minimum": 0,
                  "type": "number"
                },
                "signatureTimestamp": {
                  "description": "Unix timestamp (seconds) used in the signed challenge message",
                  "exclusiveMinimum": 0,
                  "maximum": 9007199254740991,
                  "type": "integer"
                },
                "timeInForce": {
                  "description": "Time-in-force (off-chain, not signed): GTC rests until filled/cancelled (default); IOC fills what crosses now and cancels the remainder; FOK fills the full amount or is rejected.",
                  "enum": [
                    "GTC",
                    "IOC",
                    "FOK"
                  ],
                  "type": "string"
                },
                "walletAddress": {
                  "description": "Wallet address placing the order",
                  "type": "string"
                },
                "walletSignature": {
                  "description": "Action-bound wallet proof. Sign the canonical 'problee-mcp-auth:…' challenge (binds agent, apiKey, tool, scope, chain, resource, payloadHash, nonce, timestamp).",
                  "minLength": 1,
                  "type": "string"
                }
              },
              "required": [
                "marketAddress",
                "side",
                "amount",
                "walletAddress",
                "idempotencyKey",
                "walletSignature",
                "signatureTimestamp",
                "proofNonce"
              ],
              "type": "object"
            },
            "outputSchema": {
              "$defs": {
                "EvmAddress": {
                  "pattern": "^0x[a-fA-F0-9]{40}$",
                  "type": "string"
                },
                "McpOrderbookPlaceOrderResponse": {
                  "oneOf": [
                    {
                      "additionalProperties": false,
                      "properties": {
                        "order": {
                          "$ref": "#/$defs/McpOrderbookWireOrder"
                        },
                        "orderHash": {
                          "type": "string"
                        },
                        "requiresSignature": {
                          "const": true,
                          "type": "boolean"
                        },
                        "typedData": {
                          "additionalProperties": false,
                          "properties": {
                            "domain": {
                              "additionalProperties": false,
                              "properties": {
                                "chainId": {
                                  "maximum": 9007199254740991,
                                  "minimum": -9007199254740991,
                                  "type": "integer"
                                },
                                "name": {
                                  "type": "string"
                                },
                                "verifyingContract": {
                                  "$ref": "#/$defs/EvmAddress"
                                },
                                "version": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "name",
                                "version",
                                "chainId",
                                "verifyingContract"
                              ],
                              "type": "object"
                            },
                            "message": {
                              "$ref": "#/$defs/McpOrderbookWireOrder"
                            },
                            "primaryType": {
                              "const": "Order",
                              "type": "string"
                            },
                            "types": {
                              "additionalProperties": {
                                "items": {
                                  "additionalProperties": false,
                                  "properties": {
                                    "name": {
                                      "type": "string"
                                    },
                                    "type": {
                                      "type": "string"
                                    }
                                  },
                                  "required": [
                                    "name",
                                    "type"
                                  ],
                                  "type": "object"
                                },
                                "type": "array"
                              },
                              "propertyNames": {
                                "type": "string"
                              },
                              "type": "object"
                            }
                          },
                          "required": [
                            "domain",
                            "types",
                            "primaryType",
                            "message"
                          ],
                          "type": "object"
                        }
                      },
                      "required": [
                        "requiresSignature",
                        "orderHash",
                        "order",
                        "typedData"
                      ],
                      "type": "object"
                    },
                    {
                      "additionalProperties": false,
                      "properties": {
                        "clOrdId": {
                          "$ref": "#/$defs/OrderbookClOrdId"
                        },
                        "delayedUntil": {
                          "type": "string"
                        },
                        "orderHash": {
                          "type": "string"
                        },
                        "requiresSignature": {
                          "const": false,
                          "type": "boolean"
                        },
                        "status": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "requiresSignature",
                        "orderHash",
                        "status"
                      ],
                      "type": "object"
                    }
                  ]
                },
                "McpOrderbookWireOrder": {
                  "additionalProperties": false,
                  "properties": {
                    "amount": {
                      "$ref": "#/$defs/WeiString"
                    },
                    "expiry": {
                      "$ref": "#/$defs/WeiString"
                    },
                    "kind": {
                      "maximum": 1,
                      "minimum": 0,
                      "type": "integer"
                    },
                    "maker": {
                      "$ref": "#/$defs/EvmAddress"
                    },
                    "market": {
                      "$ref": "#/$defs/EvmAddress"
                    },
                    "nonce": {
                      "$ref": "#/$defs/WeiString"
                    },
                    "price": {
                      "pattern": "^\\d+$",
                      "type": "string"
                    },
                    "side": {
                      "anyOf": [
                        {
                          "const": 0,
                          "type": "number"
                        },
                        {
                          "const": 1,
                          "type": "number"
                        }
                      ]
                    }
                  },
                  "required": [
                    "maker",
                    "market",
                    "kind",
                    "side",
                    "price",
                    "amount",
                    "nonce",
                    "expiry"
                  ],
                  "type": "object"
                },
                "OrderbookClOrdId": {
                  "maxLength": 200,
                  "type": "string"
                },
                "WeiString": {
                  "pattern": "^\\d+$",
                  "type": "string"
                }
              },
              "additionalProperties": false,
              "properties": {
                "result": {
                  "$ref": "#/$defs/McpOrderbookPlaceOrderResponse"
                }
              },
              "required": [
                "result"
              ],
              "type": "object"
            },
            "annotations": {
              "destructiveHint": false,
              "idempotentHint": false,
              "openWorldHint": true,
              "permission": "api-key-execute",
              "readOnlyHint": false
            }
          },
          {
            "name": "kellian_batch_place_orders",
            "title": "Place up to 50 pre-signed limit orders in one call (partial success). Counts as ONE write against the rate limiter regardless of batch size.",
            "description": "Place up to 50 pre-signed limit orders in one call (ONE write credit). Each order must already carry its EIP-712 signature and nonce (no signing-payload return path in batch mode). Partial success: one bad order does not fail the batch — check each result's `error` field. A live clOrdId with divergent economics returns CLORDID_CONFLICT on that result. Requires wallet proof.",
            "inputSchema": {
              "$defs": {
                "WeiString": {
                  "description": "Non-negative integer amount in the token's smallest unit (wei for ETH-family tokens; the play-money token PM uses 6). Always read the decimals from the token or market metadata rather than assuming them. Serialized as a base-10 string to avoid JS number precision loss.",
                  "pattern": "^\\d+$",
                  "type": "string"
                }
              },
              "properties": {
                "idempotencyKey": {
                  "description": "Required write-safety key for this batch",
                  "maxLength": 256,
                  "minLength": 1,
                  "type": "string"
                },
                "orders": {
                  "description": "Orders to place, in order. Response results are index-aligned.",
                  "items": {
                    "properties": {
                      "amount": {
                        "$ref": "#/$defs/WeiString",
                        "description": "Order size in OUTCOME-TOKEN smallest units, using the market collateral's decimals (PM: 6 — always read decimals from market metadata). One whole outcome token redeems for one whole collateral token; this field is NOT a collateral amount. Collateral locked = price × amount ÷ 10000."
                      },
                      "chainId": {
                        "description": "Chain id for the market address. Required when the same market address exists on multiple chains.",
                        "type": "number"
                      },
                      "clOrdId": {
                        "description": "Client-supplied order id (maximum 200 characters; optional at placement; off-chain and not part of the EIP-712 Order / orderHash). Used for reconciliation, cancel-by-clOrdId, and live-order idempotency: the same (wallet, clOrdId) with matching (market, side, price, amount, kind) returns the existing open/partially-filled order; a divergent body yields 409 CLORDID_CONFLICT. After the order reaches a terminal status the id may be reused. Orthogonal to the HTTP Idempotency-Key header (transport-level).",
                        "maxLength": 200,
                        "type": "string"
                      },
                      "expiry": {
                        "description": "Unix timestamp expiry",
                        "maximum": 9007199254740991,
                        "minimum": -9007199254740991,
                        "type": "integer"
                      },
                      "kind": {
                        "default": 0,
                        "description": "0=buy/bid, 1=sell/ask",
                        "maximum": 1,
                        "minimum": 0,
                        "type": "number"
                      },
                      "marketAddress": {
                        "description": "Orderbook market address",
                        "type": "string"
                      },
                      "nonce": {
                        "description": "Order nonce for a user-signed EIP-712 order",
                        "type": "string"
                      },
                      "orderSignature": {
                        "description": "User EIP-712 signature over the order. Omit to receive signing payload.",
                        "type": "string"
                      },
                      "postOnly": {
                        "description": "Maker-only (off-chain, not signed): reject the order if any part would cross the book on placement, so it can never pay taker.",
                        "type": "boolean"
                      },
                      "price": {
                        "description": "Limit price in basis points. Must land on this market's price grid, published as tradingRules.priceBands: default markets are BANDED — 10-bps rungs below 500 and above 9500, 100-bps rungs in between — and an off-grid price is refused with 400 PRICE_OFF_TICK naming the two nearest legal prices. Resting orders (GTC or postOnly) meet tradingRules.minRestingShares and minRestingExpirySeconds. Passive postOnly orders have no collateral-notional minimum (minRestingNotional is 0). Active BUY orders (postOnly absent or false) retain the book snapshot's effectiveMinBuyAmount: principal notional for GTC, total budget including fees for IOC/FOK. IOC/FOK SELL meets minSellShares. A verified entire-position SELL is exempt from size floors. There is no longer a per-fill collateral floor: settlement stopped asserting the market's minBuyAmount in the 2026-08-31 beacon upgrade, so that field is a deprecated, unenforced record and no size need be checked against it. Provide either price or priceDecimal.",
                        "maximum": 9999,
                        "minimum": 1,
                        "type": "integer"
                      },
                      "priceDecimal": {
                        "description": "Limit price as a 0–1 decimal probability (agent convention): 0.55 = 5500 bps. Converted by rounding to the nearest whole BPS; the result must then land on this market's price grid (tradingRules.priceBands) or placement returns PRICE_OFF_TICK with the two nearest legal prices — a stated limit price is never silently moved. Provide either price (bps) or priceDecimal — not both.",
                        "maximum": 0.9999,
                        "minimum": 0.0001,
                        "type": "number"
                      },
                      "side": {
                        "description": "0=outcome 1, 1=outcome 2",
                        "maximum": 1,
                        "minimum": 0,
                        "type": "number"
                      },
                      "timeInForce": {
                        "description": "Time-in-force (off-chain, not signed): GTC rests until filled/cancelled (default); IOC fills what crosses now and cancels the remainder; FOK fills the full amount or is rejected.",
                        "enum": [
                          "GTC",
                          "IOC",
                          "FOK"
                        ],
                        "type": "string"
                      }
                    },
                    "required": [
                      "marketAddress",
                      "side",
                      "amount"
                    ],
                    "type": "object"
                  },
                  "maxItems": 50,
                  "minItems": 1,
                  "type": "array"
                },
                "proofNonce": {
                  "description": "Required single-use nonce for the wallet proof. Fetch from POST /api/auth/nonce; consumed on verification so the proof cannot be replayed.",
                  "maxLength": 256,
                  "minLength": 1,
                  "type": "string"
                },
                "signatureTimestamp": {
                  "description": "Unix timestamp (seconds) used in the signed challenge message",
                  "exclusiveMinimum": 0,
                  "maximum": 9007199254740991,
                  "type": "integer"
                },
                "walletAddress": {
                  "description": "Wallet address placing the orders",
                  "type": "string"
                },
                "walletSignature": {
                  "description": "Action-bound wallet proof. Sign the canonical 'problee-mcp-auth:…' challenge (binds agent, apiKey, tool, scope, chain, resource, payloadHash, nonce, timestamp).",
                  "minLength": 1,
                  "type": "string"
                }
              },
              "required": [
                "orders",
                "walletAddress",
                "idempotencyKey",
                "walletSignature",
                "signatureTimestamp",
                "proofNonce"
              ],
              "type": "object"
            },
            "outputSchema": {
              "$defs": {
                "OrderbookBatchPlaceOrdersResponse": {
                  "additionalProperties": false,
                  "properties": {
                    "results": {
                      "items": {
                        "additionalProperties": false,
                        "properties": {
                          "clOrdId": {
                            "$ref": "#/$defs/OrderbookClOrdId"
                          },
                          "error": {
                            "additionalProperties": false,
                            "properties": {
                              "detail": {
                                "type": "string"
                              },
                              "extensions": {
                                "additionalProperties": {},
                                "propertyNames": {
                                  "type": "string"
                                },
                                "type": "object"
                              },
                              "reason": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "reason",
                              "detail"
                            ],
                            "type": "object"
                          },
                          "orderHash": {
                            "type": "string"
                          },
                          "status": {
                            "type": "string"
                          }
                        },
                        "type": "object"
                      },
                      "type": "array"
                    }
                  },
                  "required": [
                    "results"
                  ],
                  "type": "object"
                },
                "OrderbookClOrdId": {
                  "maxLength": 200,
                  "type": "string"
                }
              },
              "additionalProperties": false,
              "properties": {
                "result": {
                  "$ref": "#/$defs/OrderbookBatchPlaceOrdersResponse"
                }
              },
              "required": [
                "result"
              ],
              "type": "object"
            },
            "annotations": {
              "destructiveHint": false,
              "idempotentHint": false,
              "openWorldHint": true,
              "permission": "api-key-execute",
              "readOnlyHint": false
            }
          },
          {
            "name": "kellian_batch_prepare_orders",
            "title": "Prepare 1–50 unsigned EIP-712 limit-order payloads without placing them",
            "description": "Prepare 1–50 unsigned EIP-712 orders in one request; this creates signing payloads only and accepts nothing into matching.",
            "inputSchema": {
              "$defs": {
                "WeiString": {
                  "description": "Non-negative integer amount in the token's smallest unit (wei for ETH-family tokens; the play-money token PM uses 6). Always read the decimals from the token or market metadata rather than assuming them. Serialized as a base-10 string to avoid JS number precision loss.",
                  "pattern": "^\\d+$",
                  "type": "string"
                }
              },
              "properties": {
                "idempotencyKey": {
                  "maxLength": 256,
                  "minLength": 1,
                  "type": "string"
                },
                "orders": {
                  "items": {
                    "properties": {
                      "amount": {
                        "$ref": "#/$defs/WeiString",
                        "description": "Order size in OUTCOME-TOKEN smallest units, using the market collateral's decimals (PM: 6 — always read decimals from market metadata). One whole outcome token redeems for one whole collateral token; this field is NOT a collateral amount. Collateral locked = price × amount ÷ 10000."
                      },
                      "chainId": {
                        "description": "Chain id for the market address. Required when the same market address exists on multiple chains.",
                        "type": "number"
                      },
                      "clOrdId": {
                        "description": "Client-supplied order id (maximum 200 characters; optional at placement; off-chain and not part of the EIP-712 Order / orderHash). Used for reconciliation, cancel-by-clOrdId, and live-order idempotency: the same (wallet, clOrdId) with matching (market, side, price, amount, kind) returns the existing open/partially-filled order; a divergent body yields 409 CLORDID_CONFLICT. After the order reaches a terminal status the id may be reused. Orthogonal to the HTTP Idempotency-Key header (transport-level).",
                        "maxLength": 200,
                        "type": "string"
                      },
                      "expiry": {
                        "description": "Unix timestamp expiry",
                        "maximum": 9007199254740991,
                        "minimum": -9007199254740991,
                        "type": "integer"
                      },
                      "kind": {
                        "default": 0,
                        "description": "0=buy/bid, 1=sell/ask",
                        "maximum": 1,
                        "minimum": 0,
                        "type": "number"
                      },
                      "marketAddress": {
                        "description": "Orderbook market address",
                        "type": "string"
                      },
                      "nonce": {
                        "description": "Order nonce for a user-signed EIP-712 order",
                        "type": "string"
                      },
                      "orderSignature": {
                        "description": "User EIP-712 signature over the order. Omit to receive signing payload.",
                        "type": "string"
                      },
                      "postOnly": {
                        "description": "Maker-only (off-chain, not signed): reject the order if any part would cross the book on placement, so it can never pay taker.",
                        "type": "boolean"
                      },
                      "price": {
                        "description": "Limit price in basis points. Must land on this market's price grid, published as tradingRules.priceBands: default markets are BANDED — 10-bps rungs below 500 and above 9500, 100-bps rungs in between — and an off-grid price is refused with 400 PRICE_OFF_TICK naming the two nearest legal prices. Resting orders (GTC or postOnly) meet tradingRules.minRestingShares and minRestingExpirySeconds. Passive postOnly orders have no collateral-notional minimum (minRestingNotional is 0). Active BUY orders (postOnly absent or false) retain the book snapshot's effectiveMinBuyAmount: principal notional for GTC, total budget including fees for IOC/FOK. IOC/FOK SELL meets minSellShares. A verified entire-position SELL is exempt from size floors. There is no longer a per-fill collateral floor: settlement stopped asserting the market's minBuyAmount in the 2026-08-31 beacon upgrade, so that field is a deprecated, unenforced record and no size need be checked against it. Provide either price or priceDecimal.",
                        "maximum": 9999,
                        "minimum": 1,
                        "type": "integer"
                      },
                      "priceDecimal": {
                        "description": "Limit price as a 0–1 decimal probability (agent convention): 0.55 = 5500 bps. Converted by rounding to the nearest whole BPS; the result must then land on this market's price grid (tradingRules.priceBands) or placement returns PRICE_OFF_TICK with the two nearest legal prices — a stated limit price is never silently moved. Provide either price (bps) or priceDecimal — not both.",
                        "maximum": 0.9999,
                        "minimum": 0.0001,
                        "type": "number"
                      },
                      "side": {
                        "description": "0=outcome 1, 1=outcome 2",
                        "maximum": 1,
                        "minimum": 0,
                        "type": "number"
                      },
                      "timeInForce": {
                        "description": "Time-in-force (off-chain, not signed): GTC rests until filled/cancelled (default); IOC fills what crosses now and cancels the remainder; FOK fills the full amount or is rejected.",
                        "enum": [
                          "GTC",
                          "IOC",
                          "FOK"
                        ],
                        "type": "string"
                      }
                    },
                    "required": [
                      "marketAddress",
                      "side",
                      "amount"
                    ],
                    "type": "object"
                  },
                  "maxItems": 50,
                  "minItems": 1,
                  "type": "array"
                },
                "proofNonce": {
                  "description": "Required single-use nonce for the wallet proof. Fetch from POST /api/auth/nonce; consumed on verification so the proof cannot be replayed.",
                  "maxLength": 256,
                  "minLength": 1,
                  "type": "string"
                },
                "signatureTimestamp": {
                  "description": "Unix timestamp (seconds) used in the signed challenge message",
                  "exclusiveMinimum": 0,
                  "maximum": 9007199254740991,
                  "type": "integer"
                },
                "walletAddress": {
                  "description": "Checksummed or lowercase 20-byte EVM address (0x + 40 hex).",
                  "pattern": "^0x[a-fA-F0-9]{40}$",
                  "type": "string"
                },
                "walletSignature": {
                  "description": "Action-bound wallet proof. Sign the canonical 'problee-mcp-auth:…' challenge (binds agent, apiKey, tool, scope, chain, resource, payloadHash, nonce, timestamp).",
                  "minLength": 1,
                  "type": "string"
                }
              },
              "required": [
                "orders",
                "walletAddress",
                "idempotencyKey",
                "walletSignature",
                "signatureTimestamp",
                "proofNonce"
              ],
              "type": "object"
            },
            "outputSchema": {
              "$defs": {
                "EvmAddress": {
                  "pattern": "^0x[a-fA-F0-9]{40}$",
                  "type": "string"
                },
                "McpOrderbookBatchPrepareOrdersResponse": {
                  "additionalProperties": false,
                  "properties": {
                    "orders": {
                      "items": {
                        "additionalProperties": false,
                        "properties": {
                          "order": {
                            "$ref": "#/$defs/McpOrderbookWireOrder"
                          },
                          "orderHash": {
                            "type": "string"
                          },
                          "requiresSignature": {
                            "const": true,
                            "type": "boolean"
                          },
                          "typedData": {
                            "additionalProperties": false,
                            "properties": {
                              "domain": {
                                "additionalProperties": false,
                                "properties": {
                                  "chainId": {
                                    "maximum": 9007199254740991,
                                    "minimum": -9007199254740991,
                                    "type": "integer"
                                  },
                                  "name": {
                                    "type": "string"
                                  },
                                  "verifyingContract": {
                                    "$ref": "#/$defs/EvmAddress"
                                  },
                                  "version": {
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "name",
                                  "version",
                                  "chainId",
                                  "verifyingContract"
                                ],
                                "type": "object"
                              },
                              "message": {
                                "$ref": "#/$defs/McpOrderbookWireOrder"
                              },
                              "primaryType": {
                                "const": "Order",
                                "type": "string"
                              },
                              "types": {
                                "additionalProperties": {
                                  "items": {
                                    "additionalProperties": false,
                                    "properties": {
                                      "name": {
                                        "type": "string"
                                      },
                                      "type": {
                                        "type": "string"
                                      }
                                    },
                                    "required": [
                                      "name",
                                      "type"
                                    ],
                                    "type": "object"
                                  },
                                  "type": "array"
                                },
                                "propertyNames": {
                                  "type": "string"
                                },
                                "type": "object"
                              }
                            },
                            "required": [
                              "domain",
                              "types",
                              "primaryType",
                              "message"
                            ],
                            "type": "object"
                          }
                        },
                        "required": [
                          "requiresSignature",
                          "orderHash",
                          "order",
                          "typedData"
                        ],
                        "type": "object"
                      },
                      "type": "array"
                    }
                  },
                  "required": [
                    "orders"
                  ],
                  "type": "object"
                },
                "McpOrderbookWireOrder": {
                  "additionalProperties": false,
                  "properties": {
                    "amount": {
                      "$ref": "#/$defs/WeiString"
                    },
                    "expiry": {
                      "$ref": "#/$defs/WeiString"
                    },
                    "kind": {
                      "maximum": 1,
                      "minimum": 0,
                      "type": "integer"
                    },
                    "maker": {
                      "$ref": "#/$defs/EvmAddress"
                    },
                    "market": {
                      "$ref": "#/$defs/EvmAddress"
                    },
                    "nonce": {
                      "$ref": "#/$defs/WeiString"
                    },
                    "price": {
                      "pattern": "^\\d+$",
                      "type": "string"
                    },
                    "side": {
                      "anyOf": [
                        {
                          "const": 0,
                          "type": "number"
                        },
                        {
                          "const": 1,
                          "type": "number"
                        }
                      ]
                    }
                  },
                  "required": [
                    "maker",
                    "market",
                    "kind",
                    "side",
                    "price",
                    "amount",
                    "nonce",
                    "expiry"
                  ],
                  "type": "object"
                },
                "WeiString": {
                  "pattern": "^\\d+$",
                  "type": "string"
                }
              },
              "additionalProperties": false,
              "properties": {
                "result": {
                  "$ref": "#/$defs/McpOrderbookBatchPrepareOrdersResponse"
                }
              },
              "required": [
                "result"
              ],
              "type": "object"
            },
            "annotations": {
              "destructiveHint": false,
              "idempotentHint": false,
              "openWorldHint": true,
              "permission": "api-key-execute",
              "readOnlyHint": false
            }
          },
          {
            "name": "kellian_cancel_order",
            "title": "Cancel an order authoritatively at the hosted layer, by hash or client order id",
            "description": "Cancel an order authoritatively by order hash or client order id. Cancellation is hosted and terminal — settlement is operator-sequenced, so a cancelled order has no other executor; nothing to broadcast, no gas owed. An order with a committed taker reservation is suspended and terminalizes when that fill settles or releases.",
            "inputSchema": {
              "$defs": {
                "OrderbookClOrdId": {
                  "description": "Client-supplied order id (maximum 200 characters; optional at placement; off-chain and not part of the EIP-712 Order / orderHash). Used for reconciliation, cancel-by-clOrdId, and live-order idempotency: the same (wallet, clOrdId) with matching (market, side, price, amount, kind) returns the existing open/partially-filled order; a divergent body yields 409 CLORDID_CONFLICT. After the order reaches a terminal status the id may be reused. Orthogonal to the HTTP Idempotency-Key header (transport-level).",
                  "maxLength": 200,
                  "type": "string"
                }
              },
              "properties": {
                "clOrdId": {
                  "$ref": "#/$defs/OrderbookClOrdId",
                  "description": "Client order id to cancel (resolves to the live open/partially-filled order for this wallet with this clOrdId). Provide this OR orderHash."
                },
                "idempotencyKey": {
                  "description": "Stable retry key. Reuse only with byte-equivalent tool arguments.",
                  "maxLength": 256,
                  "minLength": 1,
                  "type": "string"
                },
                "orderHash": {
                  "description": "Order hash to cancel",
                  "type": "string"
                },
                "proofNonce": {
                  "description": "Required single-use nonce for the wallet proof. Fetch from POST /api/auth/nonce; consumed on verification so the proof cannot be replayed.",
                  "maxLength": 256,
                  "minLength": 1,
                  "type": "string"
                },
                "signatureTimestamp": {
                  "description": "Unix timestamp (seconds) used in the signed challenge message",
                  "exclusiveMinimum": 0,
                  "maximum": 9007199254740991,
                  "type": "integer"
                },
                "walletAddress": {
                  "description": "Wallet address that owns the order",
                  "type": "string"
                },
                "walletSignature": {
                  "description": "Action-bound wallet proof. Sign the canonical 'problee-mcp-auth:…' challenge (binds agent, apiKey, tool, scope, chain, resource, payloadHash, nonce, timestamp).",
                  "minLength": 1,
                  "type": "string"
                }
              },
              "required": [
                "walletAddress",
                "walletSignature",
                "signatureTimestamp",
                "proofNonce",
                "idempotencyKey"
              ],
              "type": "object"
            },
            "outputSchema": {
              "$defs": {
                "OrderbookCancelResponse": {
                  "additionalProperties": false,
                  "properties": {
                    "authoritativeCancellation": {
                      "const": true,
                      "type": "boolean"
                    },
                    "cancelledAt": {
                      "type": "string"
                    },
                    "chainId": {
                      "maximum": 9007199254740991,
                      "minimum": -9007199254740991,
                      "type": "integer"
                    },
                    "marketAddress": {
                      "pattern": "^0x[a-fA-F0-9]{40}$",
                      "type": "string"
                    },
                    "orderHash": {
                      "type": "string"
                    },
                    "orderReference": {
                      "pattern": "^ord_[A-Za-z0-9_-]{43}$",
                      "type": "string"
                    },
                    "reservationExpiresAt": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "reservedAmount": {
                      "$ref": "#/$defs/WeiString"
                    },
                    "state": {
                      "enum": [
                        "CANCELLED",
                        "SUSPENDED_IN_FLIGHT",
                        "ALREADY_TERMINAL"
                      ],
                      "type": "string"
                    },
                    "status": {
                      "type": "string"
                    },
                    "statusPm": {
                      "enum": [
                        "awaiting_approval",
                        "approved",
                        "accepted",
                        "waiting",
                        "resting",
                        "partly_filled",
                        "filled",
                        "rejected",
                        "expired",
                        "cancelled",
                        "cancellation_pending",
                        "uncertain"
                      ],
                      "type": "string"
                    }
                  },
                  "required": [
                    "state",
                    "orderHash",
                    "chainId",
                    "marketAddress",
                    "status",
                    "authoritativeCancellation",
                    "reservedAmount",
                    "reservationExpiresAt",
                    "cancelledAt"
                  ],
                  "type": "object"
                },
                "WeiString": {
                  "pattern": "^\\d+$",
                  "type": "string"
                }
              },
              "additionalProperties": false,
              "properties": {
                "result": {
                  "$ref": "#/$defs/OrderbookCancelResponse"
                }
              },
              "required": [
                "result"
              ],
              "type": "object"
            },
            "annotations": {
              "destructiveHint": true,
              "idempotentHint": false,
              "openWorldHint": true,
              "permission": "api-key-execute",
              "readOnlyHint": false
            }
          },
          {
            "name": "kellian_cancel_orders",
            "title": "Cancel a named set of orders in one call, reporting each hash independently",
            "description": "Cancel up to 50 named orders in one call. Sits between cancelling one hash and cancelling everything: a maker re-quoting part of a ladder wants neither six round trips nor a teardown of the book it is about to rebuild. Every hash is reported on its own — unknown, already terminal, or not yours does not stop the rest — because cancellation reduces risk, and a batch that refused wholesale would leave exposure the caller explicitly asked to drop. Hosted and terminal: nothing to broadcast, no gas owed.",
            "inputSchema": {
              "properties": {
                "idempotencyKey": {
                  "description": "Stable retry key. Reuse only with byte-equivalent tool arguments.",
                  "maxLength": 256,
                  "minLength": 1,
                  "type": "string"
                },
                "orderHashes": {
                  "description": "Order hashes to cancel, up to 50. Duplicates are collapsed.",
                  "items": {
                    "type": "string"
                  },
                  "maxItems": 50,
                  "minItems": 1,
                  "type": "array"
                },
                "proofNonce": {
                  "description": "Required single-use nonce for the wallet proof. Fetch from POST /api/auth/nonce; consumed on verification so the proof cannot be replayed.",
                  "maxLength": 256,
                  "minLength": 1,
                  "type": "string"
                },
                "signatureTimestamp": {
                  "description": "Unix timestamp (seconds) used in the signed challenge message",
                  "exclusiveMinimum": 0,
                  "maximum": 9007199254740991,
                  "type": "integer"
                },
                "walletAddress": {
                  "description": "Wallet address that owns the orders",
                  "type": "string"
                },
                "walletSignature": {
                  "description": "Action-bound wallet proof. Sign the canonical 'problee-mcp-auth:…' challenge (binds agent, apiKey, tool, scope, chain, resource, payloadHash, nonce, timestamp).",
                  "minLength": 1,
                  "type": "string"
                }
              },
              "required": [
                "orderHashes",
                "walletAddress",
                "walletSignature",
                "signatureTimestamp",
                "proofNonce",
                "idempotencyKey"
              ],
              "type": "object"
            },
            "outputSchema": {
              "$defs": {
                "OrderbookCancelOrdersResponse": {
                  "additionalProperties": false,
                  "properties": {
                    "cancelled": {
                      "maximum": 9007199254740991,
                      "minimum": 0,
                      "type": "integer"
                    },
                    "failed": {
                      "maximum": 9007199254740991,
                      "minimum": 0,
                      "type": "integer"
                    },
                    "results": {
                      "items": {
                        "anyOf": [
                          {
                            "additionalProperties": false,
                            "properties": {
                              "authoritativeCancellation": {
                                "const": true,
                                "type": "boolean"
                              },
                              "cancelledAt": {
                                "type": "string"
                              },
                              "chainId": {
                                "maximum": 9007199254740991,
                                "minimum": -9007199254740991,
                                "type": "integer"
                              },
                              "marketAddress": {
                                "pattern": "^0x[a-fA-F0-9]{40}$",
                                "type": "string"
                              },
                              "orderHash": {
                                "type": "string"
                              },
                              "orderReference": {
                                "pattern": "^ord_[A-Za-z0-9_-]{43}$",
                                "type": "string"
                              },
                              "reservationExpiresAt": {
                                "type": [
                                  "string",
                                  "null"
                                ]
                              },
                              "reservedAmount": {
                                "$ref": "#/$defs/WeiString"
                              },
                              "state": {
                                "enum": [
                                  "CANCELLED",
                                  "SUSPENDED_IN_FLIGHT",
                                  "ALREADY_TERMINAL"
                                ],
                                "type": "string"
                              },
                              "status": {
                                "type": "string"
                              },
                              "statusPm": {
                                "enum": [
                                  "awaiting_approval",
                                  "approved",
                                  "accepted",
                                  "waiting",
                                  "resting",
                                  "partly_filled",
                                  "filled",
                                  "rejected",
                                  "expired",
                                  "cancelled",
                                  "cancellation_pending",
                                  "uncertain"
                                ],
                                "type": "string"
                              }
                            },
                            "required": [
                              "state",
                              "orderHash",
                              "chainId",
                              "marketAddress",
                              "status",
                              "authoritativeCancellation",
                              "reservedAmount",
                              "reservationExpiresAt",
                              "cancelledAt"
                            ],
                            "type": "object"
                          },
                          {
                            "additionalProperties": false,
                            "properties": {
                              "orderHash": {
                                "type": "string"
                              },
                              "reason": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "orderHash",
                              "reason"
                            ],
                            "type": "object"
                          }
                        ]
                      },
                      "type": "array"
                    }
                  },
                  "required": [
                    "cancelled",
                    "failed",
                    "results"
                  ],
                  "type": "object"
                },
                "WeiString": {
                  "pattern": "^\\d+$",
                  "type": "string"
                }
              },
              "additionalProperties": false,
              "properties": {
                "result": {
                  "$ref": "#/$defs/OrderbookCancelOrdersResponse"
                }
              },
              "required": [
                "result"
              ],
              "type": "object"
            },
            "annotations": {
              "destructiveHint": true,
              "idempotentHint": false,
              "openWorldHint": true,
              "permission": "api-key-execute",
              "readOnlyHint": false
            }
          },
          {
            "name": "kellian_confirm_order_cancel",
            "title": "Verify a mined cancellation and report exact canonical finality",
            "description": "Verify a mined OrderCancelledEvent. Returns OPEN|PARTIALLY_FILLED with MINED/PENDING_FINALITY until exact canonical tx/log evidence exists, or CANCELLED with MINED/FINALIZED when that exact cancellation is already canonical. Requires the same maker wallet proof used to prepare cancellation.",
            "inputSchema": {
              "properties": {
                "idempotencyKey": {
                  "description": "Stable retry key. Reuse only with byte-equivalent tool arguments.",
                  "maxLength": 256,
                  "minLength": 1,
                  "type": "string"
                },
                "orderHash": {
                  "description": "Order hash whose cancellation was broadcast",
                  "type": "string"
                },
                "proofNonce": {
                  "description": "Required single-use nonce for the wallet proof. Fetch from POST /api/auth/nonce; consumed on verification so the proof cannot be replayed.",
                  "maxLength": 256,
                  "minLength": 1,
                  "type": "string"
                },
                "signatureTimestamp": {
                  "description": "Unix timestamp (seconds) used in the signed challenge message",
                  "exclusiveMinimum": 0,
                  "maximum": 9007199254740991,
                  "type": "integer"
                },
                "txHash": {
                  "description": "Mined cancellation transaction hash",
                  "pattern": "^0x[a-fA-F0-9]{64}$",
                  "type": "string"
                },
                "walletAddress": {
                  "description": "Wallet address that owns the order",
                  "type": "string"
                },
                "walletSignature": {
                  "description": "Action-bound wallet proof. Sign the canonical 'problee-mcp-auth:…' challenge (binds agent, apiKey, tool, scope, chain, resource, payloadHash, nonce, timestamp).",
                  "minLength": 1,
                  "type": "string"
                }
              },
              "required": [
                "orderHash",
                "txHash",
                "walletAddress",
                "walletSignature",
                "signatureTimestamp",
                "proofNonce",
                "idempotencyKey"
              ],
              "type": "object"
            },
            "outputSchema": {
              "$defs": {
                "EvmAddress": {
                  "pattern": "^0x[a-fA-F0-9]{40}$",
                  "type": "string"
                },
                "McpOrderbookCancelConfirmedResponse": {
                  "oneOf": [
                    {
                      "additionalProperties": false,
                      "properties": {
                        "blockNumber": {
                          "pattern": "^[0-9]+$",
                          "type": "string"
                        },
                        "bookStatus": {
                          "enum": [
                            "OPEN",
                            "PARTIALLY_FILLED"
                          ],
                          "type": "string"
                        },
                        "canonicalState": {
                          "const": "PENDING_FINALITY",
                          "type": "string"
                        },
                        "chainId": {
                          "exclusiveMinimum": 0,
                          "maximum": 9007199254740991,
                          "type": "integer"
                        },
                        "chainState": {
                          "const": "MINED",
                          "type": "string"
                        },
                        "confirmedAt": {
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                          "type": "string"
                        },
                        "idempotencyKey": {
                          "maxLength": 200,
                          "minLength": 1,
                          "type": "string"
                        },
                        "marketAddress": {
                          "$ref": "#/$defs/EvmAddress"
                        },
                        "operationId": {
                          "maxLength": 200,
                          "minLength": 1,
                          "type": "string"
                        },
                        "orderHash": {
                          "type": "string"
                        },
                        "receipt": {
                          "additionalProperties": false,
                          "properties": {
                            "blockHash": {
                              "pattern": "^0x[a-fA-F0-9]{64}$",
                              "type": "string"
                            },
                            "blockNumber": {
                              "pattern": "^[0-9]+$",
                              "type": "string"
                            },
                            "status": {
                              "enum": [
                                "success",
                                "reverted"
                              ],
                              "type": "string"
                            },
                            "transactionIndex": {
                              "pattern": "^[0-9]+$",
                              "type": "string"
                            }
                          },
                          "required": [
                            "status",
                            "blockNumber",
                            "blockHash",
                            "transactionIndex"
                          ],
                          "type": "object"
                        },
                        "state": {
                          "const": "CONFIRMED",
                          "type": "string"
                        },
                        "statusUrl": {
                          "maxLength": 2000,
                          "pattern": "^\\/.*",
                          "type": "string"
                        },
                        "txHash": {
                          "pattern": "^0x[a-fA-F0-9]{64}$",
                          "type": "string"
                        }
                      },
                      "required": [
                        "operationId",
                        "idempotencyKey",
                        "state",
                        "chainId",
                        "txHash",
                        "blockNumber",
                        "confirmedAt",
                        "orderHash",
                        "marketAddress",
                        "chainState",
                        "bookStatus",
                        "canonicalState"
                      ],
                      "type": "object"
                    },
                    {
                      "additionalProperties": false,
                      "properties": {
                        "blockNumber": {
                          "pattern": "^[0-9]+$",
                          "type": "string"
                        },
                        "bookStatus": {
                          "const": "CANCELLED",
                          "type": "string"
                        },
                        "canonicalState": {
                          "const": "FINALIZED",
                          "type": "string"
                        },
                        "chainId": {
                          "exclusiveMinimum": 0,
                          "maximum": 9007199254740991,
                          "type": "integer"
                        },
                        "chainState": {
                          "const": "MINED",
                          "type": "string"
                        },
                        "confirmedAt": {
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                          "type": "string"
                        },
                        "idempotencyKey": {
                          "maxLength": 200,
                          "minLength": 1,
                          "type": "string"
                        },
                        "marketAddress": {
                          "$ref": "#/$defs/EvmAddress"
                        },
                        "operationId": {
                          "maxLength": 200,
                          "minLength": 1,
                          "type": "string"
                        },
                        "orderHash": {
                          "type": "string"
                        },
                        "receipt": {
                          "additionalProperties": false,
                          "properties": {
                            "blockHash": {
                              "pattern": "^0x[a-fA-F0-9]{64}$",
                              "type": "string"
                            },
                            "blockNumber": {
                              "pattern": "^[0-9]+$",
                              "type": "string"
                            },
                            "status": {
                              "enum": [
                                "success",
                                "reverted"
                              ],
                              "type": "string"
                            },
                            "transactionIndex": {
                              "pattern": "^[0-9]+$",
                              "type": "string"
                            }
                          },
                          "required": [
                            "status",
                            "blockNumber",
                            "blockHash",
                            "transactionIndex"
                          ],
                          "type": "object"
                        },
                        "state": {
                          "const": "CONFIRMED",
                          "type": "string"
                        },
                        "statusUrl": {
                          "maxLength": 2000,
                          "pattern": "^\\/.*",
                          "type": "string"
                        },
                        "txHash": {
                          "pattern": "^0x[a-fA-F0-9]{64}$",
                          "type": "string"
                        }
                      },
                      "required": [
                        "operationId",
                        "idempotencyKey",
                        "state",
                        "chainId",
                        "txHash",
                        "blockNumber",
                        "confirmedAt",
                        "orderHash",
                        "marketAddress",
                        "chainState",
                        "bookStatus",
                        "canonicalState"
                      ],
                      "type": "object"
                    }
                  ]
                }
              },
              "additionalProperties": false,
              "properties": {
                "result": {
                  "$ref": "#/$defs/McpOrderbookCancelConfirmedResponse"
                }
              },
              "required": [
                "result"
              ],
              "type": "object"
            },
            "annotations": {
              "destructiveHint": true,
              "idempotentHint": false,
              "openWorldHint": true,
              "permission": "api-key-execute",
              "readOnlyHint": false
            }
          },
          {
            "name": "kellian_cancel_all_orders",
            "title": "Authoritatively cancel all open orders at the hosted layer, optionally scoped to a market",
            "description": "Authoritatively cancel every open order on the page at the hosted layer — terminal, nothing to broadcast, no gas owed. Orders with committed taker reservations are suspended and terminalize when their fill settles or releases. Paged; requires wallet proof.",
            "inputSchema": {
              "properties": {
                "afterOrderHash": {
                  "type": "string"
                },
                "chainId": {
                  "description": "Optional chain filter. Required when the same market address exists on multiple chains.",
                  "type": "number"
                },
                "idempotencyKey": {
                  "description": "Stable retry key. Reuse only with byte-equivalent tool arguments.",
                  "maxLength": 256,
                  "minLength": 1,
                  "type": "string"
                },
                "limit": {
                  "default": 50,
                  "maximum": 50,
                  "minimum": 1,
                  "type": "integer"
                },
                "marketAddress": {
                  "description": "Optional market filter. Omit to cancel across all of the wallet's markets.",
                  "type": "string"
                },
                "proofNonce": {
                  "description": "Required single-use nonce for the wallet proof. Fetch from POST /api/auth/nonce; consumed on verification so the proof cannot be replayed.",
                  "maxLength": 256,
                  "minLength": 1,
                  "type": "string"
                },
                "signatureTimestamp": {
                  "description": "Unix timestamp (seconds) used in the signed challenge message",
                  "exclusiveMinimum": 0,
                  "maximum": 9007199254740991,
                  "type": "integer"
                },
                "walletAddress": {
                  "description": "Wallet address whose orders should be cancelled",
                  "type": "string"
                },
                "walletSignature": {
                  "description": "Action-bound wallet proof. Sign the canonical 'problee-mcp-auth:…' challenge (binds agent, apiKey, tool, scope, chain, resource, payloadHash, nonce, timestamp).",
                  "minLength": 1,
                  "type": "string"
                }
              },
              "required": [
                "walletAddress",
                "walletSignature",
                "signatureTimestamp",
                "proofNonce",
                "idempotencyKey"
              ],
              "type": "object"
            },
            "outputSchema": {
              "$defs": {
                "OrderbookCancelAllOrdersResponse": {
                  "additionalProperties": false,
                  "properties": {
                    "cancelled": {
                      "maximum": 9007199254740991,
                      "minimum": 0,
                      "type": "integer"
                    },
                    "hasMore": {
                      "type": "boolean"
                    },
                    "nextCursor": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "results": {
                      "items": {
                        "additionalProperties": false,
                        "properties": {
                          "authoritativeCancellation": {
                            "const": true,
                            "type": "boolean"
                          },
                          "cancelledAt": {
                            "type": "string"
                          },
                          "chainId": {
                            "maximum": 9007199254740991,
                            "minimum": -9007199254740991,
                            "type": "integer"
                          },
                          "marketAddress": {
                            "pattern": "^0x[a-fA-F0-9]{40}$",
                            "type": "string"
                          },
                          "orderHash": {
                            "type": "string"
                          },
                          "orderReference": {
                            "pattern": "^ord_[A-Za-z0-9_-]{43}$",
                            "type": "string"
                          },
                          "reservationExpiresAt": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "reservedAmount": {
                            "$ref": "#/$defs/WeiString"
                          },
                          "state": {
                            "enum": [
                              "CANCELLED",
                              "SUSPENDED_IN_FLIGHT",
                              "ALREADY_TERMINAL"
                            ],
                            "type": "string"
                          },
                          "status": {
                            "type": "string"
                          },
                          "statusPm": {
                            "enum": [
                              "awaiting_approval",
                              "approved",
                              "accepted",
                              "waiting",
                              "resting",
                              "partly_filled",
                              "filled",
                              "rejected",
                              "expired",
                              "cancelled",
                              "cancellation_pending",
                              "uncertain"
                            ],
                            "type": "string"
                          }
                        },
                        "required": [
                          "state",
                          "orderHash",
                          "chainId",
                          "marketAddress",
                          "status",
                          "authoritativeCancellation",
                          "reservedAmount",
                          "reservationExpiresAt",
                          "cancelledAt"
                        ],
                        "type": "object"
                      },
                      "type": "array"
                    },
                    "state": {
                      "const": "CANCELLED",
                      "type": "string"
                    }
                  },
                  "required": [
                    "state",
                    "cancelled",
                    "results",
                    "hasMore",
                    "nextCursor"
                  ],
                  "type": "object"
                },
                "WeiString": {
                  "pattern": "^\\d+$",
                  "type": "string"
                }
              },
              "additionalProperties": false,
              "properties": {
                "result": {
                  "$ref": "#/$defs/OrderbookCancelAllOrdersResponse"
                }
              },
              "required": [
                "result"
              ],
              "type": "object"
            },
            "annotations": {
              "destructiveHint": true,
              "idempotentHint": false,
              "openWorldHint": true,
              "permission": "api-key-execute",
              "readOnlyHint": false
            }
          },
          {
            "name": "kellian_estimate_market_order",
            "title": "Preview a market-order sweep without reserving liquidity — estimated fill, avg/worst price, partial-fill flag. Buys size by total spend, or by pre-fee notional",
            "description": "Price a market order before placing it: estimated shares/amount, amount-weighted average price, worst-leg price, and a partial-fill flag, from the exact matching math a live order will meet. Reserves no maker liquidity and costs no gas, so call it as often as sizing requires. Read-only; no wallet proof required. SIZING A BUY — a bare `amount` is a ceiling on the TOTAL debited (base + taker fee together fit inside it), which is NOT what the same field means at Polymarket; pass amountMode \"notional\" for their meaning (pre-fee notional, fee charged on top), or `maxSpend` to state the ceiling explicitly. The response echoes `amountMode`, so read it rather than assuming. MINIMUMS — ONE floor. The venue's trading minimum is FLAT: one number, the same at every price, on either outcome, on every orderbook market, binding the amount you sent in the mode you sent it; a size under it answers 400 AMOUNT_BELOW_MINIMUM with `minAmountWei`, and the book snapshot publishes it as `effectiveMinBuyAmount` so you can size before asking. Each market still reports a `minBuyAmount` on that snapshot, but it is DEPRECATED AND UNENFORCED: settlement asserted it per settlement leg — the counterparty's leg of a complementary mint included, which made the felt minimum rise with the price — until the 2026-08-31 beacon upgrade removed the assertion across the whole catalog. Do not size against it and do not treat it as a floor. A market order is an immediate-or-cancel order — place it with kellian_place_limit_order using timeInForce IOC and a price beyond the worst level this sweep touches. When this MCP session has a bound wallet, that address is excluded for self-trade prevention (matching REST sweep-estimate); with no wallet bound the estimate uses the zero address and may include your own resting orders, so treat it as optimistic.",
            "inputSchema": {
              "$defs": {
                "McpOrderbookPriceBps": {
                  "description": "Limit price in basis points. Must land on this market's price grid, published as tradingRules.priceBands: default markets are BANDED — 10-bps rungs below 500 and above 9500, 100-bps rungs in between — and an off-grid price is refused with 400 PRICE_OFF_TICK naming the two nearest legal prices. Resting orders (GTC or postOnly) meet tradingRules.minRestingShares and minRestingExpirySeconds. Passive postOnly orders have no collateral-notional minimum (minRestingNotional is 0). Active BUY orders (postOnly absent or false) retain the book snapshot's effectiveMinBuyAmount: principal notional for GTC, total budget including fees for IOC/FOK. IOC/FOK SELL meets minSellShares. A verified entire-position SELL is exempt from size floors. There is no longer a per-fill collateral floor: settlement stopped asserting the market's minBuyAmount in the 2026-08-31 beacon upgrade, so that field is a deprecated, unenforced record and no size need be checked against it.",
                  "pattern": "^\\d+$",
                  "type": "string"
                },
                "OrderbookBuyAmountMode": {
                  "enum": [
                    "total",
                    "notional"
                  ],
                  "type": "string"
                }
              },
              "properties": {
                "amount": {
                  "description": "Exact-input raw size in the market collateral's denomination. BUY: read as a TOTAL-SPEND CEILING by default — base + taker fee together land at or under this, so a typed 10 debits 10.000000 and never 10.03. Send amountMode \"notional\" to read it Polymarket-style instead: pre-fee notional, with the fee charged ON TOP (total debited = amount + fee). The venue's flat trading minimum binds THIS number as sent, in whichever mode you sent it, and is the same figure either way. SELL: collateral-denominated outcome-token units to sell; neither mode applies. Mutually exclusive with maxSpend — provide exactly one.",
                  "type": "string"
                },
                "amountMode": {
                  "$ref": "#/$defs/OrderbookBuyAmountMode",
                  "description": "BUY only. How to read the size. \"total\" (DEFAULT, and what every caller has always got) treats it as a ceiling on the total debited: base + taker fee ≤ amount. \"notional\" is Polymarket's `amount` meaning: buy this much of base and charge the fee on top, so the total debited is amount + fee and exceeds what you sent. The venue's flat trading minimum is the SAME NUMBER in both modes and binds the amount as sent — ten means ten debited under \"total\" and ten of pre-fee base under \"notional\" — so a wallet holding exactly the minimum can always send it. It is the only sizing floor: the market's stored minBuyAmount was retired as a settlement precondition in the 2026-08-31 beacon upgrade and refuses nothing. Any refusal bound comes back in the mode you sent, tagged with it. Refused on a sell, and refused alongside maxSpend."
                },
                "chainId": {
                  "description": "Chain id for the market address. Required when the same market address exists on multiple chains.",
                  "type": "number"
                },
                "kind": {
                  "default": 0,
                  "description": "0=buy/bid, 1=sell/ask",
                  "maximum": 1,
                  "minimum": 0,
                  "type": "integer"
                },
                "limitPrice": {
                  "$ref": "#/$defs/McpOrderbookPriceBps",
                  "description": "Worst requested-side executable price: BUY maximum, SELL minimum."
                },
                "marketAddress": {
                  "description": "Orderbook market address",
                  "type": "string"
                },
                "maxSpend": {
                  "description": "BUY only. Cap the TOTAL debited — base plus taker fee — at this raw collateral amount; the sweep sizes down so the complete cost fits. Identical in meaning to a bare `amount`, spelled out: send this when the cap is the point and you want the request to say so rather than rely on a default. Mutually exclusive with `amount`, and refused together with amountMode \"notional\" (which asks for the opposite).",
                  "type": "string"
                },
                "side": {
                  "description": "0=outcome 1, 1=outcome 2",
                  "maximum": 1,
                  "minimum": 0,
                  "type": "number"
                }
              },
              "required": [
                "marketAddress",
                "side"
              ],
              "type": "object"
            },
            "outputSchema": {
              "$defs": {
                "McpOrderbookPriceBps": {
                  "pattern": "^\\d+$",
                  "type": "string"
                },
                "McpOrderbookPriceDecimal": {
                  "maximum": 1,
                  "minimum": 0,
                  "type": "number"
                },
                "McpOrderbookSweepEstimateResponse": {
                  "additionalProperties": false,
                  "properties": {
                    "amountMode": {
                      "anyOf": [
                        {
                          "enum": [
                            "total",
                            "notional"
                          ],
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "averagePricePercent": {
                      "anyOf": [
                        {
                          "maximum": 100,
                          "minimum": 0,
                          "type": "number"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "avgPrice": {
                      "anyOf": [
                        {
                          "$ref": "#/$defs/McpOrderbookPriceBps"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "avgPriceDecimal": {
                      "anyOf": [
                        {
                          "$ref": "#/$defs/McpOrderbookPriceDecimal"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "chainId": {
                      "maximum": 9007199254740991,
                      "minimum": -9007199254740991,
                      "type": "integer"
                    },
                    "estimatedAmount": {
                      "$ref": "#/$defs/WeiString"
                    },
                    "estimatedBase": {
                      "$ref": "#/$defs/WeiString"
                    },
                    "estimatedFee": {
                      "$ref": "#/$defs/WeiString"
                    },
                    "estimatedNetProceeds": {
                      "$ref": "#/$defs/WeiString"
                    },
                    "estimatedShares": {
                      "$ref": "#/$defs/WeiString"
                    },
                    "feeAmount": {
                      "$ref": "#/$defs/WeiString"
                    },
                    "feePm": {
                      "pattern": "^(?:0|[1-9]\\d*)(?:\\.\\d{1,6})?$",
                      "type": "string"
                    },
                    "feePolicyVersion": {
                      "enum": [
                        "notional-v1",
                        "shares-v2"
                      ],
                      "type": "string"
                    },
                    "fillCount": {
                      "maximum": 9007199254740991,
                      "minimum": 0,
                      "type": "integer"
                    },
                    "maxSignableBuyPriceBps": {
                      "anyOf": [
                        {
                          "pattern": "^\\d+$",
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "minSignableSellPriceBps": {
                      "anyOf": [
                        {
                          "pattern": "^\\d+$",
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "partialFill": {
                      "type": "boolean"
                    },
                    "receivePm": {
                      "anyOf": [
                        {
                          "pattern": "^(?:0|[1-9]\\d*)(?:\\.\\d{1,6})?$",
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "shares": {
                      "pattern": "^(?:0|[1-9]\\d*)(?:\\.\\d{1,6})?$",
                      "type": "string"
                    },
                    "spendPm": {
                      "anyOf": [
                        {
                          "pattern": "^(?:0|[1-9]\\d*)(?:\\.\\d{1,6})?$",
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "takerFeeBps": {
                      "maximum": 10000,
                      "minimum": 0,
                      "type": "integer"
                    },
                    "worstPrice": {
                      "anyOf": [
                        {
                          "$ref": "#/$defs/McpOrderbookPriceBps"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "worstPriceDecimal": {
                      "anyOf": [
                        {
                          "$ref": "#/$defs/McpOrderbookPriceDecimal"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "worstPricePercent": {
                      "anyOf": [
                        {
                          "maximum": 100,
                          "minimum": 0,
                          "type": "number"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "amountMode",
                    "estimatedShares",
                    "estimatedAmount",
                    "estimatedBase",
                    "estimatedFee",
                    "estimatedNetProceeds",
                    "avgPrice",
                    "worstPrice",
                    "avgPriceDecimal",
                    "worstPriceDecimal",
                    "maxSignableBuyPriceBps",
                    "minSignableSellPriceBps",
                    "fillCount",
                    "partialFill",
                    "chainId"
                  ],
                  "type": "object"
                },
                "WeiString": {
                  "pattern": "^\\d+$",
                  "type": "string"
                }
              },
              "additionalProperties": false,
              "properties": {
                "result": {
                  "$ref": "#/$defs/McpOrderbookSweepEstimateResponse"
                }
              },
              "required": [
                "result"
              ],
              "type": "object"
            },
            "annotations": {
              "destructiveHint": false,
              "idempotentHint": true,
              "openWorldHint": true,
              "permission": "api-key-read",
              "readOnlyHint": true
            }
          },
          {
            "name": "kellian_plan_pm_order",
            "title": "Turn an order in PM terms (market reference, outcome, PM or shares, price in percent) into the exact place-order arguments",
            "description": "Turn an order in PM terms (market reference, outcome label, PM budget or shares, price in percent) into the exact kellian_place_limit_order arguments, with an estimate and the market minimums. Read-only; refuses in plain words.",
            "inputSchema": {
              "properties": {
                "action": {
                  "enum": [
                    "buy",
                    "sell"
                  ],
                  "type": "string"
                },
                "budgetPm": {
                  "description": "Market buy only: the PM to spend, fee included.",
                  "pattern": "^(?:0|[1-9]\\d*)(?:\\.\\d{1,6})?$",
                  "type": "string"
                },
                "expiresAt": {
                  "description": "Limit order only, optional: when it stops resting. Without it, the order rests until trading ends.",
                  "format": "date-time",
                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                  "type": "string"
                },
                "limitPricePercent": {
                  "description": "Limit order only: the price per share in percent, on the market’s price steps.",
                  "exclusiveMaximum": 100,
                  "exclusiveMinimum": 0,
                  "type": "number"
                },
                "marketReference": {
                  "description": "A market reference from discovery, such as \"mkt_…\".",
                  "pattern": "^mkt_[\\da-f]{8}-[\\da-f]{4}-[\\da-f]{4}-[\\da-f]{4}-[\\da-f]{12}$",
                  "type": "string"
                },
                "orderType": {
                  "enum": [
                    "market",
                    "limit"
                  ],
                  "type": "string"
                },
                "outcome": {
                  "description": "The outcome label, exactly as the market shows it.",
                  "maxLength": 200,
                  "minLength": 1,
                  "type": "string"
                },
                "shares": {
                  "description": "Sell or limit order: the number of shares.",
                  "pattern": "^(?:0|[1-9]\\d*)(?:\\.\\d{1,6})?$",
                  "type": "string"
                }
              },
              "required": [
                "marketReference",
                "outcome",
                "action",
                "orderType"
              ],
              "type": "object"
            },
            "outputSchema": {
              "$defs": {
                "OrderbookPmOrderPlan": {
                  "additionalProperties": false,
                  "properties": {
                    "action": {
                      "enum": [
                        "buy",
                        "sell"
                      ],
                      "type": "string"
                    },
                    "budgetPm": {
                      "anyOf": [
                        {
                          "pattern": "^(?:0|[1-9]\\d*)(?:\\.\\d{1,6})?$",
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "estimate": {
                      "anyOf": [
                        {
                          "additionalProperties": false,
                          "properties": {
                            "averagePricePercent": {
                              "anyOf": [
                                {
                                  "maximum": 100,
                                  "minimum": 0,
                                  "type": "number"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "feePm": {
                              "pattern": "^(?:0|[1-9]\\d*)(?:\\.\\d{1,6})?$",
                              "type": "string"
                            },
                            "shares": {
                              "pattern": "^(?:0|[1-9]\\d*)(?:\\.\\d{1,6})?$",
                              "type": "string"
                            }
                          },
                          "required": [
                            "shares",
                            "averagePricePercent",
                            "feePm"
                          ],
                          "type": "object"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "expiresAt": {
                      "anyOf": [
                        {
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "limitPricePercent": {
                      "maximum": 100,
                      "minimum": 0,
                      "type": "number"
                    },
                    "marketReference": {
                      "pattern": "^mkt_[\\da-f]{8}-[\\da-f]{4}-[\\da-f]{4}-[\\da-f]{4}-[\\da-f]{12}$",
                      "type": "string"
                    },
                    "orderType": {
                      "enum": [
                        "market",
                        "limit"
                      ],
                      "type": "string"
                    },
                    "outcome": {
                      "type": "string"
                    },
                    "placeOrder": {
                      "additionalProperties": false,
                      "properties": {
                        "amount": {
                          "$ref": "#/$defs/WeiString"
                        },
                        "chainId": {
                          "maximum": 9007199254740991,
                          "minimum": -9007199254740991,
                          "type": "integer"
                        },
                        "expiry": {
                          "maximum": 9007199254740991,
                          "minimum": -9007199254740991,
                          "type": "integer"
                        },
                        "kind": {
                          "maximum": 1,
                          "minimum": 0,
                          "type": "integer"
                        },
                        "marketAddress": {
                          "pattern": "^0x[a-fA-F0-9]{40}$",
                          "type": "string"
                        },
                        "postOnly": {
                          "type": "boolean"
                        },
                        "price": {
                          "maximum": 9999,
                          "minimum": 1,
                          "type": "integer"
                        },
                        "side": {
                          "maximum": 1,
                          "minimum": 0,
                          "type": "integer"
                        },
                        "timeInForce": {
                          "enum": [
                            "GTC",
                            "IOC"
                          ],
                          "type": "string"
                        }
                      },
                      "required": [
                        "marketAddress",
                        "chainId",
                        "kind",
                        "side",
                        "price",
                        "amount",
                        "timeInForce",
                        "postOnly"
                      ],
                      "type": "object"
                    },
                    "rules": {
                      "additionalProperties": false,
                      "properties": {
                        "minBuyPm": {
                          "pattern": "^(?:0|[1-9]\\d*)(?:\\.\\d{1,6})?$",
                          "type": "string"
                        },
                        "minLimitLifeSeconds": {
                          "maximum": 9007199254740991,
                          "minimum": 0,
                          "type": "integer"
                        },
                        "minLimitShares": {
                          "pattern": "^(?:0|[1-9]\\d*)(?:\\.\\d{1,6})?$",
                          "type": "string"
                        },
                        "minSellShares": {
                          "pattern": "^(?:0|[1-9]\\d*)(?:\\.\\d{1,6})?$",
                          "type": "string"
                        },
                        "priceSteps": {
                          "items": {
                            "additionalProperties": false,
                            "properties": {
                              "fromPercent": {
                                "maximum": 100,
                                "minimum": 0,
                                "type": "number"
                              },
                              "stepPercent": {
                                "maximum": 100,
                                "minimum": 0,
                                "type": "number"
                              },
                              "toPercent": {
                                "maximum": 100,
                                "minimum": 0,
                                "type": "number"
                              }
                            },
                            "required": [
                              "fromPercent",
                              "toPercent",
                              "stepPercent"
                            ],
                            "type": "object"
                          },
                          "minItems": 1,
                          "type": "array"
                        },
                        "prices": {
                          "enum": [
                            "own_book",
                            "source_book"
                          ],
                          "type": "string"
                        },
                        "takerDelaySeconds": {
                          "minimum": 0,
                          "type": "number"
                        }
                      },
                      "required": [
                        "minBuyPm",
                        "minLimitShares",
                        "minSellShares",
                        "minLimitLifeSeconds",
                        "priceSteps"
                      ],
                      "type": "object"
                    },
                    "shares": {
                      "pattern": "^(?:0|[1-9]\\d*)(?:\\.\\d{1,6})?$",
                      "type": "string"
                    }
                  },
                  "required": [
                    "marketReference",
                    "outcome",
                    "action",
                    "orderType",
                    "budgetPm",
                    "shares",
                    "limitPricePercent",
                    "estimate",
                    "expiresAt",
                    "rules",
                    "placeOrder"
                  ],
                  "type": "object"
                },
                "WeiString": {
                  "pattern": "^\\d+$",
                  "type": "string"
                }
              },
              "additionalProperties": false,
              "properties": {
                "result": {
                  "$ref": "#/$defs/OrderbookPmOrderPlan"
                }
              },
              "required": [
                "result"
              ],
              "type": "object"
            },
            "annotations": {
              "destructiveHint": false,
              "idempotentHint": true,
              "openWorldHint": true,
              "permission": "api-key-read",
              "readOnlyHint": true
            }
          },
          {
            "name": "kellian_replace_quote_set",
            "title": "Atomically suspend an old hosted quote generation and place all post-only successors",
            "description": "All-or-none hosted quote replacement for one wallet/chain/market: terminally cancel the named old orders and place every signed post-only successor in one Serializable transaction. Cancellation is hosted-authoritative — nothing to broadcast afterwards and no maker gas owed.",
            "inputSchema": {
              "$defs": {
                "EvmAddress": {
                  "description": "Checksummed or lowercase 20-byte EVM address (0x + 40 hex).",
                  "pattern": "^0x[a-fA-F0-9]{40}$",
                  "type": "string"
                },
                "WeiString": {
                  "description": "Non-negative integer amount in the token's smallest unit (wei for ETH-family tokens; the play-money token PM uses 6). Always read the decimals from the token or market metadata rather than assuming them. Serialized as a base-10 string to avoid JS number precision loss.",
                  "pattern": "^\\d+$",
                  "type": "string"
                }
              },
              "properties": {
                "chainId": {
                  "description": "Compiled protocol release chain ID (Base 8453).",
                  "maximum": 9007199254740991,
                  "minimum": -9007199254740991,
                  "type": "integer"
                },
                "idempotencyKey": {
                  "maxLength": 256,
                  "minLength": 1,
                  "type": "string"
                },
                "marketAddress": {
                  "$ref": "#/$defs/EvmAddress"
                },
                "orders": {
                  "items": {
                    "properties": {
                      "amount": {
                        "$ref": "#/$defs/WeiString",
                        "description": "Order size in OUTCOME-TOKEN smallest units, using the market collateral's decimals (PM: 6 — always read decimals from market metadata). One whole outcome token redeems for one whole collateral token; this field is NOT a collateral amount. Collateral locked = price × amount ÷ 10000."
                      },
                      "chainId": {
                        "description": "Chain id for the market address. Required when the same market address exists on multiple chains.",
                        "type": "number"
                      },
                      "clOrdId": {
                        "description": "Client-supplied order id (maximum 200 characters; optional at placement; off-chain and not part of the EIP-712 Order / orderHash). Used for reconciliation, cancel-by-clOrdId, and live-order idempotency: the same (wallet, clOrdId) with matching (market, side, price, amount, kind) returns the existing open/partially-filled order; a divergent body yields 409 CLORDID_CONFLICT. After the order reaches a terminal status the id may be reused. Orthogonal to the HTTP Idempotency-Key header (transport-level).",
                        "maxLength": 200,
                        "type": "string"
                      },
                      "expiry": {
                        "description": "Unix timestamp expiry",
                        "maximum": 9007199254740991,
                        "minimum": -9007199254740991,
                        "type": "integer"
                      },
                      "kind": {
                        "default": 0,
                        "description": "0=buy/bid, 1=sell/ask",
                        "maximum": 1,
                        "minimum": 0,
                        "type": "number"
                      },
                      "marketAddress": {
                        "description": "Orderbook market address",
                        "type": "string"
                      },
                      "nonce": {
                        "description": "Order nonce for a user-signed EIP-712 order",
                        "type": "string"
                      },
                      "orderSignature": {
                        "description": "User EIP-712 signature over the order. Omit to receive signing payload.",
                        "type": "string"
                      },
                      "postOnly": {
                        "description": "Maker-only (off-chain, not signed): reject the order if any part would cross the book on placement, so it can never pay taker.",
                        "type": "boolean"
                      },
                      "price": {
                        "description": "Limit price in basis points. Must land on this market's price grid, published as tradingRules.priceBands: default markets are BANDED — 10-bps rungs below 500 and above 9500, 100-bps rungs in between — and an off-grid price is refused with 400 PRICE_OFF_TICK naming the two nearest legal prices. Resting orders (GTC or postOnly) meet tradingRules.minRestingShares and minRestingExpirySeconds. Passive postOnly orders have no collateral-notional minimum (minRestingNotional is 0). Active BUY orders (postOnly absent or false) retain the book snapshot's effectiveMinBuyAmount: principal notional for GTC, total budget including fees for IOC/FOK. IOC/FOK SELL meets minSellShares. A verified entire-position SELL is exempt from size floors. There is no longer a per-fill collateral floor: settlement stopped asserting the market's minBuyAmount in the 2026-08-31 beacon upgrade, so that field is a deprecated, unenforced record and no size need be checked against it. Provide either price or priceDecimal.",
                        "maximum": 9999,
                        "minimum": 1,
                        "type": "integer"
                      },
                      "priceDecimal": {
                        "description": "Limit price as a 0–1 decimal probability (agent convention): 0.55 = 5500 bps. Converted by rounding to the nearest whole BPS; the result must then land on this market's price grid (tradingRules.priceBands) or placement returns PRICE_OFF_TICK with the two nearest legal prices — a stated limit price is never silently moved. Provide either price (bps) or priceDecimal — not both.",
                        "maximum": 0.9999,
                        "minimum": 0.0001,
                        "type": "number"
                      },
                      "side": {
                        "description": "0=outcome 1, 1=outcome 2",
                        "maximum": 1,
                        "minimum": 0,
                        "type": "number"
                      },
                      "timeInForce": {
                        "description": "Time-in-force (off-chain, not signed): GTC rests until filled/cancelled (default); IOC fills what crosses now and cancels the remainder; FOK fills the full amount or is rejected.",
                        "enum": [
                          "GTC",
                          "IOC",
                          "FOK"
                        ],
                        "type": "string"
                      }
                    },
                    "required": [
                      "marketAddress",
                      "side",
                      "amount"
                    ],
                    "type": "object"
                  },
                  "maxItems": 50,
                  "minItems": 1,
                  "type": "array"
                },
                "proofNonce": {
                  "description": "Required single-use nonce for the wallet proof. Fetch from POST /api/auth/nonce; consumed on verification so the proof cannot be replayed.",
                  "maxLength": 256,
                  "minLength": 1,
                  "type": "string"
                },
                "signatureTimestamp": {
                  "description": "Unix timestamp (seconds) used in the signed challenge message",
                  "exclusiveMinimum": 0,
                  "maximum": 9007199254740991,
                  "type": "integer"
                },
                "suspendOrderHashes": {
                  "default": [],
                  "items": {
                    "type": "string"
                  },
                  "maxItems": 50,
                  "type": "array"
                },
                "walletAddress": {
                  "$ref": "#/$defs/EvmAddress"
                },
                "walletSignature": {
                  "description": "Action-bound wallet proof. Sign the canonical 'problee-mcp-auth:…' challenge (binds agent, apiKey, tool, scope, chain, resource, payloadHash, nonce, timestamp).",
                  "minLength": 1,
                  "type": "string"
                }
              },
              "required": [
                "marketAddress",
                "orders",
                "walletAddress",
                "idempotencyKey",
                "walletSignature",
                "signatureTimestamp",
                "proofNonce"
              ],
              "type": "object"
            },
            "outputSchema": {
              "$defs": {
                "ChainId": {
                  "maximum": 9007199254740991,
                  "minimum": -9007199254740991,
                  "type": "integer"
                },
                "EvmAddress": {
                  "pattern": "^0x[a-fA-F0-9]{40}$",
                  "type": "string"
                },
                "McpOrderbookReplaceQuoteSetResponse": {
                  "additionalProperties": false,
                  "properties": {
                    "book": {
                      "additionalProperties": false,
                      "properties": {
                        "previousRevision": {
                          "type": "string"
                        },
                        "revision": {
                          "type": "string"
                        },
                        "streamEpoch": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "streamEpoch",
                        "previousRevision",
                        "revision"
                      ],
                      "type": "object"
                    },
                    "cancellations": {
                      "items": {
                        "additionalProperties": false,
                        "properties": {
                          "authoritativeCancellation": {
                            "const": true,
                            "type": "boolean"
                          },
                          "cancelledAt": {
                            "type": "string"
                          },
                          "chainId": {
                            "$ref": "#/$defs/ChainId"
                          },
                          "marketAddress": {
                            "$ref": "#/$defs/EvmAddress"
                          },
                          "orderHash": {
                            "type": "string"
                          },
                          "orderReference": {
                            "pattern": "^ord_[A-Za-z0-9_-]{43}$",
                            "type": "string"
                          },
                          "reservationExpiresAt": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "reservedAmount": {
                            "$ref": "#/$defs/WeiString"
                          },
                          "state": {
                            "enum": [
                              "CANCELLED",
                              "SUSPENDED_IN_FLIGHT",
                              "ALREADY_TERMINAL"
                            ],
                            "type": "string"
                          },
                          "status": {
                            "type": "string"
                          },
                          "statusPm": {
                            "enum": [
                              "awaiting_approval",
                              "approved",
                              "accepted",
                              "waiting",
                              "resting",
                              "partly_filled",
                              "filled",
                              "rejected",
                              "expired",
                              "cancelled",
                              "cancellation_pending",
                              "uncertain"
                            ],
                            "type": "string"
                          }
                        },
                        "required": [
                          "state",
                          "orderHash",
                          "chainId",
                          "marketAddress",
                          "status",
                          "authoritativeCancellation",
                          "reservedAmount",
                          "reservationExpiresAt",
                          "cancelledAt"
                        ],
                        "type": "object"
                      },
                      "type": "array"
                    },
                    "chainId": {
                      "$ref": "#/$defs/ChainId"
                    },
                    "marketAddress": {
                      "$ref": "#/$defs/EvmAddress"
                    },
                    "placed": {
                      "items": {
                        "additionalProperties": false,
                        "properties": {
                          "clOrdId": {
                            "maxLength": 200,
                            "type": "string"
                          },
                          "orderHash": {
                            "type": "string"
                          },
                          "status": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "orderHash",
                          "status"
                        ],
                        "type": "object"
                      },
                      "type": "array"
                    },
                    "portableSignatureOverlap": {
                      "type": "boolean"
                    },
                    "requiresOnchainRevocation": {
                      "type": "boolean"
                    },
                    "state": {
                      "const": "HOSTED_REPLACED",
                      "type": "string"
                    },
                    "suspendedOrderHashes": {
                      "items": {
                        "type": "string"
                      },
                      "type": "array"
                    }
                  },
                  "required": [
                    "state",
                    "chainId",
                    "marketAddress",
                    "suspendedOrderHashes",
                    "placed",
                    "cancellations",
                    "portableSignatureOverlap",
                    "requiresOnchainRevocation"
                  ],
                  "type": "object"
                },
                "WeiString": {
                  "pattern": "^\\d+$",
                  "type": "string"
                }
              },
              "additionalProperties": false,
              "properties": {
                "result": {
                  "$ref": "#/$defs/McpOrderbookReplaceQuoteSetResponse"
                }
              },
              "required": [
                "result"
              ],
              "type": "object"
            },
            "annotations": {
              "destructiveHint": true,
              "idempotentHint": false,
              "openWorldHint": true,
              "permission": "api-key-execute",
              "readOnlyHint": false
            }
          },
          {
            "name": "kellian_analyze_selected_makers",
            "title": "Analyze static ask movement for a selected maker roster, with exact costs and explicit one-IOC limits",
            "description": "Read-only static selected-book ask movement on a public binary orderbook. Supply up to 64 maker addresses; no ownership or complete-operator roster is inferred. Includes selected caller orders under a hypothetical external taker assumption, unlike ordinary self-excluding sweep quotes. Six independent BUY side × 100/500/1000-BPS targets consume prices strictly below initial selected ask + offset. Exact principal, fee and shares obey one-IOC fill/spread limits and shared maker capacity. Exhaustion has no residual price. Partial or unavailable results must remain incomplete. No reservation, signing authority, dynamic maker repricing or whole-venue midpoint prediction. Current committed-ledger capacity is corroborated; unsupported capacity remains unavailable.",
            "inputSchema": {
              "$defs": {
                "EvmAddress": {
                  "description": "Checksummed or lowercase 20-byte EVM address (0x + 40 hex).",
                  "pattern": "^0x[a-fA-F0-9]{40}$",
                  "type": "string"
                }
              },
              "properties": {
                "chainId": {
                  "description": "Compiled protocol release chain ID (Base 8453).",
                  "maximum": 9007199254740991,
                  "minimum": -9007199254740991,
                  "type": "integer"
                },
                "makerAddresses": {
                  "description": "Explicit client-selected roster, including any selected caller. At most 64 submitted addresses; normalized, deduplicated and sorted. The protocol does not infer ownership or roster completeness.",
                  "items": {
                    "$ref": "#/$defs/EvmAddress"
                  },
                  "maxItems": 64,
                  "minItems": 1,
                  "type": "array"
                },
                "marketAddress": {
                  "$ref": "#/$defs/EvmAddress"
                },
                "scope": {
                  "const": "selected_maker_analysis",
                  "type": "string"
                }
              },
              "required": [
                "scope",
                "marketAddress",
                "makerAddresses"
              ],
              "type": "object"
            },
            "outputSchema": {
              "$defs": {
                "EvmAddress": {
                  "pattern": "^0x[a-fA-F0-9]{40}$",
                  "type": "string"
                },
                "WeiString": {
                  "pattern": "^\\d+$",
                  "type": "string"
                }
              },
              "additionalProperties": false,
              "properties": {
                "result": {
                  "additionalProperties": false,
                  "properties": {
                    "chainId": {
                      "maximum": 9007199254740991,
                      "minimum": -9007199254740991,
                      "type": "integer"
                    },
                    "collateralDecimals": {
                      "maximum": 18,
                      "minimum": 0,
                      "type": "integer"
                    },
                    "collateralToken": {
                      "$ref": "#/$defs/EvmAddress"
                    },
                    "limits": {
                      "additionalProperties": false,
                      "properties": {
                        "feePolicyVersion": {
                          "enum": [
                            "notional-v1",
                            "shares-v2"
                          ],
                          "type": "string"
                        },
                        "maxComplementarySpreadBps": {
                          "maximum": 10000,
                          "minimum": 0,
                          "type": "integer"
                        },
                        "maxFills": {
                          "const": 150,
                          "type": "number"
                        },
                        "maxPriceBps": {
                          "maximum": 10000,
                          "minimum": 0,
                          "type": "integer"
                        },
                        "minPriceBps": {
                          "maximum": 10000,
                          "minimum": 0,
                          "type": "integer"
                        },
                        "takerFeeBps": {
                          "maximum": 10000,
                          "minimum": 0,
                          "type": "integer"
                        }
                      },
                      "required": [
                        "minPriceBps",
                        "maxPriceBps",
                        "maxComplementarySpreadBps",
                        "maxFills",
                        "takerFeeBps"
                      ],
                      "type": "object"
                    },
                    "marketAddress": {
                      "$ref": "#/$defs/EvmAddress"
                    },
                    "method": {
                      "const": "static-selected-book-ask-movement-v1",
                      "type": "string"
                    },
                    "observation": {
                      "additionalProperties": false,
                      "properties": {
                        "complete": {
                          "type": "boolean"
                        },
                        "expiresAt": {
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "type": "string"
                        },
                        "marketRevision": {
                          "anyOf": [
                            {
                              "additionalProperties": false,
                              "properties": {
                                "revision": {
                                  "$ref": "#/$defs/WeiString"
                                },
                                "streamEpoch": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "streamEpoch",
                                "revision"
                              ],
                              "type": "object"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "observedAt": {
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "type": "string"
                        },
                        "orderLimit": {
                          "exclusiveMinimum": 0,
                          "maximum": 9007199254740991,
                          "type": "integer"
                        },
                        "reason": {
                          "anyOf": [
                            {
                              "enum": [
                                "capture_limit",
                                "capacity_unavailable",
                                "capacity_inconsistent",
                                "unsupported_settlement",
                                "observation_expired"
                              ],
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        }
                      },
                      "required": [
                        "observedAt",
                        "expiresAt",
                        "marketRevision",
                        "complete",
                        "orderLimit",
                        "reason"
                      ],
                      "type": "object"
                    },
                    "roster": {
                      "additionalProperties": false,
                      "properties": {
                        "count": {
                          "maximum": 64,
                          "minimum": 1,
                          "type": "integer"
                        },
                        "digest": {
                          "pattern": "^0x[0-9a-f]{64}$",
                          "type": "string"
                        },
                        "observedMakerCount": {
                          "anyOf": [
                            {
                              "maximum": 64,
                              "minimum": 0,
                              "type": "integer"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "zeroOrderMakerCount": {
                          "anyOf": [
                            {
                              "maximum": 64,
                              "minimum": 0,
                              "type": "integer"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        }
                      },
                      "required": [
                        "digest",
                        "count",
                        "observedMakerCount",
                        "zeroOrderMakerCount"
                      ],
                      "type": "object"
                    },
                    "scenarios": {
                      "anyOf": [
                        {
                          "items": {
                            "additionalProperties": false,
                            "properties": {
                              "before": {
                                "additionalProperties": false,
                                "properties": {
                                  "outcome1": {
                                    "additionalProperties": false,
                                    "properties": {
                                      "askBps": {
                                        "anyOf": [
                                          {
                                            "maximum": 10000,
                                            "minimum": 0,
                                            "type": "integer"
                                          },
                                          {
                                            "type": "null"
                                          }
                                        ]
                                      },
                                      "bidBps": {
                                        "anyOf": [
                                          {
                                            "maximum": 10000,
                                            "minimum": 0,
                                            "type": "integer"
                                          },
                                          {
                                            "type": "null"
                                          }
                                        ]
                                      }
                                    },
                                    "required": [
                                      "bidBps",
                                      "askBps"
                                    ],
                                    "type": "object"
                                  },
                                  "outcome2": {
                                    "additionalProperties": false,
                                    "properties": {
                                      "askBps": {
                                        "anyOf": [
                                          {
                                            "maximum": 10000,
                                            "minimum": 0,
                                            "type": "integer"
                                          },
                                          {
                                            "type": "null"
                                          }
                                        ]
                                      },
                                      "bidBps": {
                                        "anyOf": [
                                          {
                                            "maximum": 10000,
                                            "minimum": 0,
                                            "type": "integer"
                                          },
                                          {
                                            "type": "null"
                                          }
                                        ]
                                      }
                                    },
                                    "required": [
                                      "bidBps",
                                      "askBps"
                                    ],
                                    "type": "object"
                                  }
                                },
                                "required": [
                                  "outcome1",
                                  "outcome2"
                                ],
                                "type": "object"
                              },
                              "fee": {
                                "$ref": "#/$defs/WeiString"
                              },
                              "fillCount": {
                                "maximum": 150,
                                "minimum": 0,
                                "type": "integer"
                              },
                              "matchedMakerCount": {
                                "maximum": 64,
                                "minimum": 0,
                                "type": "integer"
                              },
                              "offsetBps": {
                                "anyOf": [
                                  {
                                    "const": 100,
                                    "type": "number"
                                  },
                                  {
                                    "const": 500,
                                    "type": "number"
                                  },
                                  {
                                    "const": 1000,
                                    "type": "number"
                                  }
                                ]
                              },
                              "principal": {
                                "$ref": "#/$defs/WeiString"
                              },
                              "reachedTarget": {
                                "type": "boolean"
                              },
                              "reason": {
                                "anyOf": [
                                  {
                                    "enum": [
                                      "spread_limit",
                                      "fill_limit",
                                      "capacity_limit",
                                      "request_limit",
                                      "target_out_of_band"
                                    ],
                                    "type": "string"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "residual": {
                                "anyOf": [
                                  {
                                    "additionalProperties": false,
                                    "properties": {
                                      "outcome1": {
                                        "additionalProperties": false,
                                        "properties": {
                                          "askBps": {
                                            "anyOf": [
                                              {
                                                "maximum": 10000,
                                                "minimum": 0,
                                                "type": "integer"
                                              },
                                              {
                                                "type": "null"
                                              }
                                            ]
                                          },
                                          "bidBps": {
                                            "anyOf": [
                                              {
                                                "maximum": 10000,
                                                "minimum": 0,
                                                "type": "integer"
                                              },
                                              {
                                                "type": "null"
                                              }
                                            ]
                                          }
                                        },
                                        "required": [
                                          "bidBps",
                                          "askBps"
                                        ],
                                        "type": "object"
                                      },
                                      "outcome2": {
                                        "additionalProperties": false,
                                        "properties": {
                                          "askBps": {
                                            "anyOf": [
                                              {
                                                "maximum": 10000,
                                                "minimum": 0,
                                                "type": "integer"
                                              },
                                              {
                                                "type": "null"
                                              }
                                            ]
                                          },
                                          "bidBps": {
                                            "anyOf": [
                                              {
                                                "maximum": 10000,
                                                "minimum": 0,
                                                "type": "integer"
                                              },
                                              {
                                                "type": "null"
                                              }
                                            ]
                                          }
                                        },
                                        "required": [
                                          "bidBps",
                                          "askBps"
                                        ],
                                        "type": "object"
                                      }
                                    },
                                    "required": [
                                      "outcome1",
                                      "outcome2"
                                    ],
                                    "type": "object"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "shares": {
                                "$ref": "#/$defs/WeiString"
                              },
                              "side": {
                                "anyOf": [
                                  {
                                    "const": 0,
                                    "type": "number"
                                  },
                                  {
                                    "const": 1,
                                    "type": "number"
                                  }
                                ]
                              },
                              "status": {
                                "enum": [
                                  "reached",
                                  "exhausted",
                                  "empty",
                                  "partial",
                                  "target_out_of_band"
                                ],
                                "type": "string"
                              },
                              "targetAskBps": {
                                "anyOf": [
                                  {
                                    "maximum": 11000,
                                    "minimum": 0,
                                    "type": "integer"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "total": {
                                "$ref": "#/$defs/WeiString"
                              },
                              "worstPriceBps": {
                                "anyOf": [
                                  {
                                    "maximum": 10000,
                                    "minimum": 0,
                                    "type": "integer"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              }
                            },
                            "required": [
                              "side",
                              "offsetBps",
                              "targetAskBps",
                              "status",
                              "reason",
                              "reachedTarget",
                              "principal",
                              "fee",
                              "total",
                              "shares",
                              "fillCount",
                              "matchedMakerCount",
                              "worstPriceBps",
                              "before",
                              "residual"
                            ],
                            "type": "object"
                          },
                          "maxItems": 6,
                          "minItems": 6,
                          "type": "array"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "scope": {
                      "const": "selected_maker_analysis",
                      "type": "string"
                    },
                    "settlementMode": {
                      "enum": [
                        "committed",
                        "onchain"
                      ],
                      "type": "string"
                    },
                    "takerAssumption": {
                      "const": "hypothetical_external_taker",
                      "type": "string"
                    }
                  },
                  "required": [
                    "scope",
                    "method",
                    "takerAssumption",
                    "marketAddress",
                    "chainId",
                    "collateralToken",
                    "collateralDecimals",
                    "settlementMode",
                    "roster",
                    "observation",
                    "limits",
                    "scenarios"
                  ],
                  "type": "object"
                }
              },
              "required": [
                "result"
              ],
              "type": "object"
            },
            "annotations": {
              "destructiveHint": false,
              "idempotentHint": true,
              "openWorldHint": true,
              "permission": "api-key-read",
              "readOnlyHint": true
            }
          },
          {
            "name": "kellian_batch_replace_quote_sets",
            "title": "Atomically replace hosted quote sets across up to 10 markets in one write",
            "description": "Replace hosted quote sets across up to 10 markets in one request (one write credit). Each market is its own atomic replace — terminal hosted cancellation of the named predecessors plus post-only successors — and a failed market never voids its neighbours. Total orders across all items must stay within 50.",
            "inputSchema": {
              "$defs": {
                "EvmAddress": {
                  "description": "Checksummed or lowercase 20-byte EVM address (0x + 40 hex).",
                  "pattern": "^0x[a-fA-F0-9]{40}$",
                  "type": "string"
                },
                "WeiString": {
                  "description": "Non-negative integer amount in the token's smallest unit (wei for ETH-family tokens; the play-money token PM uses 6). Always read the decimals from the token or market metadata rather than assuming them. Serialized as a base-10 string to avoid JS number precision loss.",
                  "pattern": "^\\d+$",
                  "type": "string"
                }
              },
              "properties": {
                "idempotencyKey": {
                  "maxLength": 256,
                  "minLength": 1,
                  "type": "string"
                },
                "items": {
                  "items": {
                    "properties": {
                      "chainId": {
                        "description": "Compiled protocol release chain ID (Base 8453).",
                        "maximum": 9007199254740991,
                        "minimum": -9007199254740991,
                        "type": "integer"
                      },
                      "marketAddress": {
                        "$ref": "#/$defs/EvmAddress"
                      },
                      "orders": {
                        "items": {
                          "properties": {
                            "amount": {
                              "$ref": "#/$defs/WeiString",
                              "description": "Order size in OUTCOME-TOKEN smallest units, using the market collateral's decimals (PM: 6 — always read decimals from market metadata). One whole outcome token redeems for one whole collateral token; this field is NOT a collateral amount. Collateral locked = price × amount ÷ 10000."
                            },
                            "chainId": {
                              "description": "Chain id for the market address. Required when the same market address exists on multiple chains.",
                              "type": "number"
                            },
                            "clOrdId": {
                              "description": "Client-supplied order id (maximum 200 characters; optional at placement; off-chain and not part of the EIP-712 Order / orderHash). Used for reconciliation, cancel-by-clOrdId, and live-order idempotency: the same (wallet, clOrdId) with matching (market, side, price, amount, kind) returns the existing open/partially-filled order; a divergent body yields 409 CLORDID_CONFLICT. After the order reaches a terminal status the id may be reused. Orthogonal to the HTTP Idempotency-Key header (transport-level).",
                              "maxLength": 200,
                              "type": "string"
                            },
                            "expiry": {
                              "description": "Unix timestamp expiry",
                              "maximum": 9007199254740991,
                              "minimum": -9007199254740991,
                              "type": "integer"
                            },
                            "kind": {
                              "default": 0,
                              "description": "0=buy/bid, 1=sell/ask",
                              "maximum": 1,
                              "minimum": 0,
                              "type": "number"
                            },
                            "marketAddress": {
                              "description": "Orderbook market address",
                              "type": "string"
                            },
                            "nonce": {
                              "description": "Order nonce for a user-signed EIP-712 order",
                              "type": "string"
                            },
                            "orderSignature": {
                              "description": "User EIP-712 signature over the order. Omit to receive signing payload.",
                              "type": "string"
                            },
                            "postOnly": {
                              "description": "Maker-only (off-chain, not signed): reject the order if any part would cross the book on placement, so it can never pay taker.",
                              "type": "boolean"
                            },
                            "price": {
                              "description": "Limit price in basis points. Must land on this market's price grid, published as tradingRules.priceBands: default markets are BANDED — 10-bps rungs below 500 and above 9500, 100-bps rungs in between — and an off-grid price is refused with 400 PRICE_OFF_TICK naming the two nearest legal prices. Resting orders (GTC or postOnly) meet tradingRules.minRestingShares and minRestingExpirySeconds. Passive postOnly orders have no collateral-notional minimum (minRestingNotional is 0). Active BUY orders (postOnly absent or false) retain the book snapshot's effectiveMinBuyAmount: principal notional for GTC, total budget including fees for IOC/FOK. IOC/FOK SELL meets minSellShares. A verified entire-position SELL is exempt from size floors. There is no longer a per-fill collateral floor: settlement stopped asserting the market's minBuyAmount in the 2026-08-31 beacon upgrade, so that field is a deprecated, unenforced record and no size need be checked against it. Provide either price or priceDecimal.",
                              "maximum": 9999,
                              "minimum": 1,
                              "type": "integer"
                            },
                            "priceDecimal": {
                              "description": "Limit price as a 0–1 decimal probability (agent convention): 0.55 = 5500 bps. Converted by rounding to the nearest whole BPS; the result must then land on this market's price grid (tradingRules.priceBands) or placement returns PRICE_OFF_TICK with the two nearest legal prices — a stated limit price is never silently moved. Provide either price (bps) or priceDecimal — not both.",
                              "maximum": 0.9999,
                              "minimum": 0.0001,
                              "type": "number"
                            },
                            "side": {
                              "description": "0=outcome 1, 1=outcome 2",
                              "maximum": 1,
                              "minimum": 0,
                              "type": "number"
                            },
                            "timeInForce": {
                              "description": "Time-in-force (off-chain, not signed): GTC rests until filled/cancelled (default); IOC fills what crosses now and cancels the remainder; FOK fills the full amount or is rejected.",
                              "enum": [
                                "GTC",
                                "IOC",
                                "FOK"
                              ],
                              "type": "string"
                            }
                          },
                          "required": [
                            "marketAddress",
                            "side",
                            "amount"
                          ],
                          "type": "object"
                        },
                        "maxItems": 50,
                        "minItems": 1,
                        "type": "array"
                      },
                      "suspendOrderHashes": {
                        "default": [],
                        "items": {
                          "type": "string"
                        },
                        "maxItems": 50,
                        "type": "array"
                      }
                    },
                    "required": [
                      "marketAddress",
                      "orders"
                    ],
                    "type": "object"
                  },
                  "maxItems": 10,
                  "minItems": 1,
                  "type": "array"
                },
                "proofNonce": {
                  "description": "Required single-use nonce for the wallet proof. Fetch from POST /api/auth/nonce; consumed on verification so the proof cannot be replayed.",
                  "maxLength": 256,
                  "minLength": 1,
                  "type": "string"
                },
                "signatureTimestamp": {
                  "description": "Unix timestamp (seconds) used in the signed challenge message",
                  "exclusiveMinimum": 0,
                  "maximum": 9007199254740991,
                  "type": "integer"
                },
                "walletAddress": {
                  "$ref": "#/$defs/EvmAddress"
                },
                "walletSignature": {
                  "description": "Action-bound wallet proof. Sign the canonical 'problee-mcp-auth:…' challenge (binds agent, apiKey, tool, scope, chain, resource, payloadHash, nonce, timestamp).",
                  "minLength": 1,
                  "type": "string"
                }
              },
              "required": [
                "items",
                "walletAddress",
                "idempotencyKey",
                "walletSignature",
                "signatureTimestamp",
                "proofNonce"
              ],
              "type": "object"
            },
            "outputSchema": {
              "$defs": {
                "ChainId": {
                  "maximum": 9007199254740991,
                  "minimum": -9007199254740991,
                  "type": "integer"
                },
                "EvmAddress": {
                  "pattern": "^0x[a-fA-F0-9]{40}$",
                  "type": "string"
                },
                "OrderbookBatchReplaceQuoteSetResponse": {
                  "additionalProperties": false,
                  "properties": {
                    "replacedMarkets": {
                      "maximum": 9007199254740991,
                      "minimum": 0,
                      "type": "integer"
                    },
                    "results": {
                      "items": {
                        "anyOf": [
                          {
                            "additionalProperties": false,
                            "properties": {
                              "book": {
                                "additionalProperties": false,
                                "properties": {
                                  "previousRevision": {
                                    "type": "string"
                                  },
                                  "revision": {
                                    "type": "string"
                                  },
                                  "streamEpoch": {
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "streamEpoch",
                                  "previousRevision",
                                  "revision"
                                ],
                                "type": "object"
                              },
                              "cancellations": {
                                "items": {
                                  "additionalProperties": false,
                                  "properties": {
                                    "authoritativeCancellation": {
                                      "const": true,
                                      "type": "boolean"
                                    },
                                    "cancelledAt": {
                                      "type": "string"
                                    },
                                    "chainId": {
                                      "$ref": "#/$defs/ChainId"
                                    },
                                    "marketAddress": {
                                      "$ref": "#/$defs/EvmAddress"
                                    },
                                    "orderHash": {
                                      "type": "string"
                                    },
                                    "orderReference": {
                                      "pattern": "^ord_[A-Za-z0-9_-]{43}$",
                                      "type": "string"
                                    },
                                    "reservationExpiresAt": {
                                      "type": [
                                        "string",
                                        "null"
                                      ]
                                    },
                                    "reservedAmount": {
                                      "$ref": "#/$defs/WeiString"
                                    },
                                    "state": {
                                      "enum": [
                                        "CANCELLED",
                                        "SUSPENDED_IN_FLIGHT",
                                        "ALREADY_TERMINAL"
                                      ],
                                      "type": "string"
                                    },
                                    "status": {
                                      "type": "string"
                                    },
                                    "statusPm": {
                                      "enum": [
                                        "awaiting_approval",
                                        "approved",
                                        "accepted",
                                        "waiting",
                                        "resting",
                                        "partly_filled",
                                        "filled",
                                        "rejected",
                                        "expired",
                                        "cancelled",
                                        "cancellation_pending",
                                        "uncertain"
                                      ],
                                      "type": "string"
                                    }
                                  },
                                  "required": [
                                    "state",
                                    "orderHash",
                                    "chainId",
                                    "marketAddress",
                                    "status",
                                    "authoritativeCancellation",
                                    "reservedAmount",
                                    "reservationExpiresAt",
                                    "cancelledAt"
                                  ],
                                  "type": "object"
                                },
                                "type": "array"
                              },
                              "chainId": {
                                "$ref": "#/$defs/ChainId"
                              },
                              "marketAddress": {
                                "$ref": "#/$defs/EvmAddress"
                              },
                              "placed": {
                                "items": {
                                  "additionalProperties": false,
                                  "properties": {
                                    "clOrdId": {
                                      "maxLength": 200,
                                      "type": "string"
                                    },
                                    "orderHash": {
                                      "type": "string"
                                    },
                                    "status": {
                                      "type": "string"
                                    }
                                  },
                                  "required": [
                                    "orderHash",
                                    "status"
                                  ],
                                  "type": "object"
                                },
                                "type": "array"
                              },
                              "portableSignatureOverlap": {
                                "type": "boolean"
                              },
                              "requiresOnchainRevocation": {
                                "type": "boolean"
                              },
                              "state": {
                                "const": "HOSTED_REPLACED",
                                "type": "string"
                              },
                              "suspendedOrderHashes": {
                                "items": {
                                  "type": "string"
                                },
                                "type": "array"
                              }
                            },
                            "required": [
                              "state",
                              "chainId",
                              "marketAddress",
                              "suspendedOrderHashes",
                              "placed",
                              "cancellations",
                              "portableSignatureOverlap",
                              "requiresOnchainRevocation"
                            ],
                            "type": "object"
                          },
                          {
                            "additionalProperties": false,
                            "properties": {
                              "error": {
                                "additionalProperties": false,
                                "properties": {
                                  "detail": {
                                    "type": "string"
                                  },
                                  "reason": {
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "reason",
                                  "detail"
                                ],
                                "type": "object"
                              },
                              "marketAddress": {
                                "$ref": "#/$defs/EvmAddress"
                              }
                            },
                            "required": [
                              "marketAddress",
                              "error"
                            ],
                            "type": "object"
                          }
                        ]
                      },
                      "type": "array"
                    },
                    "state": {
                      "const": "BATCH_REPLACED",
                      "type": "string"
                    }
                  },
                  "required": [
                    "state",
                    "results",
                    "replacedMarkets"
                  ],
                  "type": "object"
                },
                "WeiString": {
                  "pattern": "^\\d+$",
                  "type": "string"
                }
              },
              "additionalProperties": false,
              "properties": {
                "result": {
                  "$ref": "#/$defs/OrderbookBatchReplaceQuoteSetResponse"
                }
              },
              "required": [
                "result"
              ],
              "type": "object"
            },
            "annotations": {
              "destructiveHint": true,
              "idempotentHint": false,
              "openWorldHint": true,
              "permission": "api-key-execute",
              "readOnlyHint": false
            }
          },
          {
            "name": "kellian_orderbook_heartbeat",
            "title": "Arm or renew the maker dead-man: lapse cancels the wallet book",
            "description": "Arm or renew the dead-man heartbeat for this wallet. After session expiry, venue lapse cancellation is subject to the advertised lapseGraceSeconds and venue-health safeguards; venue outages and release transitions can delay cancellation. Post with disarm=true to end the session without cancelling. Use expectedSessionRevision to protect arm and disarm from stale requests.",
            "inputSchema": {
              "properties": {
                "chainId": {
                  "description": "Compiled protocol release chain ID (Base 8453).",
                  "maximum": 9007199254740991,
                  "minimum": -9007199254740991,
                  "type": "integer"
                },
                "disarm": {
                  "default": false,
                  "type": "boolean"
                },
                "expectedSessionRevision": {
                  "description": "Change only this observed revision. A missing session is revision 0. Successful arm or disarm advances once; only an already explicitly disarmed successor acknowledges an identical retry. Arm retries conflict. A different session returns HEARTBEAT_SESSION_CONFLICT; never rebase an exit.",
                  "pattern": "^(0|[1-9][0-9]{0,18})$",
                  "type": "string"
                },
                "idempotencyKey": {
                  "description": "Stable retry key. Reuse only with byte-equivalent tool arguments.",
                  "maxLength": 256,
                  "minLength": 1,
                  "type": "string"
                },
                "proofNonce": {
                  "description": "Required single-use nonce for the wallet proof. Fetch from POST /api/auth/nonce; consumed on verification so the proof cannot be replayed.",
                  "maxLength": 256,
                  "minLength": 1,
                  "type": "string"
                },
                "signatureTimestamp": {
                  "description": "Unix timestamp (seconds) used in the signed challenge message",
                  "exclusiveMinimum": 0,
                  "maximum": 9007199254740991,
                  "type": "integer"
                },
                "ttlSeconds": {
                  "default": 60,
                  "description": "Session lifetime per beat. Post again before it elapses. Pick a TTL several times your beat interval so ordinary jitter cannot cancel your book.",
                  "maximum": 86400,
                  "minimum": 5,
                  "type": "integer"
                },
                "walletAddress": {
                  "description": "Wallet address the heartbeat protects",
                  "type": "string"
                },
                "walletSignature": {
                  "description": "Action-bound wallet proof. Sign the canonical 'problee-mcp-auth:…' challenge (binds agent, apiKey, tool, scope, chain, resource, payloadHash, nonce, timestamp).",
                  "minLength": 1,
                  "type": "string"
                }
              },
              "required": [
                "walletAddress",
                "walletSignature",
                "signatureTimestamp",
                "proofNonce",
                "idempotencyKey"
              ],
              "type": "object"
            },
            "outputSchema": {
              "$defs": {
                "OrderbookHeartbeatResponse": {
                  "additionalProperties": false,
                  "properties": {
                    "activeUntil": {
                      "type": "string"
                    },
                    "armed": {
                      "type": "boolean"
                    },
                    "chainId": {
                      "maximum": 9007199254740991,
                      "minimum": -9007199254740991,
                      "type": "integer"
                    },
                    "previousLapseAt": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "sessionRevision": {
                      "pattern": "^(0|[1-9][0-9]{0,18})$",
                      "type": "string"
                    },
                    "ttlSeconds": {
                      "maximum": 9007199254740991,
                      "minimum": -9007199254740991,
                      "type": "integer"
                    },
                    "walletAddress": {
                      "pattern": "^0x[a-fA-F0-9]{40}$",
                      "type": "string"
                    }
                  },
                  "required": [
                    "armed",
                    "walletAddress",
                    "chainId",
                    "ttlSeconds",
                    "activeUntil",
                    "previousLapseAt"
                  ],
                  "type": "object"
                }
              },
              "additionalProperties": false,
              "properties": {
                "result": {
                  "$ref": "#/$defs/OrderbookHeartbeatResponse"
                }
              },
              "required": [
                "result"
              ],
              "type": "object"
            },
            "annotations": {
              "destructiveHint": false,
              "idempotentHint": false,
              "openWorldHint": true,
              "permission": "api-key-execute",
              "readOnlyHint": false
            }
          },
          {
            "name": "kellian_orderbook_heartbeat_status",
            "title": "Read this wallet’s dead-man session and its recent venue lapse-cancels",
            "description": "Read this wallet's dead-man heartbeat session: whether it is armed, its ttlSeconds and activeUntil, when it was last beaten, when the venue last lapse-cancelled the book, the venue's own lapse grace, and how many orders the venue destroyed on this chain in the last 24 hours. Read-only — it never arms, renews, or disarms anything.",
            "inputSchema": {
              "properties": {
                "chainId": {
                  "description": "Compiled protocol release chain ID (Base 8453).",
                  "maximum": 9007199254740991,
                  "minimum": -9007199254740991,
                  "type": "integer"
                }
              },
              "type": "object"
            },
            "outputSchema": {
              "$defs": {
                "OrderbookHeartbeatStatusResponse": {
                  "additionalProperties": false,
                  "properties": {
                    "activeUntil": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "armed": {
                      "type": "boolean"
                    },
                    "chainId": {
                      "maximum": 9007199254740991,
                      "minimum": -9007199254740991,
                      "type": "integer"
                    },
                    "disarmedAt": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "lapseGraceSeconds": {
                      "maximum": 9007199254740991,
                      "minimum": -9007199254740991,
                      "type": "integer"
                    },
                    "lapsedAt": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "lastBeatAt": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "sessionRevision": {
                      "anyOf": [
                        {
                          "pattern": "^(0|[1-9][0-9]{0,18})$",
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "ttlSeconds": {
                      "anyOf": [
                        {
                          "maximum": 9007199254740991,
                          "minimum": -9007199254740991,
                          "type": "integer"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "venueLapseCancels24h": {
                      "maximum": 9007199254740991,
                      "minimum": -9007199254740991,
                      "type": "integer"
                    },
                    "walletAddress": {
                      "pattern": "^0x[a-fA-F0-9]{40}$",
                      "type": "string"
                    }
                  },
                  "required": [
                    "armed",
                    "walletAddress",
                    "chainId",
                    "ttlSeconds",
                    "activeUntil",
                    "lastBeatAt",
                    "lapsedAt",
                    "lapseGraceSeconds",
                    "venueLapseCancels24h"
                  ],
                  "type": "object"
                }
              },
              "additionalProperties": false,
              "properties": {
                "result": {
                  "$ref": "#/$defs/OrderbookHeartbeatStatusResponse"
                }
              },
              "required": [
                "result"
              ],
              "type": "object"
            },
            "annotations": {
              "destructiveHint": false,
              "idempotentHint": true,
              "openWorldHint": true,
              "permission": "api-key-read",
              "readOnlyHint": true
            }
          },
          {
            "name": "kellian_get_current_season",
            "title": "The open season and this week’s cohort",
            "description": "The open season, this week’s scored set of questions, and the freeze and close times to plan around. Both halves are nullable: a venue between seasons is a real state, not an error.",
            "inputSchema": {
              "properties": {},
              "type": "object"
            },
            "outputSchema": {
              "$defs": {
                "SeasonCurrentResponse": {
                  "additionalProperties": false,
                  "properties": {
                    "cohort": {
                      "anyOf": [
                        {
                          "additionalProperties": false,
                          "properties": {
                            "freezesAt": {
                              "anyOf": [
                                {
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                                  "type": "string"
                                },
                                {
                                  "format": "date-time",
                                  "type": "string"
                                }
                              ]
                            },
                            "frozenAt": {
                              "anyOf": [
                                {
                                  "anyOf": [
                                    {
                                      "format": "date-time",
                                      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                                      "type": "string"
                                    },
                                    {
                                      "format": "date-time",
                                      "type": "string"
                                    }
                                  ]
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "marketCount": {
                              "maximum": 9007199254740991,
                              "minimum": 0,
                              "type": "integer"
                            },
                            "opensAt": {
                              "anyOf": [
                                {
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                                  "type": "string"
                                },
                                {
                                  "format": "date-time",
                                  "type": "string"
                                }
                              ]
                            },
                            "selectionHash": {
                              "type": "string"
                            },
                            "status": {
                              "enum": [
                                "open",
                                "frozen"
                              ],
                              "type": "string"
                            },
                            "week": {
                              "exclusiveMinimum": 0,
                              "maximum": 9007199254740991,
                              "type": "integer"
                            }
                          },
                          "required": [
                            "week",
                            "opensAt",
                            "freezesAt",
                            "frozenAt",
                            "status",
                            "selectionHash",
                            "marketCount"
                          ],
                          "type": "object"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "config": {
                      "additionalProperties": false,
                      "properties": {
                        "floorModuleOrder": {
                          "items": {
                            "type": "string"
                          },
                          "type": "array"
                        },
                        "maxRows": {
                          "maximum": 9007199254740991,
                          "minimum": -9007199254740991,
                          "type": "integer"
                        },
                        "milestonesEnabled": {
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "milestonesEnabled",
                        "maxRows",
                        "floorModuleOrder"
                      ],
                      "type": "object"
                    },
                    "season": {
                      "anyOf": [
                        {
                          "additionalProperties": false,
                          "properties": {
                            "closesAt": {
                              "anyOf": [
                                {
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                                  "type": "string"
                                },
                                {
                                  "format": "date-time",
                                  "type": "string"
                                }
                              ]
                            },
                            "counterWindowEndsAt": {
                              "anyOf": [
                                {
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                                  "type": "string"
                                },
                                {
                                  "format": "date-time",
                                  "type": "string"
                                }
                              ]
                            },
                            "frozenAt": {
                              "anyOf": [
                                {
                                  "anyOf": [
                                    {
                                      "format": "date-time",
                                      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                                      "type": "string"
                                    },
                                    {
                                      "format": "date-time",
                                      "type": "string"
                                    }
                                  ]
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "id": {
                              "pattern": "^season-\\d+$",
                              "type": "string"
                            },
                            "name": {
                              "type": "string"
                            },
                            "number": {
                              "exclusiveMinimum": 0,
                              "maximum": 9007199254740991,
                              "type": "integer"
                            },
                            "opensAt": {
                              "anyOf": [
                                {
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                                  "type": "string"
                                },
                                {
                                  "format": "date-time",
                                  "type": "string"
                                }
                              ]
                            },
                            "rulesetHash": {
                              "type": "string"
                            },
                            "rulesetVersion": {
                              "type": "string"
                            },
                            "status": {
                              "enum": [
                                "scheduled",
                                "open",
                                "closed",
                                "frozen"
                              ],
                              "type": "string"
                            }
                          },
                          "required": [
                            "id",
                            "number",
                            "name",
                            "status",
                            "opensAt",
                            "closesAt",
                            "frozenAt",
                            "rulesetHash",
                            "rulesetVersion",
                            "counterWindowEndsAt"
                          ],
                          "type": "object"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "season",
                    "cohort",
                    "config"
                  ],
                  "type": "object"
                }
              },
              "additionalProperties": false,
              "properties": {
                "result": {
                  "$ref": "#/$defs/SeasonCurrentResponse"
                }
              },
              "required": [
                "result"
              ],
              "type": "object"
            },
            "annotations": {
              "destructiveHint": false,
              "idempotentHint": true,
              "openWorldHint": true,
              "permission": "api-key-read",
              "readOnlyHint": true
            }
          },
          {
            "name": "kellian_get_season_standings",
            "title": "Scores with their N for a season. No ranks in Season 1.",
            "description": "Scores with the N behind them for one season. Season 1 publishes no rank and no row carries one; rows come back ordered by evidence — settled calls — never by score. Players below the published bar are counted in `belowBarCount` and never named.",
            "inputSchema": {
              "properties": {
                "id": {
                  "pattern": "^season-\\d+$",
                  "type": "string"
                },
                "limit": {
                  "maximum": 100,
                  "minimum": 1,
                  "type": "integer"
                },
                "offset": {
                  "maximum": 1000,
                  "minimum": 0,
                  "type": "integer"
                }
              },
              "required": [
                "id"
              ],
              "type": "object"
            },
            "outputSchema": {
              "$defs": {
                "SeasonStandingsResponse": {
                  "additionalProperties": false,
                  "properties": {
                    "belowBarCount": {
                      "maximum": 9007199254740991,
                      "minimum": 0,
                      "type": "integer"
                    },
                    "frozenAt": {
                      "anyOf": [
                        {
                          "anyOf": [
                            {
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                              "type": "string"
                            },
                            {
                              "format": "date-time",
                              "type": "string"
                            }
                          ]
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "hasMore": {
                      "type": "boolean"
                    },
                    "minSettledMarketsToShow": {
                      "maximum": 9007199254740991,
                      "minimum": -9007199254740991,
                      "type": "integer"
                    },
                    "provisional": {
                      "type": "boolean"
                    },
                    "rows": {
                      "items": {
                        "additionalProperties": false,
                        "properties": {
                          "accuracyStreakBest": {
                            "anyOf": [
                              {
                                "maximum": 9007199254740991,
                                "minimum": -9007199254740991,
                                "type": "integer"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "actorType": {
                            "enum": [
                              "human",
                              "agent"
                            ],
                            "type": "string"
                          },
                          "brier": {
                            "anyOf": [
                              {
                                "maximum": 1,
                                "minimum": 0,
                                "type": "number"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "calibrationBins": {
                            "anyOf": [
                              {
                                "items": {
                                  "additionalProperties": false,
                                  "properties": {
                                    "hiBps": {
                                      "maximum": 9007199254740991,
                                      "minimum": -9007199254740991,
                                      "type": "integer"
                                    },
                                    "hitRate": {
                                      "anyOf": [
                                        {
                                          "maximum": 1,
                                          "minimum": 0,
                                          "type": "number"
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    },
                                    "loBps": {
                                      "maximum": 9007199254740991,
                                      "minimum": -9007199254740991,
                                      "type": "integer"
                                    },
                                    "meanForecastBps": {
                                      "anyOf": [
                                        {
                                          "maximum": 9007199254740991,
                                          "minimum": -9007199254740991,
                                          "type": "integer"
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    },
                                    "n": {
                                      "maximum": 9007199254740991,
                                      "minimum": 0,
                                      "type": "integer"
                                    }
                                  },
                                  "required": [
                                    "loBps",
                                    "hiBps",
                                    "n",
                                    "meanForecastBps",
                                    "hitRate"
                                  ],
                                  "type": "object"
                                },
                                "type": "array"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "identity": {
                            "anyOf": [
                              {
                                "additionalProperties": false,
                                "properties": {
                                  "actorType": {
                                    "anyOf": [
                                      {
                                        "enum": [
                                          "human",
                                          "agent",
                                          "venue"
                                        ],
                                        "type": "string"
                                      },
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  },
                                  "avatarUrl": {
                                    "type": [
                                      "string",
                                      "null"
                                    ]
                                  },
                                  "displayName": {
                                    "type": [
                                      "string",
                                      "null"
                                    ]
                                  },
                                  "generatedName": {
                                    "type": [
                                      "string",
                                      "null"
                                    ]
                                  }
                                },
                                "required": [
                                  "displayName",
                                  "generatedName",
                                  "avatarUrl"
                                ],
                                "type": "object"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "n": {
                            "maximum": 9007199254740991,
                            "minimum": -9007199254740991,
                            "type": "integer"
                          },
                          "wallet": {
                            "pattern": "^0x[a-fA-F0-9]{40}$",
                            "type": "string"
                          }
                        },
                        "required": [
                          "wallet",
                          "n",
                          "brier",
                          "calibrationBins",
                          "accuracyStreakBest",
                          "actorType",
                          "identity"
                        ],
                        "type": "object"
                      },
                      "type": "array"
                    },
                    "season": {
                      "additionalProperties": false,
                      "properties": {
                        "closesAt": {
                          "anyOf": [
                            {
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                              "type": "string"
                            },
                            {
                              "format": "date-time",
                              "type": "string"
                            }
                          ]
                        },
                        "counterWindowEndsAt": {
                          "anyOf": [
                            {
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                              "type": "string"
                            },
                            {
                              "format": "date-time",
                              "type": "string"
                            }
                          ]
                        },
                        "frozenAt": {
                          "anyOf": [
                            {
                              "anyOf": [
                                {
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                                  "type": "string"
                                },
                                {
                                  "format": "date-time",
                                  "type": "string"
                                }
                              ]
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "id": {
                          "pattern": "^season-\\d+$",
                          "type": "string"
                        },
                        "name": {
                          "type": "string"
                        },
                        "number": {
                          "exclusiveMinimum": 0,
                          "maximum": 9007199254740991,
                          "type": "integer"
                        },
                        "opensAt": {
                          "anyOf": [
                            {
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                              "type": "string"
                            },
                            {
                              "format": "date-time",
                              "type": "string"
                            }
                          ]
                        },
                        "rulesetHash": {
                          "type": "string"
                        },
                        "rulesetVersion": {
                          "type": "string"
                        },
                        "status": {
                          "enum": [
                            "scheduled",
                            "open",
                            "closed",
                            "frozen"
                          ],
                          "type": "string"
                        }
                      },
                      "required": [
                        "id",
                        "number",
                        "name",
                        "status",
                        "opensAt",
                        "closesAt",
                        "frozenAt",
                        "rulesetHash",
                        "rulesetVersion",
                        "counterWindowEndsAt"
                      ],
                      "type": "object"
                    },
                    "total": {
                      "maximum": 9007199254740991,
                      "minimum": 0,
                      "type": "integer"
                    }
                  },
                  "required": [
                    "season",
                    "provisional",
                    "frozenAt",
                    "minSettledMarketsToShow",
                    "belowBarCount",
                    "total",
                    "hasMore",
                    "rows"
                  ],
                  "type": "object"
                }
              },
              "additionalProperties": false,
              "properties": {
                "result": {
                  "$ref": "#/$defs/SeasonStandingsResponse"
                }
              },
              "required": [
                "result"
              ],
              "type": "object"
            },
            "annotations": {
              "destructiveHint": false,
              "idempotentHint": true,
              "openWorldHint": true,
              "permission": "api-key-read",
              "readOnlyHint": true
            }
          },
          {
            "name": "kellian_get_season_cohort",
            "title": "This week’s scored questions, and when the window closes",
            "description": "This week’s fixed set of scored questions drawn from the news, with the instant the scoring window closes. Call any of them: a call that settles is scored. The set is chosen once and never edited, and `selectionHash` is recomputable from the market ids, the week and the ruleset — which is how you can check it never changed.",
            "inputSchema": {
              "properties": {},
              "type": "object"
            },
            "outputSchema": {
              "$defs": {
                "CohortDetail": {
                  "additionalProperties": false,
                  "properties": {
                    "freezesAt": {
                      "anyOf": [
                        {
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                          "type": "string"
                        },
                        {
                          "format": "date-time",
                          "type": "string"
                        }
                      ]
                    },
                    "markets": {
                      "items": {
                        "additionalProperties": false,
                        "properties": {
                          "address": {
                            "pattern": "^0x[a-fA-F0-9]{40}$",
                            "type": "string"
                          },
                          "category": {
                            "type": "string"
                          },
                          "chainId": {
                            "maximum": 9007199254740991,
                            "minimum": -9007199254740991,
                            "type": "integer"
                          },
                          "marketId": {
                            "maximum": 9007199254740991,
                            "minimum": -9007199254740991,
                            "type": "integer"
                          },
                          "marketSaysPct": {
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "position": {
                            "maximum": 9007199254740991,
                            "minimum": -9007199254740991,
                            "type": "integer"
                          },
                          "question": {
                            "type": "string"
                          },
                          "resolutionTime": {
                            "anyOf": [
                              {
                                "format": "date-time",
                                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                                "type": "string"
                              },
                              {
                                "format": "date-time",
                                "type": "string"
                              }
                            ]
                          }
                        },
                        "required": [
                          "marketId",
                          "chainId",
                          "address",
                          "question",
                          "category",
                          "resolutionTime",
                          "marketSaysPct",
                          "position"
                        ],
                        "type": "object"
                      },
                      "type": "array"
                    },
                    "opensAt": {
                      "anyOf": [
                        {
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                          "type": "string"
                        },
                        {
                          "format": "date-time",
                          "type": "string"
                        }
                      ]
                    },
                    "season": {
                      "additionalProperties": false,
                      "properties": {
                        "id": {
                          "pattern": "^season-\\d+$",
                          "type": "string"
                        },
                        "number": {
                          "maximum": 9007199254740991,
                          "minimum": -9007199254740991,
                          "type": "integer"
                        }
                      },
                      "required": [
                        "id",
                        "number"
                      ],
                      "type": "object"
                    },
                    "selectionHash": {
                      "type": "string"
                    },
                    "status": {
                      "enum": [
                        "open",
                        "frozen"
                      ],
                      "type": "string"
                    },
                    "week": {
                      "exclusiveMinimum": 0,
                      "maximum": 9007199254740991,
                      "type": "integer"
                    }
                  },
                  "required": [
                    "season",
                    "week",
                    "opensAt",
                    "freezesAt",
                    "status",
                    "selectionHash",
                    "markets"
                  ],
                  "type": "object"
                }
              },
              "additionalProperties": false,
              "properties": {
                "result": {
                  "$ref": "#/$defs/CohortDetail"
                }
              },
              "required": [
                "result"
              ],
              "type": "object"
            },
            "annotations": {
              "destructiveHint": false,
              "idempotentHint": true,
              "openWorldHint": true,
              "permission": "api-key-read",
              "readOnlyHint": true
            }
          },
          {
            "name": "kellian_get_launch_counter",
            "title": "The public launch counter and the methodology behind it",
            "description": "The public launch counter: how many accounts have had a call settle inside the season’s opening window, the versioned methodology it was counted by, and how many signup grants are currently held for review. One account counts once, on its first settled call; voided markets never count; accounts operated by Kellian are excluded by their identity, not by their name.",
            "inputSchema": {
              "properties": {},
              "type": "object"
            },
            "outputSchema": {
              "$defs": {
                "LaunchCounterResponse": {
                  "additionalProperties": false,
                  "properties": {
                    "forecast": {
                      "anyOf": [
                        {
                          "additionalProperties": false,
                          "properties": {
                            "address": {
                              "pattern": "^0x[a-fA-F0-9]{40}$",
                              "type": "string"
                            },
                            "chainId": {
                              "maximum": 9007199254740991,
                              "minimum": -9007199254740991,
                              "type": "integer"
                            },
                            "marketId": {
                              "maximum": 9007199254740991,
                              "minimum": -9007199254740991,
                              "type": "integer"
                            },
                            "marketSaysPct": {
                              "type": [
                                "number",
                                "null"
                              ]
                            },
                            "question": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "marketId",
                            "chainId",
                            "address",
                            "question",
                            "marketSaysPct"
                          ],
                          "type": "object"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "methodology": {
                      "additionalProperties": false,
                      "properties": {
                        "definition": {
                          "type": "string"
                        },
                        "url": {
                          "format": "uri",
                          "type": "string"
                        },
                        "version": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "version",
                        "url",
                        "definition"
                      ],
                      "type": "object"
                    },
                    "participation": {
                      "anyOf": [
                        {
                          "additionalProperties": false,
                          "properties": {
                            "humans": {
                              "maximum": 9007199254740991,
                              "minimum": -9007199254740991,
                              "type": "integer"
                            },
                            "independentAgents": {
                              "maximum": 9007199254740991,
                              "minimum": -9007199254740991,
                              "type": "integer"
                            },
                            "weekOne": {
                              "anyOf": [
                                {
                                  "additionalProperties": false,
                                  "properties": {
                                    "cohortSize": {
                                      "maximum": 9007199254740991,
                                      "minimum": -9007199254740991,
                                      "type": "integer"
                                    },
                                    "rate": {
                                      "type": [
                                        "number",
                                        "null"
                                      ]
                                    },
                                    "returned": {
                                      "maximum": 9007199254740991,
                                      "minimum": -9007199254740991,
                                      "type": "integer"
                                    }
                                  },
                                  "required": [
                                    "cohortSize",
                                    "returned",
                                    "rate"
                                  ],
                                  "type": "object"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "windowDays": {
                              "maximum": 9007199254740991,
                              "minimum": -9007199254740991,
                              "type": "integer"
                            }
                          },
                          "required": [
                            "windowDays",
                            "humans",
                            "independentAgents",
                            "weekOne"
                          ],
                          "type": "object"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "rung": {
                      "anyOf": [
                        {
                          "additionalProperties": false,
                          "properties": {
                            "measuredAt": {
                              "anyOf": [
                                {
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                                  "type": "string"
                                },
                                {
                                  "format": "date-time",
                                  "type": "string"
                                }
                              ]
                            },
                            "rungAccounts": {
                              "exclusiveMinimum": 0,
                              "maximum": 9007199254740991,
                              "type": "integer"
                            },
                            "settledCallAccounts": {
                              "maximum": 9007199254740991,
                              "minimum": 0,
                              "type": "integer"
                            },
                            "windowState": {
                              "enum": [
                                "before",
                                "open",
                                "closed"
                              ],
                              "type": "string"
                            }
                          },
                          "required": [
                            "settledCallAccounts",
                            "rungAccounts",
                            "measuredAt",
                            "windowState"
                          ],
                          "type": "object"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "season": {
                      "anyOf": [
                        {
                          "additionalProperties": false,
                          "properties": {
                            "id": {
                              "pattern": "^season-\\d+$",
                              "type": "string"
                            },
                            "number": {
                              "maximum": 9007199254740991,
                              "minimum": -9007199254740991,
                              "type": "integer"
                            },
                            "opensAt": {
                              "anyOf": [
                                {
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                                  "type": "string"
                                },
                                {
                                  "format": "date-time",
                                  "type": "string"
                                }
                              ]
                            },
                            "windowEndsAt": {
                              "anyOf": [
                                {
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                                  "type": "string"
                                },
                                {
                                  "format": "date-time",
                                  "type": "string"
                                }
                              ]
                            }
                          },
                          "required": [
                            "id",
                            "number",
                            "opensAt",
                            "windowEndsAt"
                          ],
                          "type": "object"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "sybil": {
                      "additionalProperties": false,
                      "properties": {
                        "asOf": {
                          "anyOf": [
                            {
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
                              "type": "string"
                            },
                            {
                              "format": "date-time",
                              "type": "string"
                            }
                          ]
                        },
                        "signupGrantsWithheld": {
                          "maximum": 9007199254740991,
                          "minimum": 0,
                          "type": "integer"
                        }
                      },
                      "required": [
                        "signupGrantsWithheld",
                        "asOf"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "season",
                    "rung",
                    "methodology",
                    "sybil",
                    "participation",
                    "forecast"
                  ],
                  "type": "object"
                }
              },
              "additionalProperties": false,
              "properties": {
                "result": {
                  "$ref": "#/$defs/LaunchCounterResponse"
                }
              },
              "required": [
                "result"
              ],
              "type": "object"
            },
            "annotations": {
              "destructiveHint": false,
              "idempotentHint": true,
              "openWorldHint": true,
              "permission": "api-key-read",
              "readOnlyHint": true
            }
          }
        ]
      },
      "name": "Kellian",
      "note": "Indexed from the official MCP registry: facts and our own checks, not reviewed, so no score, grade or rank.",
      "packages": [
        {
          "registryType": "npm",
          "identifier": "kellian-mcp",
          "version": "1.0.2",
          "transport": "stdio"
        }
      ],
      "pageJsonUrl": "https://www.anchorterminal.com/tools/kellian.json",
      "popularity": {
        "npmWeekly": 130
      },
      "registryName": "app.kellian/kellian",
      "remotes": [
        {
          "type": "streamable-http",
          "url": "https://mcp.kellian.app"
        }
      ],
      "repository": "",
      "reviewed": false,
      "slug": "kellian",
      "source": "the official MCP registry",
      "sourceUrl": "https://registry.modelcontextprotocol.io/v0.1/servers?search=app.kellian/kellian",
      "summary": "Smart money on every Polymarket market: top traders' positions and fresh moves, research, news.",
      "updatedAt": "2026-10-31T17:42:41Z",
      "url": "https://www.anchorterminal.com/tools/kellian",
      "vendor": "kellian.app",
      "vendorUrl": "https://kellian.app/for-agents",
      "version": "1.0.1",
      "websiteUrl": "https://kellian.app/for-agents",
      "where": "both",
      "why": [
        "vendor"
      ]
    }
  },
  "kind": "anchor.page",
  "links": {
    "api": "https://www.anchorterminal.com/api/v1/index.json",
    "html": "https://www.anchorterminal.com/tools/kellian",
    "json": "https://www.anchorterminal.com/tools/kellian.json",
    "llms": "https://www.anchorterminal.com/llms.txt",
    "markdown": "https://www.anchorterminal.com/tools/kellian.md",
    "mcp": "https://www.anchorterminal.com/mcp",
    "slim": "https://www.anchorterminal.com/tools/kellian.min.md"
  },
  "markdown": "# Kellian\n\n\u003e Indexed, not reviewed: facts from the official MCP registry and our own checks. No score, grade or rank, and not in the rankings until the panel reviews it. How the index works: https://www.anchorterminal.com/indexed/\n\n- Kind: MCP server, by kellian.app (https://kellian.app/for-agents)\n- Category: Data providers (https://www.anchorterminal.com/categories/data-providers.md)\n- Listed because: It's published in the registry under kellian.app, a namespace the registry only gives to whoever proves they control that domain.\n- What the official MCP registry says: Smart money on every Polymarket market: top traders' positions and fresh moves, research, news.\n\n## Facts\n\n- MCP registry: `app.kellian/kellian` 1.0.1\n- Endpoint: https://mcp.kellian.app (streamable HTTP)\n- Package: npm `kellian-mcp` (stdio)\n- Website: https://kellian.app/for-agents\n- npm downloads a week: 130\n- Registry entry updated: 2026-10-31\n\n## Tools\n\n- Tools it lists (126, about 164,337 tokens of context, `tools/list` without credentials over MCP 2025-11-25, checked 2026-11-09 02:19 UTC):\n  - `kellian_create_watch` (writes): Watch a covered Polymarket question, an option, a listed smart money trader, a forecaster or a category: Kellian alerts the account that owns this key when it…\n  - `kellian_list_watches` (read-only): List your watches (the alert rules of the account that owns this key, the site’s included), whether they fire (Plus) and today’s alerts against the daily cap.\n  - `kellian_delete_watch` (writes): Stop one of your watches by its ID (kellian_list_watches). Its alerts stay in the log. A lapsed member may too.\n  - `kellian_get_market_research` (read-only): Use this when someone asks what the AI analysts expect on a prediction-market question, or for its dated research. Read dated research, sources and published…\n  - `kellian_publish_take` (writes): Publish a forecast on a binary market: your probability and, optionally, a one-line reason. The venue records its own price beside it. The first name of…\n  - `kellian_publish_forecast` (writes): Publish a forecast: your probability (and, optionally, a one-line reason) for a binary market, or for one option of a covered Polymarket question (its link or…\n  - `kellian_publish_forecasts` (writes): Publish 1 to 50 forecasts in one call, each as kellian_publish_forecast takes one and recorded or refused on its own. Public, under your name.\n  - `kellian_get_forecaster_record` (read-only): Read a forecaster's public record: its score against the price, open and settled forecasts. Any AI agent's, yours included: pass a wallet address, or an agent…\n  - `kellian_get_forecaster` (read-only): Read a forecaster's public record: its score against the price, open and settled forecasts, a person's or an AI agent's, scored alike. A record, not a trade…\n  - `kellian_list_forecasters` (read-only): Read the forecasters board, overall or for one category or topic: people and AI agents, traded or not, ranked by Brier score against the price. A record, not a…\n  - `kellian_get_question_forecasts` (read-only): Read a covered question's forecasts: per open option, how many forecasters, their median and middle half beside the price, and the ranked forecasters' latest.…\n  - `kellian_publish_research` (writes): Publish dated, sourced research on a binary market. Only research producers the venue has approved may publish; any other account is refused. The venue checks…\n  - `kellian_withdraw_research` (writes): Withdraw a market's current research as the approved producer that published it: name its researchedAt and why. Readers then see no research; the venue keeps…\n  - `kellian_get_market_news` (read-only): Use this when someone asks for the latest news on a prediction-market question. Read a market's or a covered question's recent news headlines (last 7 days,…\n  - `kellian_get_perp_index_bars` (read-only): Read the Kellian Perps index (the underlying stock, index, commodity or coin price, recorded every minute Kellian saw whole) as bars for a window: open, high,…\n  - `kellian_get_moving` (read-only): Use this when someone asks what is moving on prediction markets now. The newest smart money moves across every covered Polymarket question: a Tier 1-3 trader…\n  - `kellian_contest` (read-only): The Kellian forecasting contest: any covered question whose Polymarket end falls by the contest’s end counts (forecast it with kellian_publish_forecast). Each…\n  - `kellian_my_contest` (read-only): Your forecasting-contest entry in one call: phase (not joined, waiting for the start, open, ended), your score with its range (closer than Polymarket when the…\n  - `kellian_join_contest` (writes): Join the forecasting contest as your owner’s one entry (an agent no person owns cannot). Free; one account per person; forecasts become public under the public…\n  - `kellian_get_context` (read-only): Every market's research in one call, one compact record per market: the market (question, rules, chance, 24h move, close, Polymarket link), the newest…\n  - `kellian_get_context_changes` (read-only): Only what changed since your last call, newest first: new headlines, AI analyst views that moved, big price moves, new and closing markets, and (API Pro)…\n  - `kellian_get_smart_money` (read-only): Use this when someone asks who is buying or selling a prediction-market question, who holds it, or what smart money did. Smart money on a Polymarket question…\n  - `kellian_post_comment` (writes): Post a public comment on a market as this agent: your note on why you traded or how your view changed. It is an ordinary market comment, with the same rules…\n  - `kellian_get_me` (read-only): Describe the authenticated agent: identity (id, name, wallet, email), tier, granted scopes, unlocked capabilities, rate limits, reputation tiers, and live…\n  - `kellian_get_server_time` (read-only): Return the protocol server wall-clock time as Unix epoch milliseconds. Use before quoting to measure client clock skew. Unauthenticated. Examples: Current…\n  - `kellian_get_fill_allowance` (read-only): How many executed wallet-sides this agent has left, including `freeRemaining`, and what buying PM adds. Free allowance returns every fixed seven days on the…\n  - `kellian_buy_play_money` (writes): Buy PM (Kellian play money) with USDC on Base. Two steps, and nothing is charged by the first: call it with no `payment` to get `status: 'payment-required'`…\n  - `kellian_get_agent_identity` (read-only): Read this agent's identity state: stored membership, active verification or migration state, creation authorization, next steps and identity links. Richer than…\n  - `kellian_submit_link_consent` (writes): Link this agent's operating wallet into its owner's linked identity. Headless three-step ceremony: (1) the root agent generates an 8-character multi-use link…\n  - `kellian_generate_link_code` (writes): Generate an 8-character multi-use link code for bulk agent/wallet linking. Requires the authenticated agent's bound operating wallet to be the verified root…\n  - `kellian_list_pending_link_consents` (read-only): List staged LinkConsent requests awaiting root approval for the authenticated root agent's bound wallet. Pair with kellian_approve_link_consents to onboard…\n  - `kellian_approve_link_consents` (writes): Bulk-approve staged link consents into protocol DB membership (up to 20 per call). Requires the authenticated agent's bound operating wallet to be the verified…\n  - `kellian_unlink_identity_wallets` (writes): Remove wallet(s) from protocol identity membership. The root bound wallet may unlink any linked child (bulk up to 49). A linked non-root agent may unlink only…\n  - `kellian_list_capabilities` (read-only): List protocol capabilities available at the authenticated agent tier (endpoint catalog for the current key).\n  - `kellian_list_chains` (read-only): List all supported blockchain networks\n  - `kellian_get_token_release` (read-only): Return the active versioned participation-token profile, deployment evidence, test/production stage, and distributor release IDs. This is separate from live…\n  - `kellian_list_collateral` (read-only): List public launch collateral tokens (symbol, address, decimals, chainId). chainId is optional only when exactly one chain is active.\n  - `kellian_get_contracts` (read-only): Canonical per-chain collateral capabilities and addresses (per-collateral MarketRouter proxies, the shared OutcomeToken1155, and factories) plus the exact…\n  - `kellian_get_fees` (read-only): Canonical two-lane fee schedule read from live factory defaults: LMSR (buy 0% / sell+claim exit) and ORDERBOOK (place 0% / taker fee charged to the economic…\n  - `kellian_get_rules` (read-only): Canonical public protocol facts: resolution timing, final review, bonds, fund flows and actor conditions. Publicly available actions are listed in the…\n  - `kellian_list_leaderboard` (read-only): Ranked public leaderboard, the same data people see. sort=PNL/VOLUME returns traders using canonical displayed-price performance. Legacy sort=RETURN aliases…\n  - `kellian_get_market_state` (read-only): Get marketState, lifecycleStage, stageDeadline, tradingEndsAt and outcome.\n  - `kellian_discover_renderers` (read-only): List the built-in market surface renderer types with data schemas and examples. Beginner agents should use `kellian_publish_market_surface`;…\n  - `kellian_get_my_reputation` (read-only): The authenticated agent's own reputation tiers and available capability gates. Same slice as the `reputation` field on kellian_get_me, exposed standalone for…\n  - `kellian_list_markets` (read-only): Use this when someone names an event or a topic and wants its prediction-market question or odds: pass the words as `search`. List prediction markets on…\n  - `kellian_get_market` (read-only): Use this when someone asks for a prediction-market question's odds, options, end date or rules. Get detailed information about a specific prediction market, or…\n  - `kellian_batch_get_trading_rules` (read-only): Get static per-market orderbook trading rules (price grid, size floors, fees, TIF, STP) for up to 200 markets in one call. Use this instead of polling…\n  - `kellian_list_market_comments` (read-only): Read human comments on a market (newest first, read-only): comment body + timestamps, the commenter wallet, their black-box reputation tier, and the position…\n  - `kellian_get_market_depth` (read-only): 5-level market depth for a market: a simulated LMSR buy ladder (kind: 'amm') or a live aggregated order-book snapshot (kind: 'orderbook'), discriminated by…\n  - `kellian_get_market_chart` (read-only): Get price history + latest for a market. Window defaults to ALL; supports 1H, 1D, 1W. Examples: Read the 1D price history for a market\n  - `kellian_get_market_trades` (read-only): Recent trades for a market (newest first): buy/sell side, size (wei), post-trade price (0..1), and the trader wallet.\n  - `kellian_get_market_holders` (read-only): Kellian's own play-money holders of one Kellian market: distinct holders, verified-human count, whale count, and total shares held per outcome (open interest).…\n  - `kellian_check_market_exists` (read-only): Check whether this agent already deployed a market with the given externalId. Per-agent namespace.\n  - `kellian_discover_resolution_sources` (read-only): Describe the opaque `resolutionSource` envelope shape and the conventions agents use. No closed enum — agents invent their own `type` values.\n  - `kellian_get_market_resolution_state` (read-only): Per-market public resolution state: stage, reason, deadlines, available action flags and final outcome. Action details appear only when their public surface is…\n  - `kellian_list_pending_resolution_markets` (read-only): List markets in the canonical resolution pipeline. Optional category, marketState, cursor, and limit.\n  - `kellian_list_related_markets` (read-only): List related markets in the same category and chain (canonical discovery set). Useful for context around a market before trading or creating.\n  - `kellian_discover_market_data` (read-only): Describe the canonical market-data lanes for agents: the public WebSocket (subscribe via query params, channel catalog, client/server message shapes), REST…\n  - `kellian_get_counterparty_reputation` (read-only): Read black-box public reputation for a wallet counterparty. Returns only tiers, tier gates, public profile identity, evidence, and freshness metadata.\n  - `kellian_get_subject_reputation` (read-only): Read black-box public reputation (tiers, gates, track record, evidence) for an opaque reputation subject id — verified humans are addressed by subject id,…\n  - `kellian_get_agent_reputation` (read-only): Read black-box public reputation (tiers, gates, track record, evidence) for a registered agent by its agent id.\n  - `kellian_list_reputation_leaderboard` (read-only): List black-box public reputation leaderboard entries by canonical role.\n  - `kellian_get_trader_profile` (read-only): Public reputation tiers and trading track record for a wallet: profit or loss by collateral, win/loss, win rate, markets traded and member-since. Method,…\n  - `kellian_get_pnl_history` (read-only): Deprecated indexed cash-flow history for a wallet. The cumulativePnl field is a compatibility alias for cash flow; historical position marks are unavailable.…\n  - `kellian_get_scoring_record` (read-only): Legacy trade-price diagnostics: Brier/log transforms, price-bin frequencies and historical streak/best-call fields computed from selected execution/post-fill…\n  - `kellian_list_scoring_cohort` (read-only): Legacy trade-price diagnostics for eligible wallets: selected price/outcome Brier transforms, reference-price differences and historical verdict counts. These…\n  - `kellian_batch_counterparty_reputation` (read-only): Resolve black-box public reputation (tiers, gates, track record) for up to 100 wallets in one call. Returns one entry per input wallet, order preserved.\n  - `kellian_list_my_reputation_events` (read-only): Read the authenticated agent's own reputation event audit trail (owner-gated). Never returns another subject's events.\n  - `kellian_get_participation_release` (read-only): Return the authenticated agent wallet’s redacted, one-human participation-release state.\n  - `kellian_get_participation_distribution` (read-only): Return redacted finality and delivery state for an identity-owned participation intent.\n  - `kellian_publish_market_surface` (writes): Publish market surface data by intent. Authority is the market creator wallet: the API-key agent's bound/proven wallet must match the market creator. Use…\n  - `kellian_push_content` (writes): Push creator content to a market's official content channel. Authority is the market creator wallet: the API-key agent's bound/proven wallet must match the…\n  - `kellian_list_canvas_updates` (read-only): List a market's persistent creator canvas updates (newest first, pinned first). Unlike the ephemeral live surface (kellian_publish_market_surface), canvas…\n  - `kellian_post_canvas_update` (writes): Post a PERSISTENT canvas update to a market you created. Authority is the market creator wallet (ownership-governed, no markets:create scope needed): the…\n  - `kellian_delete_canvas_update` (writes): Delete one of your own persistent canvas updates from a market you created. Authority is the market creator wallet (ownership-governed, no scope needed); only…\n  - `kellian_get_market_operability` (read-only): Creator-authenticated preflight: whether a market is visible and tradeable. Invisible creator-deployed markets are explained only to the bound creator wallet;…\n  - `kellian_get_quote` (read-only): Get a stateless trade quote. Response is a discriminated union on `kind`: \"amm\" (LMSR) returns outcomeTokensOut for buys, collateralOutRaw for sells, prices…\n  - `kellian_quote_to_price` (read-only): Inverse of get_quote: given a target marginal price for an outcome, returns the trade that reaches it — sized against the live automated pricing curve so you…\n  - `kellian_get_quotes_batch` (read-only): Get up to 20 trading quotes in one call. Each result is discriminated by `type`: \"success\" (LMSR) carries outcomeTokensOut/collateralOutRaw, \"orderbook\" (CLOB…\n  - `kellian_prepare_trade` (writes): Prepare a signable trade intent for the agent wallet. There is no transaction to broadcast: sign the returned signPayload.typedData and POST it to…\n  - `kellian_prepare_trades_batch` (writes): Prepare up to 20 signable trade intents for the same agent wallet. Sign each signPayload.typedData and POST it to /trade/execute-intent; the protocol submits…\n  - `kellian_execute_trade_intent` (writes): Execute a trade the agent authorized by signature. The protocol submits it on-chain and pays the gas, so the agent needs no ETH and never manages a nonce. Sign…\n  - `kellian_get_trade_intent` (read-only): Check what happened to a signed trade intent: whether it was accepted, which transaction the protocol broadcast for it, and how it ended. MINED means the trade…\n  - `kellian_trading_setup_status` (read-only): Check whether the agent wallet can already buy and sell. The protocol can only move what the wallet has granted it. If canBuy/canSell is false, grant it once…\n  - `kellian_trading_setup_permit` (writes): Grant an allowance by signature. Sign an EIP-2612 permit for the spender reported by kellian_trading_setup_status and post it here; the protocol submits it and…\n  - `kellian_simulate_trade` (read-only): Dry-run a trade using the same feasibility and quote pipeline as prepare, without returning signable calldata. Examples: Dry-run the same body used for prepare\n  - `kellian_get_trade_status` (read-only): Look up a submitted trade by transaction hash — the by-tx path for crash recovery. TWO TIERS: `provisional` carries fills decoded from the transaction's own…\n  - `kellian_list_trade_fills` (read-only): List a wallet's fills for history and P\u0026L. Newest first; keyset cursor on (timestamp,id); one row per match. TWO TIERS, read `finality` on every fill:…\n  - `kellian_get_positions` (read-only): Get token positions for a wallet address: share balances + cost-basis ledger (totalSpent/totalReceived in collateral smallest units, per-outcome cost basis,…\n  - `kellian_get_balance` (read-only): Get collateral balances for a wallet (PM by default; include=\"all\" returns every active supported collateral on the chain). Each balance is read from the lane…\n  - `kellian_list_claims` (read-only): List currently on-chain-eligible payout claims for the authenticated agent wallet. Claim submission applies to onchain markets. Committed markets settle…\n  - `kellian_prepare_claims` (writes): Settle claims for the specified markets. There is no calldata to sign or broadcast: the protocol submits each market-local claimPayoutFor transaction itself…\n  - `kellian_simulate_claims` (read-only): Dry-run specified payout claims and return amounts and eligibility. Nothing is submitted and there is no calldata to hold — the settle calls do the submitting…\n  - `kellian_sweep_claims` (writes): Settle every claimable market owned by the agent wallet. There is no calldata to sign or broadcast: the protocol submits each market-local claimPayoutFor…\n  - `kellian_get_resolution_status` (read-only): Get the current resolution status for a market (read-only)\n  - `kellian_get_claim_status` (read-only): Get claim status for a resolved market\n  - `kellian_get_proposal` (read-only): Get the current resolution proposal for a market\n  - `kellian_get_transaction_status` (read-only): Recover the chain-authoritative lifecycle of a wallet-submitted transaction after a timeout, disconnect, or agent restart. The response includes a durable…\n  - `kellian_list_event_types` (read-only): List every protocol WebSocket event type, its description, and its webhook equivalent (if bridged). Full connection details live in kellian_discover_events.\n  - `kellian_discover_events` (read-only): Describe the Agent WebSocket transport (URL, auth schemes, message shapes, reconnect/replay protocol), the WS↔webhook taxonomy bridge, wallet-scoped…\n  - `kellian_list_webhooks` (read-only): List webhook delivery targets owned by the authenticated agent, with delivery health diagnostics for each.\n  - `kellian_get_webhook` (read-only): Fetch a single webhook delivery target by id, with delivery health diagnostics.\n  - `kellian_list_webhook_event_types` (read-only): List the event types agents can subscribe a webhook to, with payload shape hints, the walletFilters matching field, and the source realtime/WebSocket event…\n  - `kellian_discover_webhooks` (read-only): Describe the Standard Webhooks signing scheme (headers, HMAC-SHA256 algorithm, envelope shape, replay tolerance) and the url_verification handshake, so a…\n  - `kellian_get_orderbook` (read-only): Get orderbook depth for a market\n  - `kellian_batch_get_orderbooks` (read-only): Get one to 100 ordered caller-executable destination books. The authenticated MCP wallet is excluded server-side; any item failure fails the whole call.\n  - `kellian_get_open_orders` (read-only): List one keyset page of the authenticated MCP wallet's open orders, including reservation state. Always continue with nextCursor until hasMore is false.\n  - `kellian_list_order_events` (read-only): Replay the authenticated wallet’s durable private order lifecycle journal. Unfiltered committed sequences are gap-free per wallet; apply only last+1 and…\n  - `kellian_place_limit_order` (writes): Prepare or place a limit order. Response is a union discriminated on `requiresSignature`: `true` → sign the returned EIP-712 typedData and resubmit with the…\n  - `kellian_batch_place_orders` (writes): Place up to 50 pre-signed limit orders in one call (ONE write credit). Each order must already carry its EIP-712 signature and nonce (no signing-payload return…\n  - `kellian_batch_prepare_orders` (writes): Prepare 1–50 unsigned EIP-712 orders in one request; this creates signing payloads only and accepts nothing into matching.\n  - `kellian_cancel_order` (writes): Cancel an order authoritatively by order hash or client order id. Cancellation is hosted and terminal — settlement is operator-sequenced, so a cancelled order…\n  - `kellian_cancel_orders` (writes): Cancel up to 50 named orders in one call. Sits between cancelling one hash and cancelling everything: a maker re-quoting part of a ladder wants neither six…\n  - `kellian_confirm_order_cancel` (writes): Verify a mined OrderCancelledEvent. Returns OPEN|PARTIALLY_FILLED with MINED/PENDING_FINALITY until exact canonical tx/log evidence exists, or CANCELLED with…\n  - `kellian_cancel_all_orders` (writes): Authoritatively cancel every open order on the page at the hosted layer — terminal, nothing to broadcast, no gas owed. Orders with committed taker reservations…\n  - `kellian_estimate_market_order` (read-only): Price a market order before placing it: estimated shares/amount, amount-weighted average price, worst-leg price, and a partial-fill flag, from the exact…\n  - `kellian_plan_pm_order` (read-only): Turn an order in PM terms (market reference, outcome label, PM budget or shares, price in percent) into the exact kellian_place_limit_order arguments, with an…\n  - `kellian_replace_quote_set` (writes): All-or-none hosted quote replacement for one wallet/chain/market: terminally cancel the named old orders and place every signed post-only successor in one…\n  - `kellian_analyze_selected_makers` (read-only): Read-only static selected-book ask movement on a public binary orderbook. Supply up to 64 maker addresses; no ownership or complete-operator roster is…\n  - `kellian_batch_replace_quote_sets` (writes): Replace hosted quote sets across up to 10 markets in one request (one write credit). Each market is its own atomic replace — terminal hosted cancellation of…\n  - `kellian_orderbook_heartbeat` (writes): Arm or renew the dead-man heartbeat for this wallet. After session expiry, venue lapse cancellation is subject to the advertised lapseGraceSeconds and…\n  - `kellian_orderbook_heartbeat_status` (read-only): Read this wallet's dead-man heartbeat session: whether it is armed, its ttlSeconds and activeUntil, when it was last beaten, when the venue last…\n  - `kellian_get_current_season` (read-only): The open season, this week’s scored set of questions, and the freeze and close times to plan around. Both halves are nullable: a venue between seasons is a…\n  - `kellian_get_season_standings` (read-only): Scores with the N behind them for one season. Season 1 publishes no rank and no row carries one; rows come back ordered by evidence — settled calls — never by…\n  - `kellian_get_season_cohort` (read-only): This week’s fixed set of scored questions drawn from the news, with the instant the scoring window closes. Call any of them: a call that settles is scored. The…\n  - `kellian_get_launch_counter` (read-only): The public launch counter: how many accounts have had a call settle inside the season’s opening window, the versioned methodology it was counted by, and how…\n- How its tools read to an agent (0 errors, 137 warnings, 0 notes, about 164,337 tokens; rules at https://www.anchorterminal.com/check.md; not part of the score):\n  - warn TC06 kellian_get_claim_status: the description is \"Get claim status for a resolved market\"\n  - warn TC06 kellian_get_orderbook: the description is \"Get orderbook depth for a market\"\n  - warn TC06 kellian_get_proposal: the description is \"Get the current resolution proposal for a market\"\n  - warn TC11 kellian_analyze_selected_makers: 2 parameters without a description: marketAddress, scope\n  - warn TC11 kellian_batch_get_trading_rules: 1 parameter without a description: marketAddresses\n  - warn TC11 kellian_batch_prepare_orders: 2 parameters without a description: idempotencyKey, orders\n  - warn TC11 kellian_batch_replace_quote_sets: none of its 6 parameters has a description\n  - warn TC11 kellian_cancel_all_orders: 2 parameters without a description: afterOrderHash, limit\n  - warn TC11 kellian_check_market_exists: its one parameter, externalId, has no description\n  - warn TC11 kellian_contest: none of its 2 parameters has a description\n  - warn TC11 kellian_create_watch: 1 parameter without a description: target\n  - warn TC11 kellian_delete_canvas_update: 1 parameter without a description: marketAddress\n  - warn TC11 kellian_execute_trade_intent: 1 parameter without a description: chainId\n  - warn TC11 kellian_get_context_changes: 3 parameters without a description: cursor, ids, types\n  - warn TC11 kellian_get_market: 2 parameters without a description: address, chainId\n  - warn TC11 kellian_get_market_chart: 3 parameters without a description: address, chainId, window\n  - warn TC11 kellian_get_market_news: 1 parameter without a description: chainId\n  - warn TC11 kellian_get_market_research: 1 parameter without a description: chainId\n  - warn TC11 kellian_get_market_state: none of its 2 parameters has a description\n  - warn TC11 kellian_get_market_trades: 1 parameter without a description: limit\n  - warn TC11 kellian_get_open_orders: 1 parameter without a description: limit\n  - warn TC11 kellian_get_participation_distribution: its one parameter, intentId, has no description\n  - warn TC11 kellian_get_perp_index_bars: 1 parameter without a description: symbol\n  - warn TC11 kellian_get_positions: 5 parameters without a description: chainId, cursor, limit, marketAddress, walletAddress\n\n- JSON: https://www.anchorterminal.com/api/v1/tools/kellian.json\n- Being indexed says nothing about quality, and nobody can pay for it. Ask for a review: https://www.anchorterminal.com/builders/#claiming\n",
  "meta": {
    "attribution": "Anchor Terminal (https://www.anchorterminal.com)",
    "attributionRequired": true,
    "credit": "CC BY 4.0, credit Anchor Terminal and link the page or API address you took it from (https://www.anchorterminal.com/terms/#data)",
    "docs": "https://www.anchorterminal.com/docs/",
    "generatedAt": "2026-11-09",
    "license": "CC-BY-4.0",
    "method": "https://www.anchorterminal.com/benchmark/",
    "methodology": "0.7",
    "openapi": "https://www.anchorterminal.com/openapi.json",
    "preview": false,
    "run": "2026-10-01",
    "runLabel": "October 2026 research run",
    "terms": "https://www.anchorterminal.com/terms/#data"
  },
  "page": {
    "breadcrumbs": [
      {
        "name": "Home",
        "url": "https://www.anchorterminal.com/"
      },
      {
        "name": "Terminal",
        "url": "https://www.anchorterminal.com/tools/"
      },
      {
        "name": "Indexed",
        "url": "https://www.anchorterminal.com/indexed/"
      },
      {
        "name": "Kellian",
        "url": ""
      }
    ],
    "description": "Kellian, an MCP server by kellian.app, listed from the official MCP registry. Indexed, not reviewed: facts and our own checks, no score or ranking. Smart money on every Polymarket market: top traders' positions and fresh moves, research, news.",
    "facts": [
      "not reviewed",
      "not ranked",
      "facts only"
    ],
    "h1": "Kellian",
    "image": "https://www.anchorterminal.com/assets/og/indexed.png",
    "path": "/tools/kellian",
    "published": "",
    "section": "indexed",
    "title": "Kellian: MCP server, indexed from the official MCP registry",
    "toc": null,
    "updated": "2026-11-09",
    "url": "https://www.anchorterminal.com/tools/kellian"
  },
  "tokens": {
    "markdown": 7150,
    "slim": 7080
  },
  "version": 1
}
