service_state
Inspect one instance's systemd services to see if each is enabled, active, or needs a daemon reload; returns JSON without changing state.
Instructions
Enablement / active / reload state of one instance's enabled systemd services. Read-only (systemctl is-enabled / is-active + NeedDaemonReload per unit; never changes state). Returns JSON: {units: [{unit, enabled, active, needs_reload}]}. Powers the service-state detector (enabled-but-inactive, needs-reload, active-but-unnecessary).
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": {
"instance_id": "<instance_id>"
},
"name": "service_state"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| instance_id | Yes | Instance ID or name. '<account>/<name>' picks the server of one provider account; custom servers are 'custom/<name>'. |