rename_file
Rename a file in place by providing its workspace-relative path and a new file name, avoiding accidental moves. Prevents overwriting by requiring the new name not already exist.
Instructions
Rename a regular file without moving it to another directory. The new name must not already exist.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Workspace-relative source file path | |
| new_name | Yes | New file name only, without directory components |