remote_job_check
Check a background job's status and output on a remote machine. Returns running, done, or failed with exit code and recent log lines when finished.
Instructions
查一个后台任务的状态与输出。返回 running / done / failed,终态时带退出码和日志末尾若干行。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tail | No | 返回日志末尾多少行,默认 40 | |
| jobId | Yes | remote_exec_bg 返回的 id |