Skip to main content
Glama

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
NameRequiredDescriptionDefault
packageNameYesAndroid package name
editIdYesEdit ID
languageYesLanguage code
imageTypeYesImage type
imagePathYesLocal path to the image file

Implementation Reference

  • 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,
      );
    },
  • 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'),
    }),
  • 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,
        );
      },
    };
Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/mikusnuz/app-publish-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server