rename_file
Rename or move files and directories within allowed folders. Specify the current path and the new path to relocate or rename items securely while respecting access restrictions.
Instructions
Rename or move a file or directory inside allowed folders.
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": {
"oldPath": "<oldPath>",
"newPath": "<newPath>"
},
"name": "rename_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| newPath | Yes | ||
| oldPath | Yes |