Upload media
assets_uploadUpload a local image, video, audio, or PDF to the brand library and return its mediaKey. Requires write scope; for chat-visible files, attach them to jobs instead.
Instructions
Upload a local image, video, audio file or PDF to the brand library; returns its mediaKey. For a file the chat should see, attach it to jobs_create/jobs_continue instead. Needs the write scope.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | Path to the local media file. Only files under the MCP server's working directory or SHAPELESS_UPLOAD_ROOT, with no hidden (dot) path segments, are read. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| asset | Yes |