disable_bundle_capability
Remove a capability from a bundle ID in App Store Connect to manage app features and permissions.
Instructions
Disable a capability for a bundle ID
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": {
"capabilityId": "<capabilityId>"
},
"name": "disable_bundle_capability"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| capabilityId | Yes | The ID of the capability to disable |
Implementation Reference
- src/handlers/bundles.ts:123-136 (handler)The handler function that executes the disable_bundle_capability tool. It validates the capabilityId argument and calls the AppStoreConnectClient to DELETE /bundleIdCapabilities/{capabilityId}, then returns a success message.
async disableBundleCapability(args: { capabilityId: string; }): Promise<{ success: boolean; message: string }> { const { capabilityId } = args; validateRequired(args, ['capabilityId']); await this.client.delete(`/bundleIdCapabilities/${capabilityId}`); return { success: true, message: "Capability disabled successfully" }; }