upload_media
Upload a local image or video to attach to a post. It reads the file, streams the bytes, and returns a media ID to use with post_now.
Instructions
Upload a local image or video (produced by your own media tool) so it can be attached to a post. Reads the file, streams the bytes to the chokepoint, and returns a media id to pass to post_now as mediaIds. Media is not moderated by casserole — you set the AI-content label per the media skills.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | local file path to the image/video, e.g. ./out/hero.png |