Create Environment
create_environmentCreate a new environment in a Coalesce project. Specify a name and optional settings such as OAuth, development mode, connection account, runtime parameters, and tag colors.
Instructions
Create a new Coalesce environment within a project.
Args:
projectID (string, required): The project to create the environment in
name (string, required): Name for the new environment
oauthEnabled (boolean, optional): Enable OAuth (default: false)
devEnv (boolean, optional): Mark as development environment (default: false)
connectionAccount (string, optional): Connection account identifier
runTimeParameters (object, optional): Runtime parameters for the environment
tagColors (object, optional): UI tag colors { backgroundColor, textColor }
Returns: Created environment object with assigned ID.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name for the new environment | |
| devEnv | No | Defaults to false. | |
| projectID | Yes | The project ID to create the environment in | |
| tagColors | No | Optional tag colors for the environment | |
| oauthEnabled | No | Whether OAuth is enabled. Defaults to false. | |
| connectionAccount | No | Optional connection account identifier | |
| runTimeParameters | No | Optional runtime parameters |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| name | No | ||
| message | No |