Upload Media
upload_mediaUpload local images, songs, or short videos to your account's media library for AI inputs or clip covers; returns its key.
Instructions
Upload a local image, song or short video to the account's media, for AI inputs (refs kind 'media') or a clip cover. Returns its key.
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_media"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute path: png/jpg/webp ≤20 MB, mp3/wav/m4a ≤50 MB, mp4/mov/webm ≤200 MB. |