Inspect network requests on the current page using Chrome DevTools
Monitors and analyzes network requests made by the current web page in real-time.
/plugin marketplace add arevlo/claude-code-workflows/plugin install clawd-eyes@claude-code-workflowsMonitor and analyze network requests (XHR, Fetch, resources) made by the current web page.
First, verify that Claude Code Chrome integration is available:
# Check if /chrome is enabled by attempting to check tab context
# (this is a safe no-op check)
echo "Checking Chrome integration..."
If Chrome integration is not enabled:
Tell the user:
Chrome integration required for network inspection.
To enable:
1. Run: /chrome
2. Select "Enabled by default"
Or start Claude Code with: claude --chrome
Exit gracefully if Chrome is not available.
Use the mcp__claude-in-chrome__tabs_context_mcp tool to get the current tab ID.
If no tabs available:
Use the mcp__claude-in-chrome__read_network_requests tool with the tab ID:
Parameters:
tabId: From step 2urlPattern: Optional filter (e.g., "/api/" to show only API calls)limit: Default 100Format the network requests into a readable table:
## Network Requests for [URL]
| Method | URL | Status | Type | Size |
|--------|-----|--------|------|------|
| GET | /api/users | 200 | xhr | 1.2 KB |
| POST | /api/login | 201 | fetch | 456 B |
| GET | /styles.css | 200 | stylesheet | 12.5 KB |
| GET | /logo.png | 200 | image | 45 KB |
**Total:** 15 requests
**Failed:** 0
**Pending:** 2
### Request Details
**API Calls (filtered):**
- GET /api/users → 200 OK (1.2 KB)
- POST /api/login → 201 Created (456 B)
**Resources:**
- 5 stylesheets
- 8 images
- 2 scripts
Accept optional arguments for filtering:
Examples:
# Show only API calls
/clawd-eyes:inspect-network api
# Show only failed requests
/clawd-eyes:inspect-network error
# Show specific endpoint
/clawd-eyes:inspect-network /users
Use the filter as the urlPattern parameter.
For failed requests or when specifically requested:
Chrome not enabled:
❌ Chrome integration not available.
Enable with: /chrome
This command requires Claude Code's Chrome integration to read network requests.
No tab context:
❌ No active Chrome tab found.
Please:
1. Open Chrome
2. Navigate to a web page
3. Run this command again
No requests found:
✓ Network monitoring active
No requests captured yet. This could mean:
- Page hasn't made any requests
- Requests completed before monitoring started
- Try refreshing the page while monitoring is active
Pattern yields no matches:
No requests match pattern: [pattern]
Total requests captured: [count]
Try a broader search or remove the filter.
Workflow:
/clawd-eyes:inspect-network to see network activity/clawd-eyes:read-console) for debuggingUseful Patterns:
/api/ - Show only API endpoints.json - Show JSON responseserror - Show failed requestsUser: "Check what API calls this page is making"
Command: /clawd-eyes:inspect-network
Output:
## Network Requests for https://example.com
| Method | URL | Status | Type | Size |
|--------|-----|--------|------|------|
| GET | /api/v1/users | 200 | xhr | 2.4 KB |
| POST | /api/v1/analytics | 200 | fetch | 156 B |
| GET | /api/v1/config | 200 | xhr | 890 B |
**Total:** 3 API requests
**All requests successful**
### API Calls
1. GET /api/v1/users → 200 OK
- Response size: 2.4 KB
- Type: xhr
2. POST /api/v1/analytics → 200 OK
- Response size: 156 B
- Type: fetch
3. GET /api/v1/config → 200 OK
- Response size: 890 B
- Type: xhr