{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/trendsmcp-ai/json-schema/trendsmcp-ai-get-context-request-schema.json",
  "title": "GetContextRequest",
  "description": "What people are posting, reading and betting about a keyword right now: posts, videos, stories, comments and markets from each source, with engagement.",
  "x-generated": "2026-10-29",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/trendsmcp-ai-openapi.json#/components/schemas/GetContextRequest",
  "properties": {
    "days": {
      "description": "Look back 1 to 30 days. Default 7.",
      "type": "integer"
    },
    "keyword": {
      "description": "Any name or phrase.",
      "type": "string"
    },
    "limit": {
      "description": "Items per source, 1 to 20. Default 10.",
      "type": "integer"
    },
    "mode": {
      "const": "get_context",
      "description": "Canonical name (matches the MCP tool).",
      "type": "string"
    },
    "source": {
      "description": "One source, or up to 5 separated by commas. One of: News, YouTube, TikTok, Instagram, X, Reddit, Bluesky, Hacker News, Polymarket, GitHub.",
      "type": "string"
    }
  },
  "required": [
    "mode",
    "keyword",
    "source"
  ],
  "type": "object"
}