upload_image
Upload local image files (JPEG, PNG, GIF, WebP, AVIF; max 1 MB) to AT Protocol for use in posts, profiles, or analysis. Returns a blob descriptor and alt text.
Instructions
Upload an image file to AT Protocol for use in posts and profiles. Reads a local image file (JPEG, PNG, GIF, WebP, or AVIF; max 1 MB) and uploads it as an AT Protocol blob, returning a blob descriptor and alt text. Pass the returned image.blob object verbatim as embed.images[].image in create_post, as avatar/banner in update_profile, or to analyze_image. Requires authentication (app password). Use upload_video instead for video files. Subject to per-tool rate limiting.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | Yes | Absolute or relative path to the image file on disk. Must resolve within the allowed media directory (ATPROTO_MEDIA_DIR env var, defaults to cwd). Accepted extensions: .jpg, .jpeg, .png, .gif, .webp, .avif. Maximum file size 1 MB. | |
| altText | No | Accessible alt-text description of the image (max 1000 characters). Omit if no description is available. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| success | Yes | Whether the upload succeeded. | |
| message | Yes | Human-readable status message. | |
| image | Yes | Uploaded image blob descriptor and metadata. Pass the `blob` object as create_post embed.images[].image or update_profile avatar/banner. |