ToolApprovals
agh tool approvals set
Set an explicit agent-wide or tool-wide approval decision
- Audience
- Operators running durable agent work
- Focus
- Tool guidance shaped for scanability, day-two clarity, and operator context.
agh tool approvals set
Set an explicit agent-wide or tool-wide approval decision
agh tool approvals set <tool_id> [flags]Options
--agent string Agent name required by agent scope
--decision string Remembered decision: allow or reject
-h, --help help for set
--scope string Wider scope: agent or tool
--workspace string Workspace id or referenceOptions 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 tool approvals set <tool_id> -o json