get_pool
Retrieve detailed information about a specific task execution pool in Apache Airflow to monitor resource allocation and optimize workflow management.
Instructions
[Tool Role]: Gets details for a specific pool.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pool_name | Yes |
Implementation Reference
- The main handler function for the 'get_pool' tool. It makes a GET request to the Airflow API endpoint `/pools/{pool_name}` to retrieve details for the specified pool. The @mcp.tool() decorator also serves as the registration point for this tool.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()