Google Super

GOOGLESUPER_LIST_HISTORY

Tool to list Gmail mailbox change history since a known startHistoryId. Use when performing incremental mailbox syncs to fetch only new changes.

Remote googlesuper

Other tools also called GOOGLESUPER_LIST_HISTORY? See providers with this name

Input Schema


            {
  "type": "object",
  "properties": {
    "user_id": {
      "type": "string",
      "title": "User Id",
      "default": "me",
      "examples": [
        "me",
        "[email protected]"
      ],
      "description": "The user's email address. Use 'me' to specify the authenticated user."
    },
    "label_id": {
      "type": "string",
      "title": "Label Id",
      "default": null,
      "examples": [
        "INBOX"
      ],
      "nullable": true,
      "description": "Only return history records involving messages with this label ID."
    },
    "page_token": {
      "type": "string",
      "title": "Page Token",
      "default": null,
      "examples": [
        "ABCDEF123456"
      ],
      "nullable": true,
      "description": "Token to retrieve a specific page of results."
    },
    "max_results": {
      "type": "integer",
      "title": "Max Results",
      "default": 100,
      "maximum": 500,
      "minimum": 1,
      "examples": [
        100,
        500
      ],
      "description": "Maximum number of history records to return. Default is 100; max is 500."
    },
    "history_types": {
      "type": "array",
      "items": {
        "enum": [
          "messageAdded",
          "messageDeleted",
          "labelAdded",
          "labelRemoved"
        ],
        "type": "string",
        "properties": {}
      },
      "title": "History Types",
      "default": null,
      "examples": [
        [
          "messageAdded",
          "labelRemoved"
        ]
      ],
      "nullable": true,
      "description": "Filter by specific history types. Allowed values: messageAdded, messageDeleted, labelAdded, labelRemoved."
    },
    "start_history_id": {
      "type": "string",
      "title": "Start History Id",
      "examples": [
        "1234567890"
      ],
      "description": "Required. Returns history records after this ID. If the ID is invalid or too old, the API returns 404. Perform a full sync in that case."
    }
  }
}