rename_file
Rename a file within a Workday Studio project by specifying old and new paths, while protecting reserved files like assembly.xml, assembly-diagram.xml, .project, and .classpath.
Instructions
Rename a file within a Studio project. Cannot rename assembly.xml, assembly-diagram.xml, .project, or .classpath.
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": {
"project_name": "<project_name>",
"old_path": "<old_path>",
"new_path": "<new_path>"
},
"name": "rename_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| new_path | Yes | New file path relative to project root (e.g. ws/WSAR-INF/NewName.xsl) | |
| old_path | Yes | Current file path relative to project root (e.g. ws/WSAR-INF/OldName.xsl) | |
| project_name | Yes | The Studio project name |