service_status
Check the status of a systemd unit or list failed units and running services. Enables safe, read-only service health inspection on a Linux host.
Instructions
Status of one systemd unit (e.g. 'ssh', 'docker'), or with no unit, list failed units plus running services. Set user=True for the user's own systemd instance.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "service_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| unit | No | ||
| user | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |