create_bundle_id
Register a new bundle ID for iOS, macOS, or universal app development by specifying identifier, name, and platform to prepare your app for distribution.
Instructions
Register a new bundle ID for app development
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| identifier | Yes | The bundle ID string (e.g., 'com.example.app') | |
| name | Yes | A name for the bundle ID | |
| platform | Yes | The platform for this bundle ID | |
| seedId | No | Your team's seed ID (optional) |
Implementation Reference
- src/handlers/bundles.ts:16-39 (handler)The main handler function that executes the create_bundle_id tool logic by validating inputs, constructing the API request body, and calling the AppStoreConnectClient to POST /bundleIds.
async createBundleId(args: { identifier: string; name: string; platform: BundlePlatform; seedId?: string; }): Promise<BundleIdResponse> { const { identifier, name, platform, seedId } = args; validateRequired(args, ['identifier', 'name', 'platform']); const requestBody: CreateBundleIdRequest = { data: { type: "bundleIds", attributes: { identifier, name, platform, seedId } } }; return this.client.post<BundleIdResponse>('/bundleIds', requestBody); } - src/types/bundles.ts:14-24 (schema)TypeScript interface defining the CreateBundleIdRequest structure used in the handler for input validation and API request body.
export interface CreateBundleIdRequest { data: { type: "bundleIds"; attributes: { identifier: string; name: string; platform: BundlePlatform; seedId?: string; }; }; }