get_xcom_entry
Retrieve a specific cross-communication (XCom) entry for a task instance in an Apache Airflow DAG by providing the DAG ID, run ID, task ID, and XCom key. Retrieves both the value and metadata.
Instructions
[Tool Role]: Retrieves a specific XCom entry for a task instance.
Args:
dag_id: The DAG ID
dag_run_id: The DAG run ID
task_id: The task ID
xcom_key: The XCom key to retrieve
map_index: Map index for mapped tasks (default: -1 for non-mapped)
Returns: Dictionary containing the specific XCom entry with full value and metadata
Input Schema
Name | Required | Description | Default |
---|---|---|---|
dag_id | Yes | ||
dag_run_id | Yes | ||
map_index | No | ||
task_id | Yes | ||
xcom_key | Yes |