Cli referenceWindow
agh window focus
Focus a window by ID or direction for one connected client
- Audience
- Operators running durable agent work
- Focus
- Window guidance shaped for scanability, day-two clarity, and operator context.
agh window focus
Focus a window by ID or direction for one connected client
agh window focus [flags]Options
--actor-id string Optional actor identifier
--client string Connected presentation client ID
--direction string Direction: left, right, up, or down
-h, --help help for focus
--id string Window ID
--origin string Command origin label (default "cli")
--revision uint Expected workspace revision
--workspace string Workspace IDOptions 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 window focus -o json