get_version
Retrieve Apache Airflow version details to verify system compatibility and monitor deployment status.
Instructions
Get version information
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/airflow/monitoring.py:28-33 (handler)The async handler function for the get_version tool that calls monitoring_api.get_version() and returns the response as TextContent.async def get_version() -> List[Union[types.TextContent, types.ImageContent, types.EmbeddedResource]]: """ Get version information about Airflow. """ response = monitoring_api.get_version() return [types.TextContent(type="text", text=str(response.to_dict()))]
- src/airflow/monitoring.py:11-16 (registration)Registration of the get_version tool within the get_all_functions() that lists available MCP tools.def get_all_functions() -> list[tuple[Callable, str, str, bool]]: """Return list of (function, name, description, is_read_only) tuples for registration.""" return [ (get_health, "get_health", "Get instance status", True), (get_version, "get_version", "Get version information", True), ]