Delete service
spm_delete_servicePermanently stop a managed service and delete its definition, saved configuration, and companion units such as schedules and health checks. Confirm the exact name and scope first; this action cannot be undone.
Instructions
Stop a managed service and permanently remove its definition, saved configuration and companion units such as schedules and health checks. This cannot be undone; the service must be created again with spm_create_service. Confirm the exact name and scope with the user first, and prefer spm_stop_service or spm_disable_service when the user may need it again. 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_delete_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. |