# Codemagic AI integration on Definable

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

## What this connects

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

Vendor: https://codemagic.io/start/

## Tools available

**22** tools available. First 12:

- `CODEMAGIC_ADD_APPLICATION_FROM_PRIVATE_REPO` — 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.
- `CODEMAGIC_ADD_NEW_APPLICATION` — 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.
- `CODEMAGIC_API_V3_META_GET_META` — 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.
- `CODEMAGIC_API_V3_VARIABLE_GROUPS_VARIABLE_GROUP_ID_GET_GROUP` — 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.
- `CODEMAGIC_API_V3_VARIABLE_GROUPS_VARIABLE_GROUP_ID_UPDATE` — 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.
- `CODEMAGIC_DELETE_ALL_APPLICATION_CACHES` — 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.
- `CODEMAGIC_DELETE_SPECIFIC_CACHE` — 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.
- `CODEMAGIC_GET_ALL_BUILDS` — 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.
- `CODEMAGIC_GET_API_KEY` — 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.
- `CODEMAGIC_GET_SHOREBIRD_META` — Get Shorebird Meta — Tool to retrieve information about Shorebird integration. Use when you need to check supported Flutter versions or the current Shorebird version.
- `CODEMAGIC_GET_USER` — 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.
- `CODEMAGIC_GET_VARIABLE_GROUPS` — 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.

## Auth

Auth schemes: `API_KEY`.

## How agents use Codemagic

Inside a Definable workflow, Codemagic is one of the tools the **Distributor specialist** can call. Example coordination patterns:

- **Researcher → Codemagic** — the Researcher (GPT-5.5) pulls context from Codemagic (records, threads, documents), synthesises findings, and briefs the rest of the team.
- **Writer → Distributor → Codemagic** — the Writer (Claude Opus 4.7) drafts copy in brand voice, the Verifier passes it, then the Distributor writes the result into Codemagic (create record, post message, draft email).
- **Designer / Engineer → Distributor → Codemagic** — the Designer ships an asset or the Engineer ships a code change, the Distributor delivers it via Codemagic (attach file, open PR comment, post status).

The Verifier checks every Codemagic call. On rate limit, schema drift, or auth refresh it self-heals and retries — the workflow completes without manual intervention.

## Categories

- developer tools — https://definable.ai/apps/category/developer-tools/

## Related

- HTML page: https://definable.ai/apps/codemagic/
- Same category (developer tools): https://definable.ai/apps/category/developer-tools/
- All integrations: https://definable.ai/apps/
- Workflow (multi-agent loop): https://definable.ai/workflow/
- Apps llms.txt index: https://definable.ai/llms-apps.txt
