Delete files or folders
delete_filesDelete files or folders on a PebbleHost Minecraft server, moving them to a 24-hour trash bin by default or removing them permanently when specified.
Instructions
DESTRUCTIVE: deletes files or folders. By default PebbleHost moves them to a trash bin where restore_files can bring them back within 24 hours; permanent skips the trash and cannot be undone.
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": {
"paths": "<paths>"
},
"name": "delete_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| paths | Yes | Paths to delete, relative to the server root. | |
| server | No | Server identifier or UUID. Omit to use the configured server (PEBBLEHOST_SERVER_ID); other servers are refused unless PEBBLEHOST_ALLOW_ALL_SERVERS is set. | |
| permanent | No | Delete permanently instead of moving to the trash. |