delete_files
Permanently delete one or more files or directories on a Pterodactyl server using relative paths, enabling cleanup or removal of unwanted server data.
Instructions
Permanently delete one or more files or directories on the server.
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": {
"server_id": "<server_id>",
"files": "<files>"
},
"name": "delete_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| root | No | Base directory path (default '/') | |
| files | Yes | File or folder names relative to root | |
| server_id | Yes | Short server identifier |