Show geo map MCP response
MCP tool response returned by the Show geo map MCP tool.
- Returned by: Show geo map MCP tool
- Response type: Structured app payload
Response Shape
The response echoes the validated map payload. When marker selection is enabled, it also includes interactive selection state.
| Field | Type | Notes |
|---|---|---|
id | string | Caller-provided map identifier. |
| Map definition fields | mixed | Validated marker, route, clustering, and styling fields from the live tool schema. |
interactionId | string | Present when marker selection is enabled. |
kind | string | geo_map when marker selection is enabled. |
status | string | Initial interaction status, usually pending. |
isInteractive | boolean | Whether the map should accept marker selection. |
selectedMarkerIds | string array | Selected marker identifiers. Starts empty. |
selectedMarkers | object array | Selected marker payloads. Starts empty. |
selectedRecordRefs | object array | Record references from selected markers. Starts empty. |
lastClicked | object or null | Last clicked marker or coordinate state. |
viewportState | object or null | Latest map viewport state when submitted. |
lastEvent | object or null | Last map event captured by the app. |
Follow-up Behavior
Use Interaction state MCP response to read or persist submitted marker selections.
Example
{
"id": "facility-map",
"title": "Facilities",
"markers": [
{
"id": "marker-1",
"label": "Facility A",
"latitude": 38.8977,
"longitude": -77.0365
}
],
"selection": {
"enabled": true
},
"interactionId": "geo_map:INTERACTION_ID",
"kind": "geo_map",
"status": "pending",
"isInteractive": true,
"selectedMarkerIds": [],
"selectedMarkers": [],
"selectedRecordRefs": [],
"lastClicked": null,
"viewportState": null,
"lastEvent": null
}