attach_task_file
Attach a working file from local disk to an owned task -- e.g. the
STL/STEP model for a 3D-printing task, a spec PDF, or a reference
image. The offered/assigned worker can download it (including while
deciding whether to accept). Allowed extensions: stl, step, stp, obj,
3mf, gcode, pdf, txt, csv, png, jpg, jpeg, webp -- no archives or
executables. Caps: 25 MB per file, 10 files per task; uploads are
allowed until proof is submitted, deletion only before a worker
accepts. filename overrides the name shown to the worker (defaults
to the file's own name).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task_id | Yes | The owned task to attach the file to. | |
| filename | No | Optional name to show the worker instead of the basename of file_path. | |
| file_path | Yes | Path to the file on the machine running this server -- not a URL, and not a path on the worker's device. |