Files: upload
files_uploadUpload a local file to project storage and get its id and stored name for use in data_create or data_update file fields. Files are private by default; set public to allow access without signing in.
Instructions
Upload a file. Uploads a file from a path on the machine running the CLI to the project's file storage and returns its new id and stored name. Files are private by default; a public file can be fetched without signing in. Use the returned id as the value of a file field with data_create or data_update.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path to the file to upload | |
| public | No | Make the file publicly accessible (default: false) |