重命名对象
renameChange the name of a file or directory within the same virtual remote directory without overwriting an existing target.
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>",
"new_name": "<new_name>"
},
"name": "rename"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | 服务器虚拟绝对路径,以 / 开头;/ 表示配置的服务器 root。 | |
| server | No | 可选服务器别名;省略时使用默认服务器。 | |
| new_name | Yes | 不含路径分隔符的新名称。 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||