gws.mail.read_thread
Read all messages in an email thread by providing its thread ID, with options for plain text or raw HTML output.
Instructions
Read all messages in an email 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": {
"threadId": "<threadId>"
},
"name": "gws.mail.read_thread"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | Output format: 'text' (default, HTML converted to plain text) or 'raw' (original HTML preserved) | |
| account | No | Account label or email. Uses default if omitted. | |
| threadId | Yes | The thread ID |