upload_asset
Put a local image, video or audio file where a render can reach it, and optionally keep it in your library. Give it a path and the file is read and uploaded for you. Returns a url you can pass straight to render_video. Add saveAs to keep it — otherwise the url works but nothing lists it later. Max 50 MB. Free; uploading costs no credits.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | Which library to keep it in. | element |
| path | No | Local file path. Works when the server runs on the user's machine (Claude Code, Cursor). Preferred over contentBase64. | |
| saveAs | No | Name to keep it under in your library, so browse_library finds it next time. | |
| contentType | No | e.g. image/jpeg. Guessed from the path extension when you pass path. | |
| contentBase64 | No | Raw base64, no data: URI prefix. For clients with no local filesystem, such as claude.ai. |