proxy_search_session_bodies
Search decompressed HTTP request and response bodies in a saved session to find exact text, prices, API errors, or responses. Returns context snippets around each match for quick debugging.
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).
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": {
"session_id": "<session_id>",
"text": "<text>"
},
"name": "proxy_search_session_bodies"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Text to search for inside request/response bodies | |
| limit | No | Max matching exchanges to return (default: 10, max: 100) | |
| method | No | Pre-filter: HTTP method | |
| max_scan | No | Max bodies to decompress and search (default: 200, max: 5000) | |
| search_in | No | Which bodies to search (default: both) | both |
| session_id | Yes | Session ID | |
| status_code | No | Pre-filter: HTTP status code | |
| url_contains | No | Pre-filter: URL substring | |
| context_chars | No | Characters of context around each match (default: 120) | |
| case_sensitive | No | Case-sensitive search (default: false) | |
| hostname_contains | No | Pre-filter: hostname substring | |
| content_type_contains | No | Pre-filter: response content-type substring (e.g. 'html', 'json') |