Skip to content
Cli referenceLayout Profile
AGH RuntimeLayout Profile

agh layout-profile put

Create or replace one saved layout

Audience
Operators running durable agent work
Focus
Layout Profile guidance shaped for scanability, day-two clarity, and operator context.

agh layout-profile put

Create or replace one saved layout

Synopsis

Create or replace one saved layout.

--expected-version 0 creates; a non-zero value replaces that exact version and fails if the record moved underneath you.

agh layout-profile put <profile-id> [flags]

Options

      --expected-version int   Version this write replaces; 0 creates
      --file string            Layout profile spec file or - for stdin
  -h, --help                   help for put
      --scope string           Visibility scope: workspace or global (default "workspace")
      --workspace string       Workspace ID

Options 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:

  • human for interactive terminal use
  • json for scripts and other machine-readable consumers
  • jsonl for wait or streaming commands that emit one JSON record per line
  • toon for compact agent-readable summaries

Example:

agh layout-profile put <profile-id> -o json

On this page