pipe2 schema
pipe2 schema
Dump a machine-readable schema of every command, flag, and exit code
Synopsis
Print a JSON schema of the CLI command tree.
Agents should call this once at the start of a session and treat the output as the canonical source of truth for what commands exist, what flags they take, and what exit codes mean. Calling with a command path narrows the output to that subtree:
pipe2 schema # full tree pipe2 schema pipelines # just the pipelines subtree pipe2 schema pipelines run # one command
pipe2 schema [command-path...] [flags]Options
-h, --help help for schemaOptions inherited from parent commands
--api-url string override API base URL (env: PIPE2_API_URL) --config string path to config file (default: $XDG_CONFIG_HOME/pipe2/config.toml) --json emit JSON to stdout instead of human-readable text --token string override personal access token (env: PIPE2_TOKEN) -v, --verbose verbose human output on stderrSEE ALSO
- pipe2 - Pipe2.ai command line and agent SDK