memory_upload_image
Upload a local image file to cloud storage, returning a reference URL to attach to a memory record for visual context.
Instructions
Upload an image file directly to R2 storage.
Uploads a local image file to R2 and returns the r2:// reference URL that can be used in memory metadata.
Args: file_path: Absolute path to the image file to upload memory_id: Memory ID this image belongs to (used for organizing in R2) image_index: Index of image within the memory (default: 0) caption: Optional caption for the image
Returns: Dictionary with r2_url (the r2:// reference) and image object ready for metadata
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | ||
| memory_id | Yes | ||
| image_index | No | ||
| caption | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |