Start capturing response bodies (experimental)
browser_collect_response_bodyEnable BiDi response-body collection before the target request happens, then read the captured body with browser_get_response_body and stop interception when done.
Instructions
Turn on BiDi response-body collection (network.addDataCollector). It must be switched on BEFORE the request you care about happens — a request that already completed has no body to collect. Then read it with browser_get_response_body. Measured: Firefox clones the body while handling the response-started phase, so this tool also intercepts that phase; browser_get_response_body releases the response and only then reads the body only after network.responseCompleted for that request — asking earlier blocks, and asking with no hold at all can come back as "no such network data". Clear the interception with browser_network_intercept stop when finished.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| maxSize | No | Upper bound on captured bytes per response (default 1 MB) |