list_modal_environments
Retrieve a list of all environments in your Modal workspace, including development and production divisions, to manage apps and secrets per environment.
Instructions
List all environments in the current Modal workspace (`modal environment list`).
Environments are sub-divisions of a workspace (e.g. "dev" vs "production"), each with
its own apps and secrets. The names returned here are valid `env` arguments for the
other tools.
Returns:
A dictionary containing the parsed JSON list of environments.Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |