google_archive_subscription
Archive Google Play subscriptions to remove them from the store while preserving access for current subscribers.
Instructions
Archive a subscription (remove from Google Play but retain for existing subscribers)
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| packageName | Yes | Android package name | |
| productId | Yes | Subscription product ID to archive |
Implementation Reference
- src/google/tools.ts:596-598 (handler)The handler function for the google_archive_subscription tool, which calls the client's archiveSubscription method.
handler: async (client, args) => { return client.archiveSubscription(args.packageName, args.productId); }, - src/google/tools.ts:592-595 (schema)The input schema validation for the google_archive_subscription tool.
schema: z.object({ packageName: z.string().describe('Android package name'), productId: z.string().describe('Subscription product ID to archive'), }), - src/google/tools.ts:589-599 (registration)The tool definition registration for google_archive_subscription.
const archiveSubscription: ToolDef = { name: 'google_archive_subscription', description: 'Archive a subscription (remove from Google Play but retain for existing subscribers)', schema: z.object({ packageName: z.string().describe('Android package name'), productId: z.string().describe('Subscription product ID to archive'), }), handler: async (client, args) => { return client.archiveSubscription(args.packageName, args.productId); }, };