Prompt
The `hanzo prompt` commands.
Also for this capability: API · CLI · MCP · SDKs
Your prompt library, versioned, so nothing changes silently.
hanzo prompt listEvery command takes --json for the raw response and --help for its own flags. Sign in once with hanzo auth login; the commands below use that session, and the org they act in is the one it carries.
| Command | What it does |
|---|---|
hanzo prompt catalog | Catalog returns the read-only starter prompt library shipped with the binary — reference content every tenant sees the… |
hanzo prompt create | Create records a prompt for the caller's org and answers 201 with it. |
hanzo prompt list | List returns the caller org's prompt library as one row per prompt: its name, type, every version number it has, its… |
hanzo prompt metrics | Metrics returns real per-prompt statistics for the caller's org: how many versions each prompt has, which one is… |
get
| Command | What it does |
|---|---|
hanzo prompt get <name> | Get returns one of the caller org's prompts: its CURRENT template text plus the metadata of every version it has had. |
rm
| Command | What it does |
|---|---|
hanzo prompt rm <name> | Delete removes one of the caller org's prompts and every version of it, answering 204. |
How is this guide?