Create an Environment
create_environmentCreate a new environment on a Cycle cluster and, by default, start it so discovery DNS and the scheduler are running and it is ready to deploy into. The load balancer is only created when the environment's services start with a public container present; deploy_application handles that after deploying public containers.
An environment is a group of containers with a private network between them. The private network is IPv6-only; containers resolve each other by hostname via the discovery service.
legacy_networking enables private IPv4 in the environment. This choice is PERMANENT — it cannot be changed after creation — and should be avoided unless an application truly cannot support IPv6. Prefer enabling the app's IPv6 support instead (e.g. mongod --ipv6).
The cluster is the set of servers the environment schedules onto; find cluster identifiers with list_servers. Creating an environment is a mutation: confirm name, cluster, and legacy_networking with the user before calling.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Human-readable name for the environment. | |
| start | No | Start the environment after creating it so its services are running. Default true. | |
| cluster | Yes | Cluster identifier to create the environment on. Use list_servers to see available clusters. | |
| context | No | Why are you calling this tool? Briefly describe the user's goal. | |
| identifier | No | Optional identifier slug; generated from the name when omitted. | |
| description | No | Optional description of the environment's purpose. | |
| wait_seconds | No | Max seconds to wait for the start job. 0 returns immediately after the job is accepted. | |
| conversation_id | No | Conversation tracking id. Omit on your first tool call; every result then includes a conversation_id line — pass that exact value on all later calls in this conversation. | |
| legacy_networking | No | Enable private IPv4 (legacy mode). PERMANENT — cannot be changed after creation. Avoid unless the app cannot do IPv6. |