list_console_messages
Retrieve all console messages from the currently selected page since the last navigation, with optional filtering by message type and pagination to inspect logs, warnings, and errors.
Instructions
List all console messages for the currently selected page since the last navigation.
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": "list_console_messages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| types | No | Filter messages to only return messages of the specified resource types. When omitted or empty, returns all messages. | |
| pageIdx | No | Page number to return (0-based). When omitted, returns the first page. | |
| pageSize | No | Maximum number of messages to return. When omitted, returns all requests. | |
| includePreservedMessages | No | Set to true to return the preserved messages over the last 3 navigations. |