env_create
Create a testing environment by specifying a name, group, and initial variables. Automatically creates the group if it does not exist.
Instructions
Crea un nuevo entorno. PREGUNTA al usuario: nombre, grupo (o global) y variables. Si el grupo no existe, se crea automaticamente.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Nombre del entorno (ej: dev, staging, prod) | |
| group | No | Nombre del grupo (ej: "cocaxcode"). Si se omite, auto-detecta por CWD. Para global: pasar cadena vacía "" | |
| variables | No | Variables iniciales como key-value | |
| spec | No | Nombre del spec API asociado (ej: "cocaxcode-api") |