untrash_thread
Restore one or more Gmail threads from Trash to their original location, accepting a thread ID or list of up to 100 IDs. Use it to recover accidentally trashed email conversations.
Instructions
Take a whole thread (or a list) out of the trash, back where it was. At most 100 items.
Args: threadId: thread ID, or a list of IDs.
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": {
"threadId": "<threadId>"
},
"name": "untrash_thread"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| threadId | Yes |