GovTribe

Show geo map MCP response

MCP tool response returned by the Show geo map MCP tool.

Response Shape

The response echoes the validated map payload. When marker selection is enabled, it also includes interactive selection state.

FieldTypeNotes
idstringCaller-provided map identifier.
Map definition fieldsmixedValidated marker, route, clustering, and styling fields from the live tool schema.
interactionIdstringPresent when marker selection is enabled.
kindstringgeo_map when marker selection is enabled.
statusstringInitial interaction status, usually pending.
isInteractivebooleanWhether the map should accept marker selection.
selectedMarkerIdsstring arraySelected marker identifiers. Starts empty.
selectedMarkersobject arraySelected marker payloads. Starts empty.
selectedRecordRefsobject arrayRecord references from selected markers. Starts empty.
lastClickedobject or nullLast clicked marker or coordinate state.
viewportStateobject or nullLatest map viewport state when submitted.
lastEventobject or nullLast 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
}