browser_console_messages
Retrieve console messages (log, warn, error) from a webpage to debug issues in browser automation. Specify tab by ID or index for concurrent agent operations.
Instructions
Get console messages (log, warn, error) from the page.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "browser_console_messages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tab_id | No | Stable tab id from browser_tabs list; preferred when multiple agents run in parallel. Mutually exclusive with tab_index. | |
| tab_index | No | Tab index from browser_tabs list. If omitted, uses the lowest-index tab. Mutually exclusive with tab_id. |