delete_file
Deletes a file from a Workday Studio project, creating a .bak backup by default and preventing removal of required assembly and project files.
Instructions
Delete a file from a Studio project. Creates a .bak backup before deleting by default. Cannot delete 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>",
"file_path": "<file_path>"
},
"name": "delete_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | File path relative to project root (e.g. ws/WSAR-INF/OldTransform.xsl) | |
| project_name | Yes | The Studio project name | |
| create_backup | No | Write a .bak copy before deleting. Defaults to true. |