apple_list_reviews
Retrieve customer reviews for your app to monitor feedback and identify areas for improvement.
Instructions
List customer reviews for an app
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| appId | Yes | App ID | |
| sort | No | ||
| limit | No |
Implementation Reference
- src/apple/tools.ts:634-639 (handler)The handler function for apple_list_reviews that makes a request to the Apple App Store API to fetch customer reviews.
handler: async (client, args) => { const params: Record<string, string> = {}; if (args.sort) params['sort'] = args.sort; if (args.limit) params['limit'] = String(args.limit); return client.request(`/apps/${args.appId}/customerReviews`, { params }); }, - src/apple/tools.ts:629-633 (schema)The input schema validation for apple_list_reviews.
schema: z.object({ appId: z.string().describe('App ID'), sort: z.enum(['createdDate', '-createdDate', 'rating', '-rating']).optional(), limit: z.number().optional(), }), - src/apple/tools.ts:626-640 (registration)The full definition of the apple_list_reviews tool.
const listCustomerReviews: ToolDef = { name: 'apple_list_reviews', description: 'List customer reviews for an app', schema: z.object({ appId: z.string().describe('App ID'), sort: z.enum(['createdDate', '-createdDate', 'rating', '-rating']).optional(), limit: z.number().optional(), }), handler: async (client, args) => { const params: Record<string, string> = {}; if (args.sort) params['sort'] = args.sort; if (args.limit) params['limit'] = String(args.limit); return client.request(`/apps/${args.appId}/customerReviews`, { params }); }, };