process_read_output
Retrieve and clear buffered stdout/stderr output from the debugged process, optionally filtering by category or limiting lines to keep the rest for later retrieval.
Instructions
Drain buffered output (stdout/stderr) from the debuggee since the previous call. Returns the lines collected and removes them from the buffer. Filtering by category drains only that category — lines in other categories, and matches beyond maxLines, stay buffered for a later call.
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": "process_read_output"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| category | No | Filter by category: "stdout", "stderr", "console", or omit for all. | |
| maxLines | No | Maximum lines to drain in this call. |