Prepare transactional map edits
prepare_map_editsFREE. Apply up to 200 stable-ID operations against expectedRevision. Returns a validated draft and semantic diff without changing the live map. Preview/test then use commit_map_draft. Settings use null to remove optional values. Deleting referenced objects must repair their dependencies in the same batch.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"expectedRevision": "<expectedRevision>",
"operations": "<operations>",
"mapId": "<mapId>"
},
"name": "prepare_map_edits"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mapId | Yes | ||
| operations | Yes | ||
| expectedRevision | Yes |