apple_delete_screenshot
Remove screenshots from App Store Connect listings to manage app presentation and update visual content.
Instructions
Delete a screenshot
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| screenshotId | Yes | Screenshot ID |
Implementation Reference
- src/apple/tools.ts:367-370 (handler)The handler function that performs the DELETE request to remove the screenshot from App Store Connect.
handler: async (client, args) => { await client.request(`/appScreenshots/${args.screenshotId}`, { method: 'DELETE' }); return { success: true }; }, - src/apple/tools.ts:364-366 (schema)Input schema validation for the apple_delete_screenshot tool, requiring a screenshotId.
schema: z.object({ screenshotId: z.string().describe('Screenshot ID'), }), - src/apple/tools.ts:361-371 (registration)The full tool definition for apple_delete_screenshot, including its name, description, schema, and handler.
const deleteScreenshot: ToolDef = { name: 'apple_delete_screenshot', description: 'Delete a screenshot', schema: z.object({ screenshotId: z.string().describe('Screenshot ID'), }), handler: async (client, args) => { await client.request(`/appScreenshots/${args.screenshotId}`, { method: 'DELETE' }); return { success: true }; }, };