Skip to main content
Glama

delete_all_caches

Remove all build caches for a Codemagic application to resolve storage issues and ensure clean builds.

Instructions

Delete all build caches for a Codemagic application.

Args: app_id: The Codemagic application ID.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
app_idYes

Implementation Reference

  • Tool definition/handler for `delete_all_caches` in `tools/caches.py`.
    async def delete_all_caches(app_id: str) -> Any:
        """Delete all build caches for a Codemagic application.
    
        Args:
            app_id: The Codemagic application ID.
        """
        async with CodemagicClient() as client:
            return await client.delete_all_caches(app_id)
  • The API client method `delete_all_caches` that actually performs the HTTP DELETE request.
    async def delete_all_caches(self, app_id: str) -> Any:
        return await self._delete(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