get_config
Retrieve Apache Airflow configuration settings to monitor and manage cluster parameters without API complexity.
Instructions
[Tool Role]: Retrieves Airflow configuration.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- The handler function for the 'get_config' tool. Makes a GET request to Airflow's /config endpoint and returns the configuration as JSON.@mcp.tool() async def get_config() -> Dict[str, Any]: """[Tool Role]: Retrieves Airflow configuration.""" resp = await airflow_request("GET", "/config") resp.raise_for_status() return resp.json()
- src/mcp_airflow_api/tools/v1_tools.py:23-23 (registration)Registration call for v1 tools that includes the get_config tool via common_tools.register_common_tools(mcp)common_tools.register_common_tools(mcp)
- src/mcp_airflow_api/tools/v2_tools.py:24-24 (registration)Registration call for v2 tools that includes the get_config tool via common_tools.register_common_tools(mcp)common_tools.register_common_tools(mcp)