ssh_task_poll
Check status, exit code, and log tail of a background SSH task. Use after ssh_exec_background to retrieve results.
Instructions
Check status, exit code, and inspect log tail of a background task launched via ssh_exec_background.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | No | Optional SSH connection target. If omitted, uses default profile (homelab). | |
| taskId | Yes | The taskId returned by ssh_exec_background. | |
| tailLines | No | Number of log lines to tail (default 50). |