Skip to main content
Glama

apple_create_version

Create a new App Store version for submission by specifying app ID, version string, platform, and release type.

Instructions

Create a new App Store version for submission

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
appIdYesApp ID
versionStringYesVersion (e.g. 1.0.0)
platformNoIOS
releaseTypeNo
earliestReleaseDateNoISO 8601 date for scheduled release
copyrightNo

Implementation Reference

  • The tool 'apple_create_version' is defined as a 'ToolDef' object in src/apple/tools.ts, including its schema, description, and handler implementation.
    const createVersion: ToolDef = {
      name: 'apple_create_version',
      description: 'Create a new App Store version for submission',
      schema: z.object({
        appId: z.string().describe('App ID'),
        versionString: z.string().describe('Version (e.g. 1.0.0)'),
        platform: z.enum(['IOS', 'MAC_OS', 'TV_OS', 'VISION_OS']).default('IOS'),
        releaseType: z.enum(['MANUAL', 'AFTER_APPROVAL', 'SCHEDULED']).optional(),
        earliestReleaseDate: z.string().optional().describe('ISO 8601 date for scheduled release'),
        copyright: z.string().optional(),
      }),
      handler: async (client, args) => {
        const attributes: any = {
          versionString: args.versionString,
          platform: args.platform,
        };
        if (args.releaseType) attributes.releaseType = args.releaseType;
        if (args.earliestReleaseDate) attributes.earliestReleaseDate = args.earliestReleaseDate;
        if (args.copyright) attributes.copyright = args.copyright;
    
        return client.request('/appStoreVersions', {
          method: 'POST',
          body: {
            data: {
              type: 'appStoreVersions',
              attributes,
              relationships: {
                app: { data: { type: 'apps', id: args.appId } },
              },
            },
          },
        });
      },
    };
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