puppeteer_set_request_interception
Enable request interception for a browser tab to block resource types or inject custom headers before requests load.
Instructions
Enable request interception for a tab. Optionally block resources by type or inject headers.
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": "puppeteer_set_request_interception"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| enable | No | ||
| pageId | No | ||
| modifyHeaders | No | ||
| blockResources | No |