run_bp_check
Run Microsoft Best Practices checks on a D365FO project to return best practice warnings and errors with rule codes for targeted fixes.
Instructions
Run Microsoft Best Practices checker (xppbp.exe) on a D365FO project. Returns BP warnings and errors with rule codes. Runs AFTER a build, not after a write; build_d365fo_project(bpCheck:true) already folds it in, 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 | Several objects in ONE call, findings grouped per object. An entry "git:<ref>" (e.g. "git:origin/main") checks only objects changed since that ref. Later runs list only findings new since the last run. | |
| 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. |