fault.modify_headers
Rewrite request headers on matching requests to test or debug how a site handles altered headers. Specify a URL pattern and header values to apply changes in the active or target page.
Instructions
Rewrite request headers on matching requests.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"url": "<url>",
"headers": "<headers>"
},
"name": "fault.modify_headers"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| count | No | ||
| headers | Yes | ||
| target_id | No | Target handle (tgt_*). Omit for the active page. | |
| browser_id | No | Browser handle (br_*). Omit to use the only running browser, or auto-launch one. |