move_directory
Move or rename a directory to a new path. Designed for folders only, use the move tool if the path might be a file.
Instructions
Move or rename directory. Only works on directories, not files. Use 'move' tool if unsure about path type. Keywords: move directory, rename folder. / 移动或重命名目录。仅用于移动目录,不能移动文件。如果不确定路径类型,请使用 move 工具。关键词:移动目录、重命名文件夹。
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": {
"source": "<source>",
"destination": "<destination>"
},
"name": "move_directory"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | The source directory path to move. Must be a directory, not a file. | |
| destination | Yes | The destination directory path where the directory will be moved to. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | Yes | ||
| success | Yes |