upload_file
Upload a file as a Base64-encoded attachment and link it to a specific message. The server decodes and stores the file locally.
Instructions
上传文件附件并关联到消息。文件以 Base64 编码传入,服务端解码后存储到本地磁盘。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message_id | Yes | 关联的消息 ID | |
| filename | Yes | 文件名(含扩展名) | |
| content_base64 | Yes | 文件内容的 Base64 编码 | |
| mime_type | No | MIME 类型 | application/octet-stream |