proxy_search_session_bodies
Search inside HTTP request and response bodies from recorded proxy traffic. Decompress and locate specific text, errors, or API responses with context snippets.
Instructions
Search inside HTTP request/response bodies stored in a persistent session. Decompresses and searches actual body content — useful for finding specific text, prices, API responses, error messages, etc. in recorded traffic. Returns context snippets around each match (like grep -C).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | Session ID | |
| text | Yes | Text to search for inside request/response bodies | |
| hostname_contains | No | Pre-filter: hostname substring | |
| url_contains | No | Pre-filter: URL substring | |
| method | No | Pre-filter: HTTP method | |
| status_code | No | Pre-filter: HTTP status code | |
| content_type_contains | No | Pre-filter: response content-type substring (e.g. 'html', 'json') | |
| search_in | No | Which bodies to search (default: both) | both |
| case_sensitive | No | Case-sensitive search (default: false) | |
| limit | No | Max matching exchanges to return (default: 10, max: 100) | |
| max_scan | No | Max bodies to decompress and search (default: 200, max: 5000) | |
| context_chars | No | Characters of context around each match (default: 120) |