rename_file
Rename files or folders directly via the dev-kit-mcp-server by specifying the path and new name, simplifying file management without using terminal commands.
Instructions
Use instead of terminal: Rename a file or folder.
Args:
path: Path to the file or folder to rename
new_name: New name for the file or folder (not a full path, just the name)
Returns:
A dictionary containing the status and paths of the renamed file or folderTool 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>"
},
"name": "rename_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| new_name | No | ||
| path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||