Parcourir la source

Fix get_transit_preview_by_id: remove event_types param to match core tool

Lukas Goldschmidt il y a 1 mois
Parent
commit
0ed2a9c6f3
1 fichiers modifiés avec 0 ajouts et 3 suppressions
  1. 0 3
      src/astro_mcp/tools.py

+ 0 - 3
src/astro_mcp/tools.py

@@ -1025,7 +1025,6 @@ async def get_transit_preview_by_id(
     end_date: str,
     transit_latitude: float | None = None,
     transit_longitude: float | None = None,
-    event_types: list[str] | None = None,
     orb_limits: dict[str, float] | None = None,
 ) -> dict[str, Any]:
     """Preview transit events for a person from the database.
@@ -1036,7 +1035,6 @@ async def get_transit_preview_by_id(
         end_date: ISO date string for the end of the range.
         transit_latitude: Current location latitude. Defaults to birth latitude.
         transit_longitude: Current location longitude. Defaults to birth longitude.
-        event_types: Optional filter for event types.
         orb_limits: Optional orb configuration.
 
     Returns:
@@ -1051,6 +1049,5 @@ async def get_transit_preview_by_id(
         end_date=end_date,
         transit_latitude=transit_latitude if transit_latitude is not None else birth["latitude"],
         transit_longitude=transit_longitude if transit_longitude is not None else birth["longitude"],
-        event_types=event_types,
         orb_limits=orb_limits,
     )