propose_mapping_changes
Create a dry-run proposal for mapping changes: validates, diffs, and stores changes without activating them. Commit later using the returned proposal ID and diff hash.
Instructions
Propose mapping changes (the dry-run): validate, diff, hash and store a proposal.
Nothing is activated; only a local proposal file is written. Commit it with commit_mapping_changes using the returned proposal_id and diff_hash.
Args: changes: Change operations, each an object with an "op": init_tenant, apply_verified_defaults, set_field_mapping, deactivate_field_mapping, remove_field_mapping, set_value_mapping, deactivate_value_mapping, remove_value_mapping, set_setting, rollback_to, import_document. base_version: The version the change is built on (default: the active version).
Returns: JSON with proposal_id, diff_hash, expires_at, diff, conflicts, dependencies, validation.
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": {
"changes": "<changes>"
},
"name": "propose_mapping_changes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| changes | Yes | ||
| base_version | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |