upload_asset
Upload a local file to a project's media library and receive an asset ID for use as an image or video frame.
Instructions
Ingest a local file into a project's uploads directory and return an asset ID usable as an image reference or a video frame.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute or user-relative path to a local file on this host. | |
| project | No | Project slug. Defaults to 'unsorted', which always exists. | unsorted |