重命名文件
classin_rename_fileRename files in the ClassIn cloud drive by specifying the file ID and the new file name. Returns the operation result.
Instructions
重命名云盘中的文件。
参数:
fileId: 文件ID
fileName: 新的文件名称
返回:
成功返回操作结果
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": {
"fileId": "<fileId>",
"fileName": "<fileName>"
},
"name": "classin_rename_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fileId | Yes | 文件ID | |
| fileName | Yes | 新的文件名称 | |
| response_format | No | 输出格式: 'markdown' 人类可读格式 或 'json' 机器可读格式 | markdown |