get_upload_token
Generate upload credentials for posting images to cloud storage, enabling subsequent note creation with image attachments.
Instructions
获取 OSS 图片上传凭证。返回 accessid/host/policy/signature 等字段,用于 multipart/form-data POST 上传图片到阿里云 OSS。上传成功后获取 image_id,再用 save_note 创建图片笔记。⚠️ mime_type 必须与实际文件格式一致,否则 OSS 签名失败。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mime_type | No | 图片类型:jpg | png | gif | webp,默认 png | |
| count | No | 需要的 token 数量,默认 1,最大 9(批量上传时使用) |