trash_thread
Move a Gmail thread to the trash bin. Reversible using the untrash_thread tool.
Instructions
Move a thread to TRASH (reversible via untrash_thread). Requires gmail.modify scope.
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": {
"account": "<account>",
"thread_id": "<thread_id>"
},
"name": "trash_thread"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account | Yes | A connected account ref (see list_accounts). | |
| thread_id | Yes |