attach_file
Attach a base64-encoded file to a task to satisfy review gates: uploading a .md file clears the RESEARCH_REPORT_REQUIRED refusal on Research tasks.
Instructions
Attach a file to a task (content as base64). A filename ending in .md is what satisfies the research-report gate: a type:"Research" task is refused review with RESEARCH_REPORT_REQUIRED until a .md is attached, so attaching the report is how to recover from that refusal.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Task id — a full id, or any unique prefix of one, of the task to attach to. An id that matches nothing is refused with TASK_NOT_FOUND; no file is written. | |
| dryRun | No | ||
| filename | Yes | Bare filename, no directory part. The EXTENSION decides acceptance: a .md is what satisfies the research-report gate, and an unsupported extension is refused with UNSUPPORTED_FILE_TYPE. | |
| contentB64 | Yes | The file content, base64-encoded (not raw bytes, and not a path to read). Required: omitting it is refused by input validation before the tool runs. |