download_file
Fetch a single attachment from a Worksection task and return it inline as base64. Avoids writing to disk and rejects files exceeding a specified size limit.
Instructions
Fetch one attachment and return it inline as base64. Refuses files larger than max_bytes instead of writing anywhere on disk.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_id | Yes | Attachment id, from get_task_files. | |
| task_id | Yes | Task id. | |
| max_bytes | No | Refuse to inline content larger than this many bytes. | |
| project_id | Yes | Project the task belongs to. |