Read mini program console output
mp_consoleRead console messages and uncaught exceptions captured since launch, with incremental since_seq reads, kind filtering, and optional clearing; dropped counts reveal lost entries.
Instructions
Read console messages and uncaught exceptions captured since the session started. Supports incremental reading with since_seq, filtering by kind, and clearing. The buffer is bounded; dropped tells you how many entries were lost before this read. Console capture starts at launch.
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": "mp_console"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | Filter to console messages or uncaught exceptions only. | |
| clear | No | Drop buffered entries after reading them. | |
| limit | No | Maximum entries to return, newest kept. Defaults to 200. | |
| since_seq | No | Only entries after this sequence number. Pass the next_seq from a previous call to read incrementally. |