delete_egg_variable
Permanently deletes an environment variable from a Pterodactyl egg using nest, egg, and variable IDs; find the variable ID with list_egg_variables first.
Instructions
Delete an environment variable from an egg (admin action). This is permanent and cannot be undone. Use list_egg_variables to find the variable_id. Requires Application API key.
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": {
"nest_id": "<nest_id>",
"egg_id": "<egg_id>",
"variable_id": "<variable_id>"
},
"name": "delete_egg_variable"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| egg_id | Yes | Egg ID that contains the variable (from list_eggs) | |
| nest_id | Yes | Nest ID that contains the egg (from list_nests) | |
| variable_id | Yes | Variable ID to delete (from list_egg_variables) |