env.exec
Production needs owner approval. Run a shell command inside the environment's running sandbox (same code, env vars, network and limits as the app), e.g. "node -e '...'", "ls", "env | sort". 30s timeout, 20 KB of output. Code is read-only; /tmp is writable. May return pending_approval: the owner is emailed a link to approve; tell them it is waiting, then poll approval.status.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| env | Yes | Environment: production, staging, or a preview name | |
| command | Yes | ||
| project | Yes | Project name | |
| timeout_seconds | No |