.ie \n(.g .ds Aq \(aq
.el .ds Aq '
.TH create 1 "create "
.SH NAME
create \- Create a new tab
.SH SYNOPSIS
\fBcreate\fR [\fB\-\-background\fR] [\fB\-h\fR|\fB\-\-help\fR] [\fIURL\fR]
.SH DESCRIPTION
Create a new browser tab. Optionally specify a URL to open; defaults to about:blank. Returns JSON with the new tab\*(Aqs ID and URL. Use \-\-background to open the tab without switching focus to it.
.SH OPTIONS
.TP
\fB\-\-background\fR
Open the tab in the background without activating it
.TP
\fB\-h\fR, \fB\-\-help\fR
Print help (see a summary with \*(Aq\-h\*(Aq)
.TP
[\fIURL\fR]
URL to open (defaults to about:blank)
.SH EXTRA
EXAMPLES:
# Open a blank tab
agentchrome tabs create
# Open a URL
agentchrome tabs create https://example.com
# Open in the background
agentchrome tabs create https://example.com \-\-background
.SH CAPABILITIES
.PP
Tab management (list, create, close, activate)
.TP
.B tabs list
List open tabs
.TP
.B --all
Include internal Chrome pages (chrome://, chrome-extension://)
.TP
.B tabs create
Create a new tab
.TP
.B url
URL to open (defaults to about:blank)
.TP
.B --background
Open the tab in the background without activating it
.TP
.B tabs close
Close one or more tabs
.TP
.B targets
Tab ID(s) or index(es) to close
.TP
.B --tab
.TP
.B tabs activate
Activate (focus) a tab
.TP
.B target
Tab ID or index to activate
.TP
.B --quiet
Suppress output after activation
.SH EXAMPLES
.PP
Examples:
.TP
.B \`agentchrome tabs list\`
List all open tabs
.TP
.B \`agentchrome tabs create https://example.com\`
Open a new tab with a URL
.TP
.B \`agentchrome tabs close ABC123\`
Close a tab by its ID
.TP
.B \`agentchrome tabs activate ABC123\`
Activate (focus) a tab by its ID
.TP
.B \`agentchrome tabs list --all\`
List all tabs including internal Chrome pages