list_variables
Retrieve all environment variables configured for a Codemagic application by providing the application ID.
Instructions
List all environment variables 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/variables.py:10-18 (handler)The handler function for the list_variables tool.
@mcp.tool() async def list_variables(app_id: str) -> Any: """List all environment variables for a Codemagic application. Args: app_id: The Codemagic application ID. """ async with CodemagicClient() as client: return await client.list_variables(app_id) - codemagic_mcp/tools/variables.py:9-9 (registration)The registration point where the tool is registered with FastMCP.
def register(mcp: FastMCP) -> None: