env_down
Release this session's lease on a project's dev environment, stopping the server only when no other session holds it; use force to stop all claims.
Instructions
Release this session's hold on a project's environment; it stops when no other session holds it.
Other agent sessions in the same checkout may be using the same server. By
default this releases only YOUR session's claim: if another session still
holds one, the server keeps running and the result says stopped: false
with held_by naming them. If you held the last claim, it stops.
force=true stops it for everyone and lists overrode_claims — use it
only when the user asked to stop the server outright. Omit project to
act on everything leased to this cwd.
Waits up to wait_s seconds (default 15, at most 60) for verified
cleanup. Past that the result is pending: true — still ok: the
environment's supervisor finishes the stop, and env_ls shows the outcome.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | ||
| wait_s | No | ||
| project | No |