gmail_threads_list
List Gmail threads by search query, label, or page, including spam/trash options, to gather email context for sales prep workflows.
Instructions
List Gmail threads.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "gmail_threads_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | No | Only return threads matching this Gmail search query string. | |
| userId | No | The user's email address. The special value 'me' can be used to indicate the authenticated user. | me |
| labelIds | No | Return only threads with all of these label IDs. | |
| pageToken | No | Page token to retrieve a specific page of results in the list. | |
| maxResults | No | Maximum number of threads to return (default 100, max 500). | |
| includeSpamTrash | No | Include threads from SPAM and TRASH in the results. |