putString
Upload string content to cloud storage buckets with specified filenames, directories, and content types for data persistence and management.
Instructions
上传字符串内容到存储桶
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": {
"content": "<content>",
"fileName": "<fileName>"
},
"name": "putString"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | 要上传的字符串内容 | |
| fileName | Yes | 文件名 (存在存储桶里的名称) | |
| targetDir | No | 目标目录 (存在存储桶的哪个目录) | |
| contentType | No | 内容类型,如 text/plain, application/json 等,默认为 text/plain |