Get file
get_fileDownloads a task attachment as base64 with filename, content type, and size using task id plus filename or fileId, so agents can read file content that a file list only names.
Instructions
Download a file attached to a task, returned as base64 with its filename, content type and size. Give the task id plus the attached filename (either mode) or the online fileId (remote mode only). Read-only; changes nothing. Use it to read back an attachment the file list only names — the remote list carries no bytes, so this is how an agent actually sees the content.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Task id — a full id, or any unique prefix of one, of the task the file is attached to. An id that matches nothing is refused with TASK_NOT_FOUND; nothing is read. | |
| fileId | No | Online file id from the board's file list (remote mode only — the local store addresses files by name). Give this or filename; a fileId that matches nothing is refused with FILE_NOT_FOUND. | |
| filename | No | Bare attached filename to download (no directory part). Give this or fileId — at least one is required, and both naming the same file is fine. |