read_console
Retrieve buffered Firefox console messages and uncaught errors, filter by regex pattern, and optionally clear the buffer.
Instructions
Console messages and uncaught errors buffered since the server connected. pattern is a regex filter; clear=true empties the buffer after reading.
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": "read_console"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clear | No | ||
| limit | No | ||
| tabId | No | Tab id from tabs_context; omit for all tabs | |
| pattern | No |