apple_list_certificates
List Apple Developer certificates to manage iOS and macOS app signing. Filter by certificate type for development or distribution purposes.
Instructions
List certificates
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| certificateType | No | Filter by certificate type (e.g. IOS_DEVELOPMENT, IOS_DISTRIBUTION, MAC_APP_DISTRIBUTION, MAC_INSTALLER_DISTRIBUTION, MAC_APP_DEVELOPMENT, DEVELOPER_ID_KEXT, DEVELOPER_ID_APPLICATION, DEVELOPER_ID_INSTALLER) |
Implementation Reference
- src/apple/tools.ts:763-774 (handler)The handler function for 'apple_list_certificates' which fetches certificates from the API.
const listCertificates: ToolDef = { name: 'apple_list_certificates', description: 'List certificates', schema: z.object({ certificateType: z.string().optional().describe('Filter by certificate type (e.g. IOS_DEVELOPMENT, IOS_DISTRIBUTION, MAC_APP_DISTRIBUTION, MAC_INSTALLER_DISTRIBUTION, MAC_APP_DEVELOPMENT, DEVELOPER_ID_KEXT, DEVELOPER_ID_APPLICATION, DEVELOPER_ID_INSTALLER)'), }), handler: async (client, args) => { const params: Record<string, string> = {}; if (args.certificateType) params['filter[certificateType]'] = args.certificateType; return client.request('/certificates', { params }); }, };