rename_file
Rename a file in the workspace by providing the source path and the new desired path.
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": {
"path": "<path>",
"newPath": "<newPath>"
},
"name": "rename_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | 源路径 | |
| newPath | Yes | 目标路径 |