get_task_log_tail
Read the last N lines of task logs (stdout, stderr, test, verify) with automatic secret redaction. Use instead of full file reads to avoid content filters.
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.
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 |