{
  "id": "litescrape.google.ai-mode",
  "object": "tool",
  "name": "Ask Google AI Mode",
  "summary": "Ask Google AI Mode a question and get its generated answer with cited sources.",
  "description": "Send a question to Google's AI Mode surface. Returns text_blocks (ordered paragraphs and lists) and references (index, source, link) the answer cites, plus a subsequent_request_token when continuable. Supports follow-up questions within 30 minutes, an image_url sent through Google Lens, a named location or uule, and localization (gl, hl, google_domain, device). Answers are generated per request and vary between calls; allow up to 120 seconds. Suited for AI-answer research, citation tracking, and conversational lookups.\n\nRaw litescrape#google/ai-mode endpoint: input is { body, queryParams, pathParams } as the provider documents them (https://litescrape.com/docs/google-ai-mode).",
  "category": "lookup",
  "hosted_by": "Litescrape",
  "runtime": "partner",
  "side_effects": false,
  "status": "live",
  "credits": 0,
  "price": null,
  "providers": [
    {
      "id": "litescrape",
      "name": "Litescrape",
      "price": null,
      "own_key_only": true
    }
  ],
  "mcp_name": "litescrape_google_ai-mode",
  "input_schema": {
    "type": "object",
    "properties": {
      "queryParams": {
        "type": "object",
        "properties": {
          "q": {
            "type": "string",
            "minLength": 1,
            "maxLength": 2048,
            "description": "The question to ask, up to 2,048 characters."
          },
          "location": {
            "type": "string",
            "minLength": 1,
            "maxLength": 512,
            "description": "Human-readable search origin, such as 'Austin, Texas'. Cannot be combined with uule."
          },
          "uule": {
            "type": "string",
            "minLength": 1,
            "maxLength": 2048,
            "description": "Pre-encoded Google location token. Cannot be combined with location."
          },
          "continuable": {
            "type": "boolean",
            "description": "Return a subsequent_request_token so this answer can be followed up."
          },
          "subsequent_request_token": {
            "type": "string",
            "minLength": 1,
            "description": "Token from a previous continuable answer. Requires a new q; cannot be combined with image_url. Expires after 30 minutes."
          },
          "image_url": {
            "type": "string",
            "maxLength": 2048,
            "pattern": "^https?:\\/\\/",
            "description": "Public http or https image, up to 20 MB, added to the prompt via Google Lens."
          },
          "hl": {
            "type": "string",
            "minLength": 2,
            "maxLength": 32,
            "description": "Interface and result language, such as 'en', 'en-GB', or 'de'. Default 'en'."
          },
          "gl": {
            "type": "string",
            "pattern": "^[a-zA-Z]{2}$",
            "description": "Two-letter country code for result localization, such as 'us'."
          },
          "google_domain": {
            "type": "string",
            "minLength": 1,
            "description": "Google domain to query, such as 'google.com' or 'google.co.uk'. Default 'google.com'."
          },
          "device": {
            "type": "string",
            "enum": [
              "desktop",
              "tablet",
              "mobile"
            ],
            "description": "Device layout Google renders. Default 'desktop'."
          }
        },
        "required": [
          "q"
        ],
        "additionalProperties": false
      }
    },
    "required": [
      "queryParams"
    ],
    "additionalProperties": false
  },
  "kind": "endpoint"
}