publish_appmodule
Previews then submits native AppModule PublishXml in Dynamics 365, requiring the preview hash and explicit publish approval to execute.
Instructions
Preview then submit native AppModule PublishXml. Requires expected_hash and allow_app_publish for execution. Acceptance does not verify runtime or dependent components.
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>"
},
"name": "publish_appmodule"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| dry_run | No | ||
| expected_hash | No | Current planHash from the publication preview, required for execution. | |
| allow_app_publish | No | ||
| environment_profile | No | Optional named environment profile for this call; omit to use the configured default. |