Codemagic

Integrate Codemagic with your AI workspace

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

Explore Triggers and Actions

Add Application from Private Repository

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.

ActionTry it

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.

ActionTry it

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.

ActionTry it

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.

ActionTry it

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.

ActionTry it

Get Authenticated User

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

ActionTry it

Get Meta Information

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.

ActionTry it

Get Shorebird Meta

Tool to retrieve information about Shorebird integration. Use when you need to check supported Flutter versions or the current Shorebird version.

ActionTry it

Get User API Key

Tool to retrieve the API key for the authenticated user from the server. Use when you need to fetch the API key via the Codemagic API.

ActionTry it

Get Variable Group Information

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.

ActionTry it

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.

ActionTry it

List Variable Groups for App

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.

ActionTry it

List Variables for Group

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.

ActionTry it

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.

ActionTry it

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).

ActionTry it

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.

ActionTry it

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.

ActionTry it

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.

ActionTry it

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.

ActionTry it

Stop Preview

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

ActionTry it

Update Variable Group

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.

ActionTry it

Update Variable in Group

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.

ActionTry it