Skip to content
Wysp Docs

search_map

Search the map for places, addresses, businesses, etc.

{
"query": "coffee shop on the way" // The target to search the map for
}
{
"kind": "SUCCESS", // SUCCESS | FAILURE | BAD_REQUEST | INTERNAL_SERVER_ERROR | REFUSAL
"nature": "OPAQUE", // OPAQUE | USER_VERBATIM | JSON
"language": "en-US", // BCP47 language tag
"value": "[\n {\n \"name\": \"Café Sara\",\n \"address\": \"Hausmanns gate 29, 0182 Oslo\",\n \"position\": [10.75412, 59.91771],\n \"durationSeconds\": 310,\n \"distanceMeters\": 500\n }\n]" // Opaque string response value to be entered into message history.
}
Use when:
- the user asks by name about a place, address, business, etc.
- you need want to lookup the location, distance, rating, opening hours, or description of a place
Do NOT use when: the user asks specifically for a place to be added to their route

Posture: PROACTIVE