Read a packet
threadpacket_readRead one packet: its exact brief and attachment list. With attachment_id, return that attachment instead: representation "text" for text files (bounded), "image" for PNG/JPEG as image content, "original" for a short-lived download URL plus sha256. With attachment_id and no packet_id, open one of the user's own unsent files (listed by threadpacket_inbox, such as a file uploaded in Packets), the same three ways. Reading a packet you received, or one of its files, picks it up: the sender sees it picked up, with this assistant's name and the time.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "threadpacket_read"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| packet_id | No | Packet to read. Omit it to open one of your own unsent files by attachment_id. | |
| attachment_id | No | Attachment of this packet to read, or (without packet_id) one of your unsent files. | |
| representation | No | How to return the attachment. Default: text for text files, image for images, original otherwise. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | ||
| from | No | ||
| text | No | ||
| brief | No | ||
| title | No | ||
| packet_id | No | ||
| truncated | No | ||
| attachment | No | ||
| created_at | No | ||
| expires_at | No | ||
| attachments | No | ||
| unsent_file | No | ||
| download_url | No | ||
| picked_up_at | No | For a recipient: when their assistant first picked the packet up. | |
| representation | No | ||
| download_expires_at | No |