Mutate a map
mutate_mapApply a natural-language instruction to an existing workspace. Valid mutations: filter a layer, remove a layer, change camera, change basemap. For ambiguous instructions the tool emits a clarification field. For unrelated instructions it emits outOfScope — build a new map in that case. For the full Op catalog and predicate grammar, fetch the MCP resource showmeonmap://docs/workspace-ops-spec.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| map_id | Yes | map_id from a prior build_map call | |
| rationale | Yes | Short audit-log label (≤300 chars) stating the user-facing goal this call serves, e.g. "add wildfire layer for the user's California query". Required on every call. Stored in the operations log so map edits stay traceable — we never see your chat history. | |
| instruction | Yes | e.g., "filter to where magnitude is greater than 5", "change basemap to dark" |