browser_batch
Execute multiple CDP commands in a single batch request to a browser tab, reducing round trips and improving efficiency.
Instructions
Run multiple extension/CDP commands in one request.
Args: commands: Command objects supported by the extension, such as {"cmd":"cdp","method":"DOM.getDocument","params":{"depth":1}}. tab_id: Optional tab ID inherited by commands that omit tabId. timeout: Seconds to wait for the batch result.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tab_id | No | ||
| timeout | No | ||
| commands | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |