apple_respond_to_review
Reply to App Store customer reviews by providing a review ID and response text to address feedback directly.
Instructions
Respond to a customer review
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reviewId | Yes | Customer Review ID | |
| responseBody | Yes | Response text |
Implementation Reference
- src/apple/tools.ts:649-664 (handler)The handler function for apple_respond_to_review that sends a POST request to create a customer review response.
handler: async (client, args) => { return client.request('/customerReviewResponses', { method: 'POST', body: { data: { type: 'customerReviewResponses', attributes: { responseBody: args.responseBody }, relationships: { review: { data: { type: 'customerReviews', id: args.reviewId }, }, }, }, }, }); }, - src/apple/tools.ts:645-648 (schema)Zod schema defining the input arguments for the tool.
schema: z.object({ reviewId: z.string().describe('Customer Review ID'), responseBody: z.string().describe('Response text'), }), - src/apple/tools.ts:642-644 (registration)Tool definition including name and description.
const respondToReview: ToolDef = { name: 'apple_respond_to_review', description: 'Respond to a customer review',