# Codemagic

Codemagic is a CI/CD platform focused on mobile app development.

- **Category:** developer tools
- **Auth:** API_KEY
- **Tools:** 23
- **Triggers:** 0
- **Slug:** `CODEMAGIC`
- **Version:** 20260203_00

## Tools

### Add Application from Private Repository

**Slug:** `CODEMAGIC_ADD_APPLICATION_FROM_PRIVATE_REPO`

Tool to create an application from a private repository using SSH key authentication. Use when you need to add a new private repository to Codemagic with SSH credentials.

### Add New Application

**Slug:** `CODEMAGIC_ADD_NEW_APPLICATION`

Tool to add a Git repository to the applications list in Codemagic. Use when you need to add a new application to Codemagic from a repository URL.

### Get Meta Information

**Slug:** `CODEMAGIC_API_V3_META_GET_META`

Tool to get metadata about Codemagic including public IP addresses in use (in CIDR notation). Use when you need to retrieve IP blocks for whitelisting build machines or simulator network requests.

### Get Variable Group Information

**Slug:** `CODEMAGIC_API_V3_VARIABLE_GROUPS_VARIABLE_GROUP_ID_GET_GROUP`

Tool to retrieve information about a specific variable group including its name and configuration settings. Use when you need to get details for a variable group by its ID.

### Update Variable Group

**Slug:** `CODEMAGIC_API_V3_VARIABLE_GROUPS_VARIABLE_GROUP_ID_UPDATE`

Tool to change a variable group's name and security settings. Use when you need to update an existing variable group by its ID. Returns success confirmation on 204 No Content response.

### Delete All Application Caches

**Slug:** `CODEMAGIC_DELETE_ALL_APPLICATION_CACHES`

Tool to delete all caches for a specific application. Use when clearing all cached data for an app. The deletion process is asynchronous and will complete after the API response is returned.

### Delete Specific Cache

**Slug:** `CODEMAGIC_DELETE_SPECIFIC_CACHE`

Tool to delete a specific cache from an application. Use when a cached build artifact needs to be removed. The deletion is performed asynchronously and returns immediately with a 202 Accepted status.

### Get Account Info for Over-the-Air Updates

**Slug:** `CODEMAGIC_GET_ACCOUNT_INFO`

Tool to retrieve account information for over-the-air updates. Use when you need to check the account status (enabled/disabled/pending) and associated team identifier.

### Get All Builds

**Slug:** `CODEMAGIC_GET_ALL_BUILDS`

Tool to list all builds with optional filters for appId, workflowId, and branch. Use when you need to retrieve build history or search for specific builds. Supports pagination via the skip parameter.

### Get API Key

**Slug:** `CODEMAGIC_GET_API_KEY`

Tool to retrieve the API key for the authenticated user. Use when you need to fetch the API key associated with the current authentication token.

### Get Authenticated User

**Slug:** `CODEMAGIC_GET_USER`

Tool to retrieve information about the currently authenticated user. Use when you need to get user ID, avatar URL, or check user permissions.

### List Variable Groups for App

**Slug:** `CODEMAGIC_GET_VARIABLE_GROUPS`

Tool to retrieve paginated list of variable groups for an application. Use when you need to list or browse variable groups associated with a specific app.

### List Variables for Group

**Slug:** `CODEMAGIC_GET_VARIABLES`

Tool to retrieve paginated list of variables for a specific variable group. Use when you need to list or browse environment variables within a variable group.

### Invite Team Member

**Slug:** `CODEMAGIC_INVITE_TEAM_MEMBER`

Tool to invite a new team member to a Codemagic team. Use when you need to grant team access to a user. Requires team admin privileges. The 'developer' role corresponds to Member role and 'owner' role corresponds to Admin role in Codemagic UI.

### List Team Apps

**Slug:** `CODEMAGIC_LIST_TEAM_APPS`

Tool to list all apps for a specific team in Codemagic. Use when you need to browse or retrieve team application information. Supports pagination via page and page_size parameters.

### Receive Webhook

**Slug:** `CODEMAGIC_RECEIVE_WEBHOOK`

Tool to receive webhook payloads from Git providers to trigger builds automatically. Use when repository events (commits, pull requests, tags) need to trigger Codemagic builds programmatically.

### Remove Team Member

**Slug:** `CODEMAGIC_REMOVE_TEAM_MEMBER`

Tool to remove a collaborator or revoke a pending invitation from a Codemagic team. Use when you need to revoke team access for a specific user or cancel a pending invitation. Supports both active members (MongoDB-style IDs) and pending invitations (UUID-style invitation codes).

### Retrieve All Applications

**Slug:** `CODEMAGIC_RETRIEVE_ALL_APPLICATIONS`

Tool to retrieve all applications added to Codemagic. Use when you need to list or browse all applications in the Codemagic account.

### Retrieve an Application

**Slug:** `CODEMAGIC_RETRIEVE_AN_APPLICATION`

Tool to retrieve a single application by its unique identifier. Use when you need to get application details including name, branches, and workflow configuration.

### Retrieve Caches for Application

**Slug:** `CODEMAGIC_RETRIEVE_CACHES_FOR_APPLICATION`

Tool to retrieve a list of caches for a specific application. Use when you need to view cached data, check cache sizes, or manage application storage.

### Start New Build

**Slug:** `CODEMAGIC_START_NEW_BUILD`

Tool to start a new build for an application with specified workflow and branch or tag. Use when you need to trigger a build programmatically. Either branch or tag parameter must be provided.

### Stop Preview

**Slug:** `CODEMAGIC_STOP_PREVIEW`

Tool to stop an app preview. Use when you need to stop a running app preview by its identifier.

### Update Variable in Group

**Slug:** `CODEMAGIC_UPDATE_VARIABLE`

Tool to update an existing variable within a specified variable group in Codemagic. Use when you need to modify a variable's name, value, or secure status.
