List Services
list_servicesQueries systemd service units with load, active, and sub states, optionally filtering by state or name glob and querying the user manager.
Instructions
List systemd service units with load/active/sub state.
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": "list_services"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user | No | query user manager instead of system | |
| limit | No | ||
| state | No | filter e.g. 'running', 'failed', 'active', 'exited' | |
| pattern | No | unit name glob like 'nginx*' |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |