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,终态时带退出码和日志末尾若干行。
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": {
"jobId": "<jobId>"
},
"name": "remote_job_check"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tail | No | 返回日志末尾多少行,默认 40 | |
| jobId | Yes | remote_exec_bg 返回的 id |