service_list
List systemd services on a host, optionally filtered by running, failed, or all states. Use it to inspect service status across servers from the safety-gated opsgate MCP server.
Instructions
List systemd services on a host, optionally filtered to running or failed units.
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_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | No | target host name from the opsgate config; omit for the default host | |
| state | No | filter by state: running, failed, or all (default running) |