task_logs
Retrieve the last lines of a task's captured stdout and stderr logs. Provides quick log inspection for spawned tasks with output capture enabled.
Instructions
Read tail of a spawned task's captured stdout/stderr log.
Only works for tasks spawned with capture_output=True (default).
Returns the last tail_lines lines or 'no_log' if the task ran with
capture_output=False or the log file is missing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task_id | Yes | ||
| tail_lines | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |