update_environment
Update an environment's variables by merging key-value pairs or replacing all existing variables, and optionally rename the environment.
Instructions
Update environment variables. By default merges with existing vars; set replace=true to overwrite all.
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": {
"environment_id": "<environment_id>",
"data": "<data>"
},
"name": "update_environment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Variable key-value pairs to set | |
| name | No | Optionally rename the environment | |
| replace | No | If true, replaces all variables; if false, merges | |
| environment_id | Yes | The environment _id to update |