update_app_store_qr
Modify App Store QR code URLs for iOS, Android, or fallback destinations. Update labels and merge changes with existing data without regenerating the QR image.
Instructions
Update the app store URLs of an App Store QR code. Partial updates merge with existing data.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| short_id | Yes | The short ID of the App Store QR code to update. | |
| ios_url | No | Apple App Store URL. | |
| android_url | No | Google Play Store URL. | |
| fallback_url | No | Fallback URL. | |
| label | No | Update the label. |
Implementation Reference
- packages/mcp/src/tools.ts:651-656 (handler)Handler for updating app store QR codes.
handler: async (input: Record<string, unknown>) => { const { short_id, label, ...appStoreFields } = input; const body: Record<string, unknown> = { app_store_data: appStoreFields }; if (label !== undefined) body.label = label; return apiRequest(`/api/qr/${short_id}`, { method: "PATCH", body }); }, - packages/mcp/src/tools.ts:644-650 (schema)Input schema definition for update_app_store_qr.
inputSchema: z.object({ short_id: z.string().describe("The short ID of the App Store QR code to update."), ios_url: z.string().optional().describe("Apple App Store URL."), android_url: z.string().optional().describe("Google Play Store URL."), fallback_url: z.string().optional().describe("Fallback URL."), label: z.string().optional().describe("Update the label."), }), - packages/mcp/src/tools.ts:641-657 (registration)Tool definition and registration for update_app_store_qr.
update_app_store_qr: { description: "Update the app store URLs of an App Store QR code. Partial updates merge with existing data.", inputSchema: z.object({ short_id: z.string().describe("The short ID of the App Store QR code to update."), ios_url: z.string().optional().describe("Apple App Store URL."), android_url: z.string().optional().describe("Google Play Store URL."), fallback_url: z.string().optional().describe("Fallback URL."), label: z.string().optional().describe("Update the label."), }), handler: async (input: Record<string, unknown>) => { const { short_id, label, ...appStoreFields } = input; const body: Record<string, unknown> = { app_store_data: appStoreFields }; if (label !== undefined) body.label = label; return apiRequest(`/api/qr/${short_id}`, { method: "PATCH", body }); }, },