Import an uploaded file into an allowlisted project
import_file_to_projectCopies an uploaded file from a mounted source into a project, avoiding Base64 conversion. Requires project, source file, and destination path.
Instructions
Copies a real uploaded file into a project without Base64 conversion. The source must come from an approved mounted-file root, and the destination is restricted to the selected project root.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project | Yes | Project key from list_projects. | |
| overwrite | No | ||
| destination | Yes | Project-relative destination path. Absolute paths and parent traversal are rejected. | |
| source_file | Yes | Mounted upload path supplied by ChatGPT as a file input. | |
| createParents | No | ||
| expectedSha256 | No |