ssh_job_start
Execute long-running remote commands as background jobs so they persist through network disconnections or MCP request timeouts.
Instructions
在远程主机后台脱机启动长耗时命令(编译/镜像构建/备份等),不受网络断开或 MCP 请求超时影响
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": {
"command": "<command>"
},
"name": "ssh_job_start"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | 作业执行工作目录(缺省时使用用户登录主目录) | |
| env | No | 注入作业环境的环境变量键值对 | |
| command | Yes | 待在远程后台脱机运行的长耗时命令 | |
| connectionId | No | 目标连接标识符,缺省时使用当前默认连接 |