build_model
Dry-run or compile a Dynamics 365 model in the open Visual Studio with bounded logs and configurable build options.
Instructions
Dry-run or compile a Dynamics 365 model in the open Visual Studio (Dynamics 365 > Build Models) and bounded logs.
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": {
"package": "<package>",
"model": "<model>"
},
"name": "build_model"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | Yes | ||
| dryRun | No | ||
| options | No | Dynamics 365 Build Models dialog options. synchronizeDatabase needs policies.allowDatabaseSynchronization and deployToOnlineEnvironment needs policies.allowEndpointMutations. | |
| package | Yes | ||
| logLevel | No | normal | |
| timeoutMs | No | ||
| bestPractices | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| cwd | No | ||
| args | No | ||
| kind | No | ||
| logs | No | ||
| error | No | ||
| index | No | ||
| dryRun | No | ||
| signal | No | ||
| stderr | No | ||
| stdout | No | ||
| target | No | ||
| command | No | ||
| success | No | ||
| exitCode | No | ||
| timedOut | No | ||
| artifacts | No | ||
| cancelled | No | ||
| durationMs | No | ||
| diagnostics | No | ||
| stderrTruncated | No | ||
| stdoutTruncated | No |