get_task_log_tail
Review the final lines of a task log (stdout, stderr, test, verify) with automatic secret redaction, avoiding platform content filters by returning only the tail.
Instructions
Read the last N lines of a task log file (stdout/stderr/test/verify) with automatic secret redaction. Default 80 lines, max 200. Always returns tail only — never the full file. Use this instead of read_workspace_file to avoid triggering platform content filters on log output.
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>",
"file": "<file>"
},
"name": "get_task_log_tail"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | Log file to read: stdout (stdout.log), stderr (stderr.log), test (test.log), verify (verify.log) | |
| lines | No | Tail line count (default 80, max 200) | |
| redact | No | Apply secret redaction (default true) | |
| task_id | Yes | Task ID |