get_services
Retrieve systemd service status from a Linux host over SSH to check which services are running, failed, or inactive.
Instructions
Legacy compatibility - Get systemd services status from Linux host
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": {
"hostname": "<hostname>"
},
"name": "get_services"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hostname | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |