list_requests
List collected network requests from pages, workers, and service workers. Scope by target session and filter by URL pattern, resource type, or failures to debug traffic.
Instructions
List collected network requests. Includes requests from the page and from any auto-attached workers/service workers. Use targetId to scope to one session.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_requests"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of requests to return | |
| targetId | No | Filter by originating targetId (page/worker/SW). Use list_attached_sessions to find it. | |
| failedOnly | No | Only show failed requests | |
| urlPattern | No | Filter by URL pattern | |
| resourceType | No | Filter by resource type (XHR, Fetch, Script, etc.) |