dag_code
Retrieve the source code for a specific Apache Airflow DAG by providing its DAG ID, enabling developers to inspect and manage workflows directly within the MCP-Airflow-API environment.
Instructions
[Tool Role]: Retrieves the source code for a specific DAG.
Args: dag_id: The DAG ID to get source code for
Returns: DAG source code: dag_id, file_token, source_code
Input Schema
Name | Required | Description | Default |
---|---|---|---|
dag_id | Yes |
Input Schema (JSON Schema)
{
"properties": {
"dag_id": {
"title": "Dag Id",
"type": "string"
}
},
"required": [
"dag_id"
],
"type": "object"
}