print_service
Inspect detailed launchd target state for system or user services to diagnose configuration and runtime issues.
Instructions
Print detailed state for a launchd target via launchctl print.
Args: target: A launchd target, e.g. "system/com.apple.cfprefsd.xpc.daemon" or "gui/501/com.example.app".
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": "print_service"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |