intercept_request
Intercept network requests by pattern to log, modify headers/body, or mock responses.
Instructions
Intercept network requests matching a pattern.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | No | log | |
| modify_body | No | ||
| url_pattern | Yes | ||
| mock_response | No | ||
| modify_headers | No |