changedInput schema / properties / request / anyOf
Previous value: -[
- {
- "additionalProperties": true,
- "type": "object"
- },
- {
- "additionalProperties": false,
- "description": "Request for historical prediction market OHLCV.",
- "properties": {
- "dateRange": {
- "anyOf": [
- {
- "description": "Date range via tokens or dates.\nTokens: NOW, XMIN_AGO, XD_AGO, XH_AGO; THIS_YEAR_START, THIS_QUARTER_START, THIS_MONTH_START, THIS_WEEK_START, TODAY_START; LAST_WEEK_START/END, LAST_MONTH_START/END, LAST_QUARTER_START/END, LAST_YEAR_START/END.\nWeek starts Monday. Quarters are calendar. Dates: YYYY-MM-DD or ___-MM-DD (year omitted).\nPlease check detailed system instructions for more information.",
- "properties": {
- "from": {
- "description": "Start value: token (see above) or date (YYYY-MM-DD or ___-MM-DD).",
- "type": "string"
- },
- "to": {
- "description": "End value: token (see above) or date (YYYY-MM-DD or ___-MM-DD).",
- "type": "string"
- }
- },
- "required": [
- "from",
- "to"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ],
- "default": null,
- "description": "Optional date range for OHLCV. Defaults to the last 30 days when omitted."
- },
- "marketId": {
- "description": "Numeric Polymarket market ID (e.g. '654412'). Obtain this from the prediction_market_screener tool.",
- "maxLength": 100,
- "minLength": 1,
- "type": "string"
- },
- "orderBy": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "default": null,
- "description": "Optional sort field. Common fields: periodStart, volumeUsd, tradeCount."
- },
- "orderByDirection": {
- "default": "desc",
- "description": "Sort direction when orderBy is provided.",
- "enum": [
- "asc",
- "desc",
- "ASC",
- "DESC"
- ],
- "type": "string"
- },
- "page": {
- "default": 1,
- "description": "Page number for paginated results.",
- "minimum": 1,
- "type": "integer"
- }
- },
- "required": [
- "marketId"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "additionalProperties": true,
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "description": "Request for historical prediction market OHLCV.",
+ "properties": {
+ "dateRange": {
+ "anyOf": [
+ {
+ "description": "Date range via tokens or dates.\nTokens: NOW, XMIN_AGO, XD_AGO, XH_AGO; THIS_YEAR_START, THIS_QUARTER_START, THIS_MONTH_START, THIS_WEEK_START, TODAY_START; LAST_WEEK_START/END, LAST_MONTH_START/END, LAST_QUARTER_START/END, LAST_YEAR_START/END.\nWeek starts Monday. Quarters are calendar. Dates: YYYY-MM-DD or ___-MM-DD (year omitted).\nPlease check detailed system instructions for more information.",
+ "properties": {
+ "from": {
+ "description": "Start value: token (see above) or date (YYYY-MM-DD or ___-MM-DD).",
+ "type": "string"
+ },
+ "to": {
+ "description": "End value: token (see above) or date (YYYY-MM-DD or ___-MM-DD).",
+ "type": "string"
+ }
+ },
+ "required": [
+ "from",
+ "to"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "Optional date range for OHLCV. Defaults to the last 30 days when omitted."
+ },
+ "marketId": {
+ "description": "Numeric Polymarket market ID (e.g. '654412'). Obtain this from the prediction_market_screener tool.",
+ "maxLength": 100,
+ "minLength": 1,
+ "type": "string"
+ },
+ "orderBy": {
+ "anyOf": [
+ {
+ "enum": [
+ "period_start",
+ "volume_usd",
+ "trade_count"
+ ],
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "Sort field. Pass an exact value above or None for default ('period_start')."
+ },
+ "orderByDirection": {
+ "default": "DESC",
+ "description": "Sort direction: 'ASC' or 'DESC' (case-insensitive).",
+ "enum": [
+ "ASC",
+ "DESC",
+ "asc",
+ "desc"
+ ],
+ "type": "string"
+ },
+ "page": {
+ "default": 1,
+ "description": "Page number for paginated results.",
+ "minimum": 1,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "marketId"
+ ],
+ "type": "object"
+ }
+]