rename_file
Rename a file without moving it by specifying the current path and new filename.
Instructions
Rename a file in place (keeping it in the same directory).
Args: path: Current path, relative to the workspace root. new_name: New filename (not a full path) -- e.g. "app.py". overwrite: If True, replace an existing file with that name.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| new_name | Yes | ||
| overwrite | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||