google_upload_image
Upload images like screenshots, icons, and feature graphics to Google Play Console for app listings and store pages.
Instructions
Upload an image (screenshot, icon, feature graphic, etc)
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| packageName | Yes | Android package name | |
| editId | Yes | Edit ID | |
| language | Yes | Language code | |
| imageType | Yes | Image type | |
| imagePath | Yes | Local path to the image file |
Implementation Reference
- src/google/tools.ts:238-242 (handler)The handler function for the google_upload_image tool, which calls client.uploadImage with the provided arguments.
handler: async (client, args) => { return client.uploadImage( args.packageName, args.editId, args.language, args.imageType, args.imagePath, ); }, - src/google/tools.ts:228-237 (schema)The input schema definition for the google_upload_image tool.
schema: z.object({ packageName: z.string().describe('Android package name'), editId: z.string().describe('Edit ID'), language: z.string().describe('Language code'), imageType: z.enum([ 'featureGraphic', 'icon', 'phoneScreenshots', 'sevenInchScreenshots', 'tenInchScreenshots', 'tvBanner', 'tvScreenshots', 'wearScreenshots', ]).describe('Image type'), imagePath: z.string().describe('Local path to the image file'), }), - src/google/tools.ts:225-243 (registration)The tool registration definition for google_upload_image.
const uploadImage: ToolDef = { name: 'google_upload_image', description: 'Upload an image (screenshot, icon, feature graphic, etc)', schema: z.object({ packageName: z.string().describe('Android package name'), editId: z.string().describe('Edit ID'), language: z.string().describe('Language code'), imageType: z.enum([ 'featureGraphic', 'icon', 'phoneScreenshots', 'sevenInchScreenshots', 'tenInchScreenshots', 'tvBanner', 'tvScreenshots', 'wearScreenshots', ]).describe('Image type'), imagePath: z.string().describe('Local path to the image file'), }), handler: async (client, args) => { return client.uploadImage( args.packageName, args.editId, args.language, args.imageType, args.imagePath, ); }, };