env_switch
Switches the active environment for a workspace, marking hosted environments read-only while keeping local main writable; unconfirmed calls return a plan without changes.
Instructions
Set the active environment for this face. Switching to a served (hosted) env records the pointer and marks the face read-only; a local main stays writable (D135). Destructive env-wide verbs stay refused on main regardless. Unconfirmed, returns a plan and changes nothing (P8).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| confirmed | No | ||
| workspaceId | Yes | ||
| idempotencyKey | No |