|
|
12dc79f236
|
Refactor all MCP tool definitions to use individual parameters
Replace Pydantic model classes with individual function parameters across all 9 tools:
- set_api_key: SetApiKeyRequest -> api_key parameter
- get_property: PropertyByIdRequest -> property_id, force_refresh parameters
- get_value_estimate: ValueEstimateRequest -> address, force_refresh parameters
- get_rent_estimate: RentEstimateRequest -> 6 individual parameters
- search_sale_listings: ListingSearchRequest -> 7 individual parameters
- search_rental_listings: ListingSearchRequest -> 7 individual parameters
- get_market_statistics: MarketStatsRequest -> 4 individual parameters
- expire_cache: ExpireCacheRequest -> 3 individual parameters
- set_api_limits: SetLimitsRequest -> 3 individual parameters
This improves FastMCP protocol compatibility and simplifies parameter handling.
All function logic remains unchanged, with comprehensive docstrings added.
|
2025-11-14 23:10:33 -07:00 |
|