Update Bruno Environment
update_environmentMerge specified variables into an existing Bruno environment while preserving unlisted variables, enabling partial environment updates without replacing the whole file.
Instructions
Partially update an existing Bruno environment by MERGING the provided variables into the existing ones. Variables not listed are preserved, unlike create_environment, which replaces the whole file.
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": {
"collectionPath": "<collectionPath>",
"name": "<name>",
"variables": "<variables>"
},
"name": "update_environment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name of the existing environment to update. | |
| variables | Yes | Variables to merge into the environment. Existing variables not listed here are kept. | |
| collectionPath | Yes | Absolute path to existing collection directory. |