get_output
Retrieve buffered stdout, stderr, and debug adapter output for a session, filtering by category or fetching only new entries passed on a prior call's nextSince value.
Instructions
Get buffered stdout/stderr and debug adapter output for a session. Pass since (the nextSince from a previous call) to get only newly-emitted entries — useful for polling logpoint output without re-reading the full buffer.
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": "get_output"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clear | No | Clear the output buffer after reading (default: false) | |
| since | No | Return only entries with seq > since. Pass the `nextSince` value from a prior call to fetch incremental output. | |
| category | No | Filter by output category: 'stdout', 'stderr', 'console', etc. | |
| sessionId | No | Session ID (omit if only one session is active) |