confluence_upload_attachment
Upload attachments to Confluence pages using local file paths or base64 content. Requires page edit permissions to add files with optional comments.
Instructions
上传附件到指定 Confluence (KMS) 页面。支持本地文件路径(filePath)或 base64 内容(contentBase64)。注意:需要页面编辑权限。
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pageId | Yes | 要上传附件的页面 ID | |
| filePath | No | 本地文件路径(优先使用)。建议使用绝对路径。 | |
| filename | No | 附件文件名(当使用 contentBase64 时必填;使用 filePath 时可选) | |
| contentBase64 | No | 附件内容 base64(与 filename 配合使用;与 filePath 二选一) | |
| comment | No | 可选:附件备注 |