google_get_subscription
Retrieve subscription details from Google Play Console for Android apps to manage in-app purchases and verify product configurations.
Instructions
Get details of a specific subscription
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| packageName | Yes | Android package name | |
| productId | Yes | Subscription product ID |
Implementation Reference
- src/google/tools.ts:584-586 (handler)The handler implementation for the 'google_get_subscription' tool, which calls the client's getSubscription method.
handler: async (client, args) => { return client.getSubscription(args.packageName, args.productId); }, - src/google/tools.ts:580-583 (schema)Input schema for the 'google_get_subscription' tool requiring packageName and productId.
schema: z.object({ packageName: z.string().describe('Android package name'), productId: z.string().describe('Subscription product ID'), }),