browser_logs
Retrieves console errors and messages from a specified Chrome tab's DevTools, so you can inspect runtime issues and debug page behavior.
Instructions
Returns the stream of errors and messages from the tab's DevTools console.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"tab_id": "<tab_id>"
},
"name": "browser_logs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tab_id | Yes | Your tab's id (from browser_new_tab, or a tab adopted with browser_adopt_tab). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| status | Yes | ||
| warning | No | Emergency stop hotkey not held, or similar notice | |
| untrusted_note | No | Page text that looks like instructions aimed at an AI |