enable_service
Enable a macOS launchd service by providing its target (e.g., system/com.example.daemon) to activate it with launchctl.
Instructions
Enable a service via launchctl enable.
Args: service_target: Service target like "system/com.example.daemon" or "gui/501/com.example.agent".
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": {
"service_target": "<service_target>"
},
"name": "enable_service"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| service_target | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |