Doco Upload Attachment
doco_upload_attachmentUpload image, PDF, text, or Word files to a Doco document, returning an attachment ID and URL. Use the ID in image node attrs.attachmentId to embed attachments in document blocks.
Instructions
上传附件(图片/PDF/文本/Word),返回 attachment_id 与 URL;在文档块中用 image 节点 attrs.attachmentId 引用
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filename | No | Optional filename to use for the uploaded attachment. | |
| file_path | Yes | 服务器/本机可访问的文件绝对路径 | |
| document_id | Yes | 附件归属文档 ID | |
| idempotency_key | No | Optional key that makes a retried write safe. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||