image-upsert
Store image data (base64 or file path) under a unique key, returning an image ID. Integrates with MCP Index Notes for efficient note management, tagging, and semantic connections.
Instructions
Store an image (base64 data or file path) under a key. Returns image id.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
data | No | Base64-encoded image data (no data: prefix) | |
file | No | Path to image file to read if data not provided | |
key | Yes | ||
metadata | No | ||
mime | No | MIME type e.g. image/png if data provided |
Input Schema (JSON Schema)
{
"properties": {
"data": {
"description": "Base64-encoded image data (no data: prefix)",
"type": "string"
},
"file": {
"description": "Path to image file to read if data not provided",
"type": "string"
},
"key": {
"type": "string"
},
"metadata": {
"type": "object"
},
"mime": {
"description": "MIME type e.g. image/png if data provided",
"type": "string"
}
},
"required": [
"key"
],
"type": "object"
}