Codemagic for AI agents

Agents read Codemagic at once. Changes and sends are held for a person's approval by default.

About Codemagic

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

What an agent can do in Codemagic

Every Codemagic action is classed by the platform as a read, a change or a send. Reads run at once. Changes and sends are held for a person by default.

Runs at once (reads)

Looks things up in Codemagic without asking first. 11 actions.

  • Get All BuildsTool 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 User API KeyTool 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.
  • Get Authenticated UserTool to retrieve information about the currently authenticated user. Use when you need to get user ID, avatar URL, or check user permissions.
  • Retrieve All ApplicationsTool to retrieve all applications added to Codemagic. Use when you need to list or browse all applications in the Codemagic account.
  • Retrieve an ApplicationTool to retrieve a single application by its unique identifier. Use when you need to get application details including name, branches, and workflow configuration.
  • Get Meta InformationTool 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 InformationTool 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.
  • Get Shorebird MetaTool to retrieve information about Shorebird integration. Use when you need to check supported Flutter versions or the current Shorebird version.
  • List Variable Groups for AppTool 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 GroupTool 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.
  • Retrieve Caches for ApplicationTool 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.

Held for approval by default (changes and sends)

Held for a person's approval by default. The approval is recorded and the action is sent once, never twice, with 10 seconds to undo. 11 actions.

  • Add Application from Private RepositoryTool 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 ApplicationTool 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.
  • Invite Team MemberTool 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
  • Remove Team MemberTool 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 mem
  • Start New BuildTool 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 PreviewTool to stop an app preview. Use when you need to stop a running app preview by its identifier.
  • Update Variable GroupTool 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 CachesTool 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 CacheTool 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.
  • Receive WebhookTool 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.
  • Update Variable in GroupTool 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.

Changes wait in Needs you

Changes and sends in Codemagic are held for a person's approval by default. The approval is recorded, and the action is sent once, never twice, with 10 seconds to undo.

How approvals work

Codemagic questions

Can an agent change data in Codemagic on its own?

Not by default. Changes and sends in Codemagic are held for a person's approval. The approval is recorded, and the action is sent once, never twice, with 10 seconds to undo.

What can an agent read in Codemagic?

This connector lists 11 read actions. Reads run at once, without waiting for approval.

How does Codemagic connect?

It connects with API key. Connectors are built and maintained by third-party developers; availability is confirmed during scoping.

Bring Codemagic to your agents.