How to fetch
- If HasData tools are connected, call the full results tool whose name contains
google_serp_serpand does not containlight. Pass the query inq, plusgl,hl, andlocationwhen the user names them. - Read
eventsResultsin that response. List title, date, and venue from those entries. - When the user wants one event, immediately call the tool whose name contains
google_serp_eventswith thepageTokenfrom that entry. The token expires in a few minutes. The events tool does not take a city name.
If eventsResults is missing, say Google returned no events for that query. Do not invent an event.
If no HasData tool is connected, ask the user to press Connect. Do not install software and do not ask for an API key.