Create Bruno environment
bruno_create_environmentCreates a new Bruno environment file to define variables for API testing, ensuring secret values are omitted or redacted.
Instructions
Create a new Bruno environment file. Secret values must be omitted or [REDACTED].
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": {
"collection": "<collection>",
"name": "<name>"
},
"name": "bruno_create_environment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Environment name or path (e.g. Local or environments/Local.yml). | |
| variables | No | Initial list of environment variables. | |
| collection | Yes | Collection path relative to workspace root (as returned by bruno_list_collections). |