apple_assign_build
Assign a specific build to an App Store version for release management. This tool links build IDs to App Store versions in App Store Connect.
Instructions
Assign a build to an App Store version
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| versionId | Yes | App Store Version ID | |
| buildId | Yes | Build ID |
Implementation Reference
- src/apple/tools.ts:403-410 (handler)The handler function that executes the 'apple_assign_build' tool by sending a PATCH request to the App Store Connect API.
handler: async (client, args) => { return client.request(`/appStoreVersions/${args.versionId}/relationships/build`, { method: 'PATCH', body: { data: { type: 'builds', id: args.buildId }, }, }); }, - src/apple/tools.ts:399-402 (schema)The Zod schema defining the input arguments for the 'apple_assign_build' tool.
schema: z.object({ versionId: z.string().describe('App Store Version ID'), buildId: z.string().describe('Build ID'), }), - src/apple/tools.ts:396-397 (registration)The registration definition for the 'apple_assign_build' tool, including its name and description.
const assignBuild: ToolDef = { name: 'apple_assign_build',