List Services
service_listList all systemd services and view their current status on a remote server through an active SSH session.
Instructions
Lists all systemd services and their current state
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": {
"sessionId": "<sessionId>"
},
"name": "service_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sessionId | Yes | SSH session ID |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | ||
| stderr | Yes | ||
| stdout | Yes | ||
| durationMs | Yes | ||
| safetyWarning | No |