Task
agh task block
Block a task with a typed reason
- Audience
- Operators running durable agent work
- Focus
- Task guidance shaped for scanability, day-two clarity, and operator context.
agh task block
Block a task with a typed reason
agh task block <id> [flags]Options
--as-agent Block using the current AGH-managed agent session identity
--details string Optional block details JSON
--expires-in string Optional transient block duration
-h, --help help for block
--kind string Block kind: needs_input, capability, or transient
--reason string Block reason
--run-id string Active run ID to park when blockingOptions inherited from parent commands
--json Emit JSON output
-o, --output string Output format: human, json, jsonl, or toon (default "human")Output Formats
Every AGH command supports -o, --output:
humanfor interactive terminal usejsonfor scripts and other machine-readable consumersjsonlfor wait or streaming commands that emit one JSON record per linetoonfor compact agent-readable summaries
Example:
agh task block <id> -o json