Finish an upload
upload_finishFree. Call after you sent the file to the URL from upload_start. The server checks the real file (type, size, bytes); a file that is not what it says is deleted. A song id goes to song_analyze; an attachment id to ai_short_draft / persona_create; a video is a Library item.
Args: upload_id: from upload_start. title: optional name for a video or project_media upload.
Returns: {ok, kind, ...}: attachment {attachment_id, url, width, height}; song {song_id, size}; video {library_id, generation}; project_media {asset_id, project_id}.
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": {
"upload_id": "<upload_id>"
},
"name": "upload_finish"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | ||
| upload_id | Yes |