create_supervisor_job
Create a supervisor job on a RunCloud server to run and manage a command as a chosen user, with optional working directory, process count, auto-start, and auto-restart settings.
Instructions
Create a new supervisor job
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": {
"serverId": "<serverId>",
"jobName": "<jobName>",
"user": "<user>",
"command": "<command>"
},
"name": "create_supervisor_job"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user | Yes | User to run as | |
| command | Yes | Command to execute | |
| jobName | Yes | Job name | |
| serverId | Yes | The ID of the server | |
| autoStart | No | Auto-start job | |
| directory | No | Working directory | |
| autoRestart | No | Auto-restart job | |
| processCount | No | Number of processes |