rename_file
Rename or move a file within your Godot project by specifying the current and new relative paths.
Instructions
Rename or move a file within the project
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": {
"projectPath": "<projectPath>",
"filePath": "<filePath>",
"newPath": "<newPath>"
},
"name": "rename_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| newPath | Yes | New file path (relative to project) | |
| filePath | Yes | Current file path (relative to project) | |
| projectPath | Yes | Godot project path |