List Browser Files
list_browser_filesLists files inside the remote browser sandbox so you can find completed downloads; set downloads to /tmp/downloads first and retry if a saved file is briefly unreadable.
Instructions
List files inside the browser sandbox.
Defaults to /tmp/downloads — point downloads there first, via CDP Browser.setDownloadBehavior with downloadPath: "/tmp/downloads".
Use after a download completes to discover what was saved. The browser sandbox is ephemeral, so files only exist while the browser is alive.
There can be a brief delay between CDP downloadProgress reporting "completed" and the file being readable; if a file looks truncated, retry after a moment.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Directory path (default: /tmp/downloads) | |
| pattern | No | Optional glob pattern to filter results | |
| browser_id | Yes | ID of the browser |