imessage_attachment
Retrieve a message attachment by ID, returning photos as viewable JPEG images, video frames or PDF first pages, plus file name, type, size, and local path.
Instructions
One attachment, by the id a message lists: a photo as an image you can see (HEIC turned into JPEG, at most 1568 px a side), a video's frame or a PDF's first page as Quick Look draws it, and for any file its name, type, size and path on this Mac.
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": {
"id": "<id>"
},
"name": "imessage_attachment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The attachment's id, from a message's attachments. |