get_python_task_logs
Fetch stdout and stderr logs from launchd-managed Python tasks. Optionally filter by task name and choose tail lines to troubleshoot execution issues.
Instructions
Fetch per-task execution logs (stdout/stderr).
Args: task_name: Optional original task name. If omitted, return logs for all matching tasks. label_prefix: Reverse-domain prefix used for managed task labels. lines: Number of tail lines to return from each log file. include_stdout: Include stdout logs. include_stderr: Include stderr logs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lines | No | ||
| task_name | No | ||
| label_prefix | No | link.igtm.launchd-mcp | |
| include_stderr | No | ||
| include_stdout | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |