Skip to main content
Glama

list_caches

Retrieve all build caches for a Codemagic application to manage storage and optimize CI/CD workflows.

Instructions

List all build caches for a Codemagic application.

Args: app_id: The Codemagic application ID.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
app_idYes

Implementation Reference

  • The MCP tool handler for list_caches, which delegates to the CodemagicClient.
    @mcp.tool()
    async def list_caches(app_id: str) -> Any:
        """List all build caches for a Codemagic application.
    
        Args:
            app_id: The Codemagic application ID.
        """
        async with CodemagicClient() as client:
            return await client.list_caches(app_id)
  • The actual API implementation of list_caches within the CodemagicClient.
    async def list_caches(self, app_id: str) -> Any:
        return await self._get(f"/apps/{app_id}/caches")

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/AgiMaulana/CodemagicMcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server