yuque_upload_attachment
Upload local files to Yuque CDN so they can be stored and used in documents. Provide the local file path and select image, attachment, or video based on supported size limits.
Instructions
Upload a file to Yuque CDN (image≤50MB, attachment/video≤2GB, requires cookie+ctoken). POST /upload/attach. 详见 references/api/upload_api.md
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | File type: image, attachment, video, default attachment | |
| user_id | No | User ID, auto-detected from token if omitted | |
| file_path | Yes | Local file path (required) |