Skip to content

render_map_tool: tell the model what the user did on the map #287

Open

Description

@mattpodwysocki

Problem

What the user does on the map never reaches the model: toggling traffic or satellite (#278), picking a route, clicking a place, or collapsing the panel. So a follow-up like "how long is that one?" or "is the traffic bad there?" has nothing to go on.

Proposal

When the user acts on the map, send a short state update to the host as model context (MCP Apps ui/update-model-context, or ChatGPT's widget state). For example: "User selected route 2 (24 min, 9.1 mi)", "Traffic layer on", "User clicked Blue Bottle Coffee (mapbox_id …)". Keep it to the latest state, not a log.

Notes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions