putBase64
Upload base64-encoded content to cloud storage buckets. Specify file name, target directory, and content type for organized storage.
Instructions
上传base64编码内容到存储桶
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"base64Content": "<base64Content>",
"fileName": "<fileName>"
},
"name": "putBase64"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base64Content | Yes | base64编码的内容 | |
| fileName | Yes | 文件名 (存在存储桶里的名称) | |
| targetDir | No | 目标目录 (存在存储桶的哪个目录) | |
| contentType | No | 内容类型,如 image/png (图片), application/pdf, application/vnd.openxmlformats-officedocument.wordprocessingml.document (文档) 等,如果base64带头部则默认自带的头部否则默认为 application/octet-stream |