save_sitemap_with_journal
Preview and conditionally save a Dynamics 365 SiteMap using ETag checks and a persistent before-image, without publishing. Requires a configured journal directory and current CRM ETags.
Instructions
Preview and conditionally save a SiteMap with a persistent before-image. Requires absolute D365_JOURNAL_DIR and specific CRM ETags. No publication.
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": {
"id": "<id>",
"xml": "<xml>"
},
"name": "save_sitemap_with_journal"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| xml | Yes | ||
| dry_run | No | ||
| expected_hash | No | Current planHash from the publication preview, required for execution. | |
| environment_profile | No | Optional named environment profile for this call; omit to use the configured default. |