control_service
Start, stop, restart, or reload a service on a RunCloud server by specifying the server ID, service name, and action.
Instructions
Control a service (start, stop, restart, 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": {
"serverId": "<serverId>",
"serviceName": "<serviceName>",
"action": "<action>"
},
"name": "control_service"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | Action (start, stop, restart, reload) | |
| serverId | Yes | The ID of the server | |
| serviceName | Yes | Service name |