ToolArtifact
agh tool artifact read
Read one workspace-scoped artifact page
- Audience
- Operators running durable agent work
- Focus
- Tool guidance shaped for scanability, day-two clarity, and operator context.
agh tool artifact read
Read one workspace-scoped artifact page
agh tool artifact read <artifact_uri> [flags]Examples
# Emit one page as structured JSON
agh tool artifact read agh://tool-artifacts/art_<sha256> --workspace ws-1 -o json
# Decode page bytes directly to stdout
agh tool artifact read agh://tool-artifacts/art_<sha256> --workspace ws-1 --offset 65536Options
-h, --help help for read
--limit int Page size in bytes (default and maximum 65536)
--offset int Zero-based byte offset
--workspace string Workspace id that owns the artifactOptions 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 artifact read <artifact_uri> -o json