Read task attachment
read_attachmentRetrieve attachment content from a task in OmniFocus, returning images as image content when possible. Access task attachments directly for use in workflows.
Instructions
Read one attachment previously listed on a task. Images are returned as image content when possible.
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": {
"task_id": "<task_id>",
"attachment_id": "<attachment_id>"
},
"name": "read_attachment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task_id | Yes | Task id from query_tasks or a detailed task read. | |
| attachment_id | Yes | Attachment id such as embedded-1 or linked-1. |