read_task_attachment
Read the content of one task attachment by id (get the id from list_task_attachments). Text files return decoded text; images return a viewable image; other binaries return base64 when small. Files over 8 MB return metadata only, download them in the app. Caller must have visibility into the parent project.
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": {
"taskId": "<taskId>",
"attachmentId": "<attachmentId>"
},
"name": "read_task_attachment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| taskId | Yes | The task id. | |
| attachmentId | Yes | The attachment id (from list_task_attachments). |