Show service
spm_show_serviceInspect one managed service's status, configuration, health, schedule, and file paths before changing or deleting it, or to learn how it was started.
Instructions
Show one managed service in detail as key-value text: status, enabled, PID, memory, restarts, uptime, last result and exit status, schedule, health, its saved configuration (command, working directory, restart policy and other options), and the paths of its unit and config files. Use it before changing or deleting a service, or to find out how a service was started; use spm_list_services to compare many services and spm_get_logs to see why one failed. Fails if the name is not managed by spm in that scope. Acts on the current user's services unless system is true; machine-wide services need root on Linux and macOS or an Administrator shell on Windows, so only use system when the user asks for it.
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": {
"name": "<name>"
},
"name": "spm_show_service"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Managed service name. | |
| system | No | Manage machine-wide services instead of the current user's. Requires root or Administrator; leave false unless the user asks for system scope. |