Control Environment
cycle_control_environmentStart or stop a Cycle environment. Starting brings up the environment's service containers: discovery (the environment's private DNS), scheduler, and — only once the environment has a public container — the load balancer. Containers in an environment cannot resolve each other by hostname until discovery is running — start the environment BEFORE deploying or setting up multi-container applications in it. Starting an already-live environment is safe and restarts any stopped services. Each service is itself a container and can be started or restarted individually with cycle_control_container using its container id.
Stopping an environment stops its services AND every container in it — treat it as highly disruptive.
Both actions are mutations: confirm with the user before calling. Waits up to wait_seconds for the job and returns the environment's state.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | No | Lifecycle action. stop halts the environment's services and every container in it. | start |
| context | No | Why are you calling this tool? Briefly describe the user's goal. | |
| environment | Yes | Environment to act on. | |
| wait_seconds | No | Max seconds to wait for the job to complete. 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. |