doppler_environments_list
Retrieve all available environments within a Doppler project to manage configuration settings and deployment targets.
Instructions
List all environments in a Doppler project
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project | No | The Doppler project name (optional if set via doppler setup) |
Implementation Reference
- src/doppler.ts:103-107 (handler)Specific handler logic within buildDopplerCommand function that constructs the Doppler CLI command 'doppler environments list [--project PROJ] --json' for the doppler_environments_list tool.case "doppler_environments_list": parts.push("environments", "list"); if (getString("project")) parts.push("--project", getString("project")!); parts.push("--json"); break;
- src/tools.ts:155-163 (schema)Input schema definition for the doppler_environments_list tool, specifying optional project parameter.inputSchema: { type: "object", properties: { project: { type: "string", description: "The Doppler project name (optional if set via doppler setup)", }, }, },
- src/tools.ts:152-164 (registration)Tool registration in the toolDefinitions array, including name, description, and schema for doppler_environments_list.{ name: "doppler_environments_list", description: "List all environments in a Doppler project", inputSchema: { type: "object", properties: { project: { type: "string", description: "The Doppler project name (optional if set via doppler setup)", }, }, }, },