get_output_tail
Retrieve the last N lines of program output, filtered by stdout, stderr, or console, to quickly inspect recent logs without loading entire history.
Instructions
Get the last N lines of program output.
Useful for checking recent output without loading everything. The user cannot see this - summarize relevant info for them.
Args: lines: Number of lines to return (default 50) category: Filter by category: "stdout", "stderr", or "console" (default: all)
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_tail"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lines | No | ||
| category | No |