apple_list_profiles
Retrieve and filter Apple provisioning profiles for iOS, macOS, and tvOS app development and distribution.
Instructions
List provisioning profiles
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| profileType | No | Filter by profile type (e.g. IOS_APP_DEVELOPMENT, IOS_APP_STORE, IOS_APP_ADHOC, IOS_APP_INHOUSE, MAC_APP_DEVELOPMENT, MAC_APP_STORE, MAC_APP_DIRECT, TVOS_APP_DEVELOPMENT, TVOS_APP_STORE, TVOS_APP_ADHOC, TVOS_APP_INHOUSE, MAC_CATALYST_APP_DEVELOPMENT, MAC_CATALYST_APP_STORE, MAC_CATALYST_APP_DIRECT) | |
| name | No | Filter by profile name |
Implementation Reference
- src/apple/tools.ts:822-827 (handler)The handler function that executes the request to list provisioning profiles.
handler: async (client, args) => { const params: Record<string, string> = {}; if (args.profileType) params['filter[profileType]'] = args.profileType; if (args.name) params['filter[name]'] = args.name; return client.request('/profiles', { params }); }, - src/apple/tools.ts:818-821 (schema)The Zod schema defining the input parameters for the apple_list_profiles tool.
schema: z.object({ profileType: z.string().optional().describe('Filter by profile type (e.g. IOS_APP_DEVELOPMENT, IOS_APP_STORE, IOS_APP_ADHOC, IOS_APP_INHOUSE, MAC_APP_DEVELOPMENT, MAC_APP_STORE, MAC_APP_DIRECT, TVOS_APP_DEVELOPMENT, TVOS_APP_STORE, TVOS_APP_ADHOC, TVOS_APP_INHOUSE, MAC_CATALYST_APP_DEVELOPMENT, MAC_CATALYST_APP_STORE, MAC_CATALYST_APP_DIRECT)'), name: z.string().optional().describe('Filter by profile name'), }), - src/apple/tools.ts:815-828 (registration)Full definition and registration of the listProfiles tool, named 'apple_list_profiles'.
const listProfiles: ToolDef = { name: 'apple_list_profiles', description: 'List provisioning profiles', schema: z.object({ profileType: z.string().optional().describe('Filter by profile type (e.g. IOS_APP_DEVELOPMENT, IOS_APP_STORE, IOS_APP_ADHOC, IOS_APP_INHOUSE, MAC_APP_DEVELOPMENT, MAC_APP_STORE, MAC_APP_DIRECT, TVOS_APP_DEVELOPMENT, TVOS_APP_STORE, TVOS_APP_ADHOC, TVOS_APP_INHOUSE, MAC_CATALYST_APP_DEVELOPMENT, MAC_CATALYST_APP_STORE, MAC_CATALYST_APP_DIRECT)'), name: z.string().optional().describe('Filter by profile name'), }), handler: async (client, args) => { const params: Record<string, string> = {}; if (args.profileType) params['filter[profileType]'] = args.profileType; if (args.name) params['filter[name]'] = args.name; return client.request('/profiles', { params }); }, };