google_list_iap
Retrieve all in-app products for an Android app using its package name to manage digital goods and subscriptions.
Instructions
List all in-app products (managed products) for an app
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| packageName | Yes | Android package name |
Implementation Reference
- src/google/tools.ts:465-467 (handler)The handler function for the google_list_iap tool which calls the client's listInAppProducts method.
handler: async (client, args) => { return client.listInAppProducts(args.packageName); }, - src/google/tools.ts:462-464 (schema)The input schema for the google_list_iap tool requiring a packageName.
schema: z.object({ packageName: z.string().describe('Android package name'), }), - src/google/tools.ts:459-468 (registration)The definition and registration object for the google_list_iap tool.
const listInAppProducts: ToolDef = { name: 'google_list_iap', description: 'List all in-app products (managed products) for an app', schema: z.object({ packageName: z.string().describe('Android package name'), }), handler: async (client, args) => { return client.listInAppProducts(args.packageName); }, };