get_service_status
Check the status of systemd services on local or remote Linux systems to monitor and troubleshoot service health.
Instructions
Get detailed status of a specific systemd service.
Args:
service_name: Name of the service
host: Remote host to connect to via SSH (optional, executes locally if not provided)
username: SSH username for remote host (required if host is provided)
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": {
"service_name": "<service_name>"
},
"name": "get_service_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| service_name | Yes | ||
| host | No | ||
| username | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |