save_response_body
Save captured HTTP response bytes to a specified file path. Use request_id to reference a captured response, and allow_partial to save truncated data if needed.
Instructions
Save captured response bytes (JS/WASM/JSON/binary) without refetch/replay.
Args: request_id: A captured ID with a completed body (capture_body=True). save_path: New file path. Never overwrites existing files. allow_partial: Explicitly permit a truncated body; default rejects it.
Returns: Path, saved byte length, SHA-256 and partial flag. Bytes are Playwright's decoded HTTP response body (not original compression/wire bytes). If the body was missing or truncated, increase the capture limit and collect a new sample intentionally; this tool never triggers a new request.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| save_path | Yes | ||
| request_id | Yes | ||
| allow_partial | No |