upload-file
Upload files or images to Zulip by specifying the filename, Base64 encoded content, and optional MIME type. Ideal for integrating file sharing into Zulip workflows.
Instructions
Upload a file or image to Zulip.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
content | Yes | Base64 encoded file content | |
content_type | No | MIME type (e.g., 'image/png', 'application/pdf'). Auto-detected if not provided | |
filename | Yes | Name of the file including extension (e.g., 'document.pdf', 'image.png') |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"content": {
"description": "Base64 encoded file content",
"type": "string"
},
"content_type": {
"description": "MIME type (e.g., 'image/png', 'application/pdf'). Auto-detected if not provided",
"type": "string"
},
"filename": {
"description": "Name of the file including extension (e.g., 'document.pdf', 'image.png')",
"type": "string"
}
},
"required": [
"filename",
"content"
],
"type": "object"
}