List environments
list_environmentsLists workspace environments, variable names including inherited ones, the active environment, and session-provided variable names without exposing values.
Instructions
List the environments of the workspace with the names of their variables (inherited ones included; extends names the parent, and problem says why its chain cannot be used), which one is active, and the names of the variables that have a value in this session. Values are never returned; reference a variable as {{name}}. Names under secret get their values from the developer; when one is missing from sessionVariables, ask the developer to pass it with --var-from-env.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_environments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| active | No | ||
| environments | No | ||
| sessionVariables | No |