get_pool
Retrieve comprehensive details about a specific pool, including slots usage and descriptions, to monitor and manage resources in Apache Airflow clusters.
Instructions
[Tool Role]: Get detailed information about a specific pool.
Args: pool_name: The name of the pool to retrieve
Returns: Detailed pool information including slots usage and description
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pool_name | Yes |
Implementation Reference
- The core handler function for the 'get_pool' tool. It makes an authenticated GET request to the Airflow API endpoint /pools/{pool_name} and returns the pool details as a dictionary.async def get_pool(pool_name: str) -> Dict[str, Any]: """[Tool Role]: Gets details for a specific pool.""" resp = await airflow_request("GET", f"/pools/{pool_name}") resp.raise_for_status() return resp.json()