gmail_threads_get
Retrieve a Gmail thread by ID to read all messages in a support conversation, with options to control format, metadata headers, and user account.
Instructions
Read a Gmail thread.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"id": "<id>"
},
"name": "gmail_threads_get"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The unique ID of the Gmail thread to retrieve. | |
| format | No | The format to return the messages in. | |
| userId | No | The user's email address. The special value 'me' can be used to indicate the authenticated user. | me |
| metadataHeaders | No | When format is 'METADATA', only include these headers in the response. |