list_pools
Retrieve configured resource pools to manage task concurrency and allocate resources effectively in Apache Airflow workflows.
Instructions
Get resource pools for managing task concurrency and resource allocation.
Use this tool when the user asks about:
"What pools are configured?" or "List all pools"
"Show me the resource pools" or "What pools exist?"
"How many slots does pool X have?" or "What's the pool capacity?"
"Which pools are available?" or "What's the pool configuration?"
Pools are used to limit parallelism for specific sets of tasks. Each pool has a certain number of slots, and tasks assigned to a pool will only run if there are available slots. This is useful for limiting concurrent access to resources like databases or external APIs.
Returns pool information including:
name: Name of the pool
slots: Total number of available slots in the pool
occupied_slots: Number of currently occupied slots
running_slots: Number of slots with running tasks
queued_slots: Number of slots with queued tasks
open_slots: Number of available slots (slots - occupied_slots)
description: Human-readable description of the pool's purpose
Returns: JSON with list of all pools and their current utilization
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||