kickstart_service
Start or restart a launchd service by specifying its target, optionally killing any running instance first.
Instructions
Start or restart a service via launchctl kickstart.
Args:
target: A launchd target, e.g. "gui/501/com.example.app".
kill_existing: If true, pass -k to kill any running instance first.
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": {
"target": "<target>"
},
"name": "kickstart_service"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | Yes | ||
| kill_existing | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |