Upload a local image
upload_imageUpload a local image file to Misar.Blog CDN and get its public URL for use in blog posts.
Instructions
Upload an image file from the local filesystem to the Misar.Blog CDN and return its public URL.
Use it for images the user already has on disk; use generate_cover_image when the image does not exist yet. Available only when the server runs locally over stdio — the hosted endpoint cannot see your disk, so it does not offer this tool at all.
Reads the file and creates a NEW CDN object each call; uploading twice yields two URLs. Nothing on the filesystem is modified or deleted. Requires an API key. The resulting URL is public and undeletable through this server, so do not upload anything private. Accepts JPEG, PNG, WebP and GIF.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | Absolute path to the image on this machine, e.g. '/Users/me/cover.png'. JPEG, PNG, WebP or GIF; the type is inferred from the extension. |