add_process
Creates a new Supervisord process configuration with command, working directory, and restart policy, then reloads configuration to register it.
Instructions
Add a new process to Supervisord (requires config reload)
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": {
"name": "<name>",
"command": "<command>"
},
"name": "add_process"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Process name | |
| command | Yes | Command to run | |
| numprocs | No | Number of processes | |
| autostart | No | Start automatically on boot | |
| directory | No | Working directory | |
| autorestart | No | Restart policy (true, false, unexpected) | unexpected |