oz0 kill agent
Stop an agent or a flow (NAME, or <plugin>/<agent>): no new jobs, no model calls, running jobs paused or cancelled
For: Operators and developers looking up a command.
Stop an agent or a flow (NAME, or <plugin>/<agent>): no new jobs, no model calls, running jobs paused or cancelled
Usage
oz0 kill agent NAME [flags]
Flags
| Flag | Type | Default | Description |
|---|---|---|---|
--decision-ref | string | the decision or case the change follows, such as a case number (at most 200 characters) | |
--json | bool | print JSON instead of a table | |
--mode | string | park | what happens to running jobs: park (pause; they resume on release) or cancel |
--reason | string | why, for the audit log (required) |
Inherited flags
| Flag | Type | Default | Description |
|---|---|---|---|
--context | string | $OZ0_CONTEXT or <config dir>/orchestrator-zero/context.json | CLI context file written by server init |
--log-level | string | info | log level: debug, info, warn or error |
--tenant | string | default | the tenant |
See all oz0 commands and the global flags.