service_status
Check the status and recent logs of a systemd service by unit name, with an optional target host.
Instructions
Show the status of one systemd service, including recent log lines.
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": {
"name": "<name>"
},
"name": "service_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | No | target host name from the opsgate config; omit for the default host | |
| name | Yes | systemd unit name, for example nginx or docker.service |