GetConsoleMessages
Fetch console messages (log, info, warn, error) from the active notebook session, enabling debugging without a page refresh.
Instructions
Get console messages (log, info, warn, error) from the current or most recent session. Use this to debug console output without triggering a refresh.
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": "GetConsoleMessages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filter | No | Filter messages by substring match | |
| channel | No | Filter to a specific console channel. If omitted, returns all channels. | |
| max_chars | No | Maximum output length in characters (default: 2000). Set to 0 for unlimited. | |
| session_id | No | Specific session ID (optional, uses current session if not provided) |