view-attachment
Retrieve a Todoist comment attachment by fileUrl, returning images inline, text files as text, and binaries like PDFs as embedded resources for review.
Instructions
View a file attachment from a Todoist comment. Pass the fileUrl from a comment's fileAttachment field. Supports images (returned inline), text files (returned as text), and binary files like PDFs (returned as embedded resources).
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": {
"fileUrl": "<fileUrl>"
},
"name": "view-attachment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fileUrl | Yes | The fileUrl from a comment's fileAttachment. Allowed hosts (https only): files.todoist.com, todoist.b-cdn.net, d1ysz50cxb9zwl.cloudfront.net. |