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
Input Schema
TableJSON 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" }; }
- src/index.ts:620-633 (schema)The input schema definition for the disable_bundle_capability tool, specifying that capabilityId is a required string.{ name: "disable_bundle_capability", description: "Disable a capability for a bundle ID", inputSchema: { type: "object", properties: { capabilityId: { type: "string", description: "The ID of the capability to disable" } }, required: ["capabilityId"] } },
- src/index.ts:1376-1377 (registration)The tool registration in the MCP server request handler switch statement, which routes calls to disable_bundle_capability to the bundleHandlers.disableBundleCapability method.case "disable_bundle_capability": return { toolResult: await this.bundleHandlers.disableBundleCapability(args as any) };