service_status
Check the status of a systemd service on an Ubuntu server. Determine if a service is running, stopped, or failed.
Instructions
Check the status of a systemd service.
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": {
"alias": "<alias>",
"service": "<service>"
},
"name": "service_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| alias | Yes | ||
| service | Yes | Service name, e.g. 'nginx' or 'ssh' |