Interactive Map
Instructions
This skill displays a Google Maps embed directly in the chat so the user can pan, zoom and interact with the map without leaving the conversation.
When the user asks to show a place on a map:
- Extract the
locationfrom the user's query (place name, landmark, address, or coordinates). Examples: "Paris", "Eiffel Tower", "1 Infinite Loop, Cupertino", "48.8584,2.2945". - Call
run_skill_scriptwith:skill_name:interactive-mapscript:render_map.pyparameters:{"location": "<extracted location>"}
- Present the returned frame with a concise one-sentence caption (e.g., "Voici Paris sur la carte." / "Here is Paris on the map.").
Output contract
The script returns a SkillScriptOutput JSON with:
text: short caption (used for voice/accessibility)frame.url: Google Maps embed URL (external iframe, HTTPS)frame.title: header badgeframe.aspect_ratio: 1.333 (4:3, default)
Examples
- "Show Paris on a map" →
location = "Paris" - "Where is the Eiffel Tower?" →
location = "Eiffel Tower" - "Display the Louvre on the map" →
location = "Louvre Museum" - "Montre-moi la Tour Eiffel sur la carte" →
location = "Tour Eiffel"
Ressources disponibles
scripts/render_map.py— Generates the Google Maps embed URL from the location.