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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"path": "<path>"
},
"name": "upload_asset"
}
}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 |