Get asset upload URL
asset_upload_urlGet a signed upload URL for a local video, image, or audio file so you can upload bytes directly and pass the returned file URL to autonomous_edit.
Instructions
Get a signed upload URL for a local file (so users do not have to host video / image / audio elsewhere before passing video_url to autonomous_edit). Body: { fileName, fileType?, contentType?, projectId? }. Returns { uploadUrl, fileUrl }; PUT the file bytes to uploadUrl, then pass fileUrl to autonomous_edit as video_url / in assets[].
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": {
"fileName": "<fileName>"
},
"name": "asset_upload_url"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fileName | Yes | ||
| fileType | No | video | image | audio (heuristic from extension if omitted). | |
| projectId | No | Optional project to associate the asset with. | |
| contentType | No | MIME type, e.g. video/mp4. |