Read a thread
threads_getRead every message of one thread in a connected mailbox, oldest first. A message's quote of another the answer carries is left out of its words; a quote of one it does not carry stays. A message whose recipients one answer cannot carry names the first that fit, omittedRecipients counting the rest. The times it answers with carry their offset in the person's own time zone, which the answer names under now beside their time now in it - UTC where the person has stored no zone, as now says.
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": {
"mailbox": "<mailbox>",
"id": "<id>"
},
"name": "threads_get"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The threadId a search or a read answered. | |
| view | No | full, the default, carries each message's text and attachments; summary leaves those out; headers leaves out the subject and snippet too. | |
| mailbox | Yes | The mailbox's name or its email address. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| now | Yes | The person's own time zone, in which every time this answer gives is written, and their time now in it. | |
| link | No | ||
| shown | Yes | ||
| total | Yes | ||
| messages | Yes | ||
| newestOnly | No | The folders whose provider showed only their newest messages, each with how many it showed: every one holds more, and nothing before those was read, searched, counted or acted on, so finding nothing there says nothing of the rest. | |
| screeningWait | No | Present where a message is marked not_yet_screened: the seconds to wait before reading those messages by their ids. |