get_scraper_status
Check the health status and configuration of the flight data scraper to verify system functionality and supported capabilities.
Instructions
Check scraper health and configuration.
Returns: Dictionary with scraper status information including: - status: Current status ("healthy") - version: Scraper version - capabilities: Supported features
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- mcp_server.py:61-83 (handler)The get_scraper_status tool handler: a function decorated with @mcp.tool() that returns a static dictionary with scraper status, version, and capabilities. This serves as both the implementation and registration for the MCP tool.@mcp.tool() def get_scraper_status() -> dict: """Check scraper health and configuration. Returns: Dictionary with scraper status information including: - status: Current status ("healthy") - version: Scraper version - capabilities: Supported features """ return { "status": "healthy", "version": "1.0.0", "capabilities": { "one_way_search": True, "round_trip_search": True, "cabin_classes": [ "economy", "premium_economy", "business", "first" ], "max_results": 50, "headless_mode": True } }