batch_download
Batch download all resources from a DOM container by specifying a CSS selector and resource types. Combines extraction and download into one call.
Instructions
Extract resources from a DOM container and download them all. Combines extract_resources + download in one call. Useful for downloading all images from a chat, all PDFs from a table, etc.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tabId | Yes | Tab ID from create_tab | |
| userId | No | User ID override (default: tracked tab userId) | |
| selector | No | CSS selector for target container | |
| ref | No | Element ref from snapshot | |
| types | No | Resource types: 'images', 'links', 'media', 'documents' (singular forms also accepted) | |
| extensions | No | Filter extensions: ['jpg', 'pdf'] | |
| resolveBlobs | No | Auto-resolve blob: URLs | |
| concurrency | No | Parallel download limit | |
| maxFiles | No | Maximum files to download |