delete_egg_variable
Remove an environment variable from a Pterodactyl egg configuration. This admin action permanently deletes the specified variable using nest, egg, and variable IDs.
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 |
|---|---|---|---|
| nest_id | Yes | Nest ID that contains the egg (from list_nests) | |
| egg_id | Yes | Egg ID that contains the variable (from list_eggs) | |
| variable_id | Yes | Variable ID to delete (from list_egg_variables) |