run_bp_check
Check a Dynamics 365 Finance and Operations project for Microsoft Best Practice violations, returning warnings and errors with rule codes.
Instructions
Run Microsoft Best Practices checker (xppbp.exe) on a D365FO project. Returns BP warnings and errors with rule codes (e.g. BPErrorLabelIsText, BPXmlDocNoDocumentationComments). Runs AFTER a build, not after a write — and build_d365fo_project(bpCheck:true) already folds this check into the build, so a separate call is rarely needed.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "run_bp_check"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| objects | No | Check several objects in ONE call — preferred over targetFilter. Shared preamble is printed once and findings are grouped per object. | |
| modelName | No | Model name to check. Auto-detected if omitted. | |
| packagePath | No | PackagesLocalDirectory root path. Auto-detected if omitted. | |
| projectPath | No | Absolute path to the .rnrproj file to analyze. Auto-detected if omitted. |