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.
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": {
"taskId": "<taskId>"
},
"name": "ssh_task_poll"
}
}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). |