update_startup_variable
Update an editable startup environment variable, such as MAIN_FILE or NODE_PACKAGES, on a Pterodactyl-hosted server to change how it launches.
Instructions
Update an editable startup environment variable (e.g. MAIN_FILE, NODE_PACKAGES).
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>",
"key": "<key>",
"value": "<value>"
},
"name": "update_startup_variable"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | Environment variable key (e.g. 'MAIN_FILE') | |
| value | Yes | New value for the variable | |
| server_id | Yes | Short server identifier |