Global options
These options are shown in top-level help. Some are command-specific, so use them only with the commands listed here.Parser constraints
The CLI rejects conflicting input before contacting Custory.Input limits
Text input must be valid UTF-8. Tool-call input must parse to a JSON object.
custory login
Synopsis:
--force to start a new login even when a valid session exists. Use --no-browser when the terminal cannot open a browser.
Examples:
custory status, custory logout
custory logout
Synopsis:
custory login
custory status
Synopsis:
custory login, custory workspace list, custory doctor
custory workspace list
Synopsis:
custory init, custory mcp install
custory init
Synopsis:
--workspace, --journey, and one source: --website, --brief, or --stdin.
--custom is an interactive source mode. In non-interactive runs, use --brief or --stdin for private text context.
Use --resume to resume the latest unfinished setup:
custory status, custory doctor
JSON examples
These examples use fictional IDs and redacted values. JSON contracts can add fields over time, so automation should ignore unknown fields and branch on stable top-level fields.custory login --json
custory logout --json
custory status --json
custory workspace list --json
custory init --json
custory tools list --json
custory tools describe --json
custory tools call --json
custory agent run --json
custory mcp install --json
custory mcp verify --json
custory mcp uninstall --json
custory doctor --json
Error envelope
phase.
custory tools list
Synopsis:
custory tools describe, custory tools call
custory tools describe <name>
Synopsis:
custory tools list, custory tools call
custory tools call <name>
Synopsis:
{}.
Examples:
custory tools describe
custory agent run
Synopsis:
--file or --stdin.
Examples:
custory tools list
custory mcp install
Synopsis:
--client can be omitted. If your account has multiple workspaces, provide --workspace.
Examples:
custory mcp verify, custory mcp uninstall
custory mcp verify
Synopsis:
custory doctor
custory mcp uninstall
Synopsis:
custory mcp install
custory doctor
Synopsis:
--refresh when the local session may have expired.
Examples:
custory status, custory mcp verify
Exit codes
Error codes
Safe support data: command name, CLI version, error code, retryable flag, onboarding phase when present, and redacted
doctor output. Do not share tokens, authorization headers, private brief text, or customer data.