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
| Name | Required | Description | Default |
|---|---|---|---|
| app_id | Yes |
Implementation Reference
- codemagic_mcp/tools/caches.py:21-28 (handler)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) - codemagic_mcp/client.py:337-338 (handler)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")