Skip to main content

Default output

tab open prints the created tab ID:
This makes IDs easy to capture:
Other successful mutations are silent by default. Query commands print human-readable output.

JSON output

Add --json when a script or agent needs structured output:
For concurrency guards and event-oriented output, see JSON and concurrency.

Errors

Human-readable errors are written to stderr:
With --json, stderr contains a machine-readable error:
Common errors include:

Exit codes

Scripts should branch on the exit status or error code rather than parsing the message text.