query_recorded_traffic
Search a saved Charles recording (.chlsj) by host, HTTP method, or keyword regex to inspect captured requests and responses, skipping live traffic for offline analysis.
Instructions
Query the latest saved recording. This tool never reads the live Charles session. HISTORY-PLANE TOOL — only use when the user explicitly references a saved recording (.chlsj file). For ongoing / live traffic, prefer start_live_capture + query_live_capture_entries instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| http_method | No | Filter by HTTP method. Only standard HTTP methods are allowed. It must be a method name, not a regular expression or a path. | |
| keep_request | No | ||
| host_contains | No | Filter by host substring. Example: api.example.com | |
| keep_response | No | ||
| keyword_regex | No | Python regular expression searched in request and response content. Keep it short to avoid catastrophic backtracking. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | ||
| items | Yes | ||
| source | Yes | ||
| warnings | No | ||
| truncated | No | ||
| total_items | Yes |