List environments
list_environmentsEnvironments of a project with their kind and how many keys each holds (the keys list_secrets would name, values never). Environments outside the token's limits are marked restricted and carry no count. Requires projects:read.
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": {
"project": "<project>"
},
"name": "list_environments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project | Yes | Project slug or id |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project | Yes | Project slug | |
| environments | Yes |