service_status
Check the current status of a systemd unit on a remote server to verify if it is active, failed, or stopped, enabling quick service health assessment.
Instructions
Show the status of a systemd unit.
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": {
"host": "<host>",
"unit": "<unit>"
},
"name": "service_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes | Configured host name | |
| unit | Yes | systemd unit name, e.g. nginx |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |