Default output
tab open prints the created tab ID:
JSON output
Add--json when a script or agent needs structured output:
Errors
Human-readable errors are written to stderr:--json, stderr contains a machine-readable error:
Exit codes
Scripts should branch on the exit status or error code rather than parsing the
message text.

