Read an attachment
taskthread_read_attachmentRead one file attached to a task. Text, PDF, Word and PowerPoint come back as text (cut at 40000 characters, with truncated: true when cut); an image comes back as an image. Get ids from taskthread_list_attachments.
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": "taskthread_read_attachment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| taskId | Yes | ||
| attachmentId | Yes |