You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"Compare multiple places side-by-side in one call — searches by query, gets details for each result, and optionally calculates distance from your location. Use when the user asks 'which restaurant should I pick', 'compare these hotels', or needs a decision table. Replaces the manual chain of search-places → place-details → distance-matrix.";
8
+
9
+
constSCHEMA={
10
+
query: z.string().describe("Search query (e.g., 'ramen near Shibuya', 'hotels in Taipei')"),
11
+
userLocation: z
12
+
.object({
13
+
latitude: z.number().describe("Your latitude"),
14
+
longitude: z.number().describe("Your longitude"),
15
+
})
16
+
.optional()
17
+
.describe("Your current location — if provided, adds distance and drive time to each result"),
18
+
limit: z.number().optional().describe("Max places to compare (default: 5)"),
"Explore what's around a location in one call — searches multiple place types, gets details for the top results, and returns a categorized summary. Use when the user asks 'what's around here', 'explore the area near my hotel', or needs a quick overview of a neighborhood. Replaces the manual chain of geocode → search-nearby → place-details.";
8
+
9
+
constSCHEMA={
10
+
location: z.string().describe("Address or landmark to explore around"),
11
+
types: z
12
+
.array(z.string())
13
+
.optional()
14
+
.describe("Place types to search (default: restaurant, cafe, attraction). Examples: hotel, bar, park, museum"),
15
+
radius: z.number().optional().describe("Search radius in meters (default: 1000)"),
16
+
topN: z.number().optional().describe("Number of top results per type to get details for (default: 3)"),
"Plan an optimized multi-stop route in one call — geocodes all stops, finds the most efficient visit order using distance-matrix, and returns step-by-step directions between each stop. Use when the user says 'visit these 5 places efficiently', 'plan a route through A, B, C', or needs a multi-stop itinerary. Replaces the manual chain of geocode → distance-matrix → directions.";
8
+
9
+
constSCHEMA={
10
+
stops: z.array(z.string()).min(2).describe("List of addresses or landmarks to visit (minimum 2)"),
0 commit comments