upload
Attach allowed local files to a browser file input by reference, as if the user selected them.
Instructions
Attach files to a file input (by ref), as if the user picked them.
paths are absolute file paths. Only files in the folders the user listed in upload_dirs
in zenpilot's config are allowed. Uploads are logged.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | Yes | ||
| paths | Yes |