apple_register_device
Register a new iOS or macOS device in App Store Connect by providing its name, platform, and UDID for app development and testing purposes.
Instructions
Register a new device
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Device name | |
| platform | Yes | Platform | |
| udid | Yes | Device UDID |
Implementation Reference
- src/apple/tools.ts:903-917 (handler)Handler function for apple_register_device, which executes the POST request to /devices.
handler: async (client, args) => { return client.request('/devices', { method: 'POST', body: { data: { type: 'devices', attributes: { name: args.name, platform: args.platform, udid: args.udid, }, }, }, }); }, - src/apple/tools.ts:898-902 (schema)Schema definition (Zod object) for the input parameters of apple_register_device.
schema: z.object({ name: z.string().describe('Device name'), platform: z.enum(['IOS', 'MAC_OS']).describe('Platform'), udid: z.string().describe('Device UDID'), }), - src/apple/tools.ts:1213-1252 (registration)The apple_register_device tool is included in the appleTools array, which is used to register all apple-related tools.
export const appleTools: ToolDef[] = [ // App Management listApps, getApp, getAppInfo, updateAppInfoCategory, // Bundle IDs listBundleIds, createBundleId, // Versions & Localizations listVersions, createVersion, listVersionLocalizations, createVersionLocalization, updateVersionLocalization, // App Info Localizations (name, subtitle) listAppInfoLocalizations, updateAppInfoLocalization, // Screenshots listScreenshotSets, createScreenshotSet, uploadScreenshot, deleteScreenshot, // Builds listBuilds, assignBuild, // Age Rating & Review Info getAgeRating, updateAgeRating, updateReviewDetail, // Submission submitForReview, cancelSubmission, // Pricing & Availability getAppPricing, setAppPrice, listTerritoryAvailability, // Customer Reviews listCustomerReviews, respondToReview, // Bundle ID Capabilities listBundleIdCapabilities, enableCapability, disableCapability, // Certificates listCertificates, createCertificate, revokeCertificate, // Provisioning Profiles listProfiles, createProfile, deleteProfile, // Devices listDevices, registerDevice, updateDevice, // TestFlight - Beta Groups listBetaGroups, createBetaGroup, deleteBetaGroup, addBetaTestersToGroup, removeBetaTestersFromGroup, // TestFlight - Beta Testers listBetaTesters, inviteBetaTester, deleteBetaTester, // In-App Purchases listIAP, createIAP, getIAP, deleteIAP, // Subscription Groups listSubscriptionGroups, createSubscriptionGroup, deleteSubscriptionGroup, ];