update_egg_variable
Update an existing egg environment variable as an admin by changing only supplied fields. Find the variable_id with list_egg_variables; an Application API key is required.
Instructions
Update an existing environment variable on an egg (admin action). All fields are optional - only provided fields will be changed. 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": "update_egg_variable"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | New display name for the variable | |
| rules | No | New Laravel validation rules | |
| egg_id | Yes | Egg ID that contains the variable (from list_eggs) | |
| nest_id | Yes | Nest ID that contains the egg (from list_nests) | |
| description | No | New description | |
| variable_id | Yes | Variable ID to update (from list_egg_variables) | |
| env_variable | No | New environment variable key | |
| default_value | No | New default value | |
| user_editable | No | Whether users can modify this variable | |
| user_viewable | No | Whether users can see this variable |