affine_upload_blob
Upload files or blobs to workspace storage by specifying workspace ID, content, filename, and MIME type. Integrates with AFFiNE MCP Server for efficient workspace data management.
Instructions
Upload a file or blob to workspace storage.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
content | Yes | Base64 encoded content or text | |
contentType | No | MIME type | |
filename | No | Filename | |
workspaceId | Yes | Workspace ID |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"content": {
"description": "Base64 encoded content or text",
"type": "string"
},
"contentType": {
"description": "MIME type",
"type": "string"
},
"filename": {
"description": "Filename",
"type": "string"
},
"workspaceId": {
"description": "Workspace ID",
"type": "string"
}
},
"required": [
"workspaceId",
"content"
],
"type": "object"
}