{
  "id": "tccutil",
  "name": "tccutil",
  "description": "Manages the macOS privacy (TCC) database.",
  "executables": [
    "tccutil"
  ],
  "platforms": [
    "macos"
  ],
  "commands": {
    "format": 1,
    "label": "Reset privacy permissions",
    "description": "Reset the privacy permission of a service, optionally for a single app bundle id.",
    "quality": "ai-draft",
    "base": "fig:tccutil",
    "parser": {
      "end_of_options": "--",
      "interleave": "permute",
      "long_equals": true,
      "short_attached": true,
      "short_bundles": false
    },
    "source": [
      {
        "id": "fig",
        "kind": "completion",
        "url": "https://github.com/withfig/autocomplete/blob/master/src/tccutil.ts",
        "license": "MIT"
      }
    ],
    "field": [
      {
        "id": "action",
        "label": "Action",
        "type": "enum",
        "position": 0,
        "choices": [
          {
            "value": "reset",
            "label": "Reset"
          }
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "service",
        "label": "Service",
        "type": "string",
        "position": 1,
        "suggestions": [
          {
            "value": "AppleEvents",
            "label": "AppleEvents"
          },
          {
            "value": "BluetoothAlways",
            "label": "BluetoothAlways"
          },
          {
            "value": "Calendar",
            "label": "Calendar"
          },
          {
            "value": "Camera",
            "label": "Camera"
          },
          {
            "value": "ContactsFull",
            "label": "ContactsFull"
          },
          {
            "value": "Location",
            "label": "Location"
          },
          {
            "value": "MediaLibrary",
            "label": "MediaLibrary"
          },
          {
            "value": "Microphone",
            "label": "Microphone"
          },
          {
            "value": "Motion",
            "label": "Motion"
          },
          {
            "value": "Photos",
            "label": "Photos"
          }
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "bundle_id",
        "label": "Bundle ID",
        "description": "Limit the reset to this app, e.g. com.apple.Terminal.",
        "type": "string",
        "position": 2,
        "sources": [
          "fig"
        ]
      }
    ],
    "task": [
      {
        "id": "reset",
        "label": "Reset a service",
        "set": {
          "action": [
            "reset"
          ]
        },
        "lock": [
          "action"
        ],
        "fields": [
          "action",
          "service",
          "bundle_id"
        ],
        "required": [
          "action",
          "service"
        ]
      }
    ],
    "group": [
      {
        "id": "basic",
        "label": "Basic",
        "fields": [
          "action",
          "service",
          "bundle_id"
        ]
      }
    ]
  }
}
