Implementation
gradeNot graded
gradeNot graded
get_current_searchAnswer
Return the area and keyword currently displayed on this page's embedded Google Map. Use this to confirm what the user is looking at before suggesting a refinement (e.g. narrowing the area or changing the keyword).
View tool JSON
{
"name": "get_current_search",
"kind": "answer",
"impl": "imperative",
"description": "Return the area and keyword currently displayed on this page's embedded Google Map. Use this to confirm what the user is looking at before suggesting a refinement (e.g. narrowing the area or changing the keyword).",
"inputSchema": {
"type": "object",
"properties": {}
}
}search_mapAction
Search Google Maps for places matching a keyword within a given area. Use this when a user asks something like 'good restaurants in Tokyo', 'cafes near Shibuya', or 'ramen in Kyoto' — split the request into a structured area (where to look) and an optional keyword (what to look for). If the user only names a place with no category, omit the keyword to simply center the map on that area.
View tool JSON
{
"name": "search_map",
"kind": "act",
"impl": "declarative",
"description": "Search Google Maps for places matching a keyword within a given area. Use this when a user asks something like 'good restaurants in Tokyo', 'cafes near Shibuya', or 'ramen in Kyoto' — split the request into a structured area (where to look) and an optional keyword (what to look for). If the user only names a place with no category, omit the keyword to simply center the map on that area.",
"inputSchema": {
"type": "object",
"properties": {
"area": {
"type": "string",
"description": "Area (e.g. Tokyo)"
},
"keyword": {
"type": "string",
"description": "Keyword (optional)"
}
},
"required": [
"area"
]
}
}