Codemagic is a CI/CD platform focused on mobile app development.
Toolkit · codemagic
v1
01Add Application from Private Repositorytool
02Add New Applicationtool
03Delete All Application Cachestool
04Delete Specific Cachetool
API Key · verified
22T · 0TR
codemagic
Supported tools and triggers
Each tool is a typed function your agent can call. Each trigger fires an agent run when something changes upstream.
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.
TOOL
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.
TOOL
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.
TOOL
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.
TOOL
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.
TOOL
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.
TOOL
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.
TOOL
Get Shorebird Meta
Tool to retrieve information about Shorebird integration. Use when you need to check supported Flutter versions or the current Shorebird version.
TOOL
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.
TOOL
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.
TOOL
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.
TOOL
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.
TOOL
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.
TOOL
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.
TOOL
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).
TOOL
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.
TOOL
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.
TOOL
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.
TOOL
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.
TOOL
Stop Preview
Tool to stop an app preview. Use when you need to stop a running app preview by its identifier.
TOOL
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.
TOOL
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.