Upload asset
upload_assetUpload a reference image, start frame, video or audio file and get an asset id to pass as
inputs ({slot: [asset ids]}; slot names come from list_capabilities). Give exactly one of: path (a local file; only when the server runs locally over stdio),
url (a public http(s) URL the server fetches), or data_base64 (with filename or content_type; up to 20 MB when the server is remote).
data_base64 has to fit in the tool call itself, so it suits small files; for anything over a few hundred
KB pass a url instead.
Accepted: PNG, JPEG, WebP images (up to 20 MB); MP4, MOV, WebM video (200 MB, 60 s); MP3, WAV, M4A, OGG
audio (25 MB, 5 min). The API detects the format from the bytes. Uploads are free.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "upload_asset"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | ||
| path | No | ||
| project | No | ||
| filename | No | ||
| data_base64 | No | ||
| content_type | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||