get_service_states
Check the active status, configuration, and state of Windows and Linux system services locally or on remote hosts.
Instructions
Fetch the active status, configuration, and state of system services. Supports Windows and Linux services.
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": {
"services": "<services>"
},
"name": "get_service_states"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| services | Yes | List of service names to query (e.g., ["nginx", "ssh", "postgresql"]) | |
| targetHost | No | Optional remote target host (e.g., user@hostname) |