Skip to main content
List Gmail threads

Tool details

FieldValue
Namegmail__list_threads
GroupIntegrations

Playground

Input schema

Input schema
{
  "type": "object",
  "properties": {
    "maxResults": {
      "type": "number",
      "description": "Maximum number of threads to return (1-500)"
    },
    "q": {
      "type": "string",
      "description": "Gmail search query"
    },
    "labelIds": {
      "type": "array",
      "items": {
        "type": "string",
        "description": "One label id item supplied to the tool."
      },
      "description": "Only return threads with these label IDs"
    },
    "pageToken": {
      "type": "string",
      "description": "Page token for pagination"
    }
  },
  "description": "Input schema for the gmail__list_threads tool."
}

Output schema

This tool does not publish an output schema.