get_task_stdout_tail
Read the last N lines of a task's stdout/stderr to monitor progress. Works for pending, running, or completed tasks, with fallback to result.md.
Instructions
Read the last N lines of agent stdout/stderr. Reads from real-time stdout.log/stderr.log during execution, falls back to result.md after completion. Works on pending, running, and completed tasks. Default 80 lines.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"task_id": "<task_id>"
},
"name": "get_task_stdout_tail"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lines | No | Tail line count (default 80, max 200) | |
| task_id | Yes | Task ID |