.ie \n(.g .ds Aq \(aq
.el .ds Aq '
.TH network 1 "network "
.SH NAME
network \- Network request monitoring and interception
.SH SYNOPSIS
\fBnetwork\fR [\fB\-h\fR|\fB\-\-help\fR] <\fIsubcommands\fR>
.SH DESCRIPTION
Monitor and intercept network requests. List recent requests, filter by URL pattern or resource type, capture request/response bodies, and stream requests in real time.
.SH OPTIONS
.TP
\fB\-h\fR, \fB\-\-help\fR
Print help (see a summary with \*(Aq\-h\*(Aq)
.SH SUBCOMMANDS
.TP
network\-list(1)
List network requests or get details of a specific request
.TP
network\-get(1)
Get detailed information about a specific network request
.TP
network\-follow(1)
Stream network requests in real\-time (tail \-f style)
.TP
network\-help(1)
Print this message or the help of the given subcommand(s)
.SH EXTRA
EXAMPLES:
# List recent network requests
agentchrome network list
# Filter by resource type
agentchrome network list \-\-type xhr,fetch
# Get details of a specific request
agentchrome network get 42
# Stream network requests in real time
agentchrome network follow \-\-url api.example.com
.SH CAPABILITIES
.PP
Network request monitoring and interception
.TP
.B network list
List network requests or get details of a specific request
.TP
.B --type
Filter by resource type (comma-separated: document,stylesheet,image,media,font,script,xhr,fetch,websocket,manifest,other)
.TP
.B --url
Filter by URL pattern (substring match)
.TP
.B --status
Filter by HTTP status code (exact like 404 or wildcard like 4xx)
.TP
.B --method
Filter by HTTP method (GET, POST, etc.)
.TP
.B --limit
Maximum number of requests to return
.TP
.B --page
Pagination page number (0-based)
.TP
.B --include-preserved
Include requests from previous navigations
.TP
.B --frame
Filter network requests by originating frame index
.TP
.B network get
Get detailed information about a specific network request
.TP
.B req_id
Numeric request ID to inspect
.TP
.B --save-request
Save request body to a file
.TP
.B --save-response
Save response body to a file
.TP
.B network follow
Stream network requests in real-time (tail -f style)
.TP
.B --type
Filter by resource type (comma-separated: document,stylesheet,image,media,font,script,xhr,fetch,websocket,manifest,other)
.TP
.B --url
Filter by URL pattern (substring match)
.TP
.B --method
Filter by HTTP method (GET, POST, etc.)
.TP
.B --timeout
Auto-exit after the specified number of milliseconds
.TP
.B --verbose
Include request and response headers in stream output
.SH EXAMPLES
.PP
Examples:
.TP
.B \`agentchrome network list\`
List recent network requests
.TP
.B \`agentchrome network list --type xhr,fetch\`
Filter requests by resource type
.TP
.B \`agentchrome network get 42\`
Get details of a specific request by ID
.TP
.B \`agentchrome network follow --url api.example.com\`
Stream network requests matching a URL pattern
.TP
.B \`agentchrome network list --frame 1\`
List network requests from a specific frame