About D365fo
D365fo is an MCP server published by dynamics365ninja in the Cloud category: exposes MCP tools that prove every method, field, label and form pattern against your real metadata before the AI writes code. Conduid read 22 tools from its source: analyze_code, axdb_sql, build_d365fo_project, d365fo_file, extension_info, find_references and 16 more. It is published to npm as d365fo-mcp and starts with npx.
The repository has 178 stars and 70 forks, is licensed MIT, and its last commit was on 1 Dec 2026. The latest release is v1.24.0 (12 Nov 2026): Changes since v1.23.0: chore(release): 1.24.0 (495ee966) fix(form): Workspace and field-less DetailsTransaction scaffolds pass their pattern (651bbacf) fix(write): resol… It follows v1.23.0 (5 Nov 2026), and the 5 most recent releases go back to v1.20.0 (2 Oct 2026). It passes 4 of the 5 static checks Conduid ran on the repository; it does not pass No dynamic code execution. Its topics include azure, code-completion, d365fo, dynamics-365, dynamics-365-finance-operations and erp.
Install
claude mcp add d365fo -- npx -y d365fo-mcpnpx -y d365fo-mcpgit clone https://github.com/dynamics365ninja/d365fo-mcp-serverTools (22)
analyze_codeLearn from the existing codebase. Choose a `mode`:
• patterns → common classes/methods/dependencies for a scenario (call BEFORE generate_object(mode="pattern")).
• implementations → real implementation examples of a similar method (actual code).
• completeness → missing standard methods on a class (find/exist/validate gaps).
• api-usage → how an API/class is initialized and called in practice.| Parameter | Type | Description |
|---|---|---|
| apiName | string | [api-usage] REQUIRED. Name of the API/class to get usage patterns for. |
| className | string | [implementations|completeness] REQUIRED. Class to analyze / containing the method. |
| classPattern | string | [patterns] Optional class name pattern to filter results (e.g., "Helper", "Service"). |
| context | string | [api-usage] Optional context to filter patterns (e.g., "initialization", "validation"). |
| limit | number | [patterns] Maximum number of pattern examples to return |
| methodName | string | [implementations] REQUIRED. Name of the method to implement. |
| mode * | string | Which analysis to run. |
| parameters | array | [implementations] Method parameters. |
| returnType | string | [implementations] Method return type. |
| scenario | string | [patterns] REQUIRED. Scenario/functionality to analyze (e.g., "financial dimensions", "inventory transactions"). |
axdb_sqlRead-only live AxDB SQL on the dev VM. Fetch contract first.| Parameter | Type | Description |
|---|---|---|
| action * | string |
build_d365fo_projectBuild a D365FO model with xppc.exe (compiles the ENTIRE model, not one project). Blocks until done — call ONCE per build, do NOT poll (wait:false = legacy polling mode). fullBuild:true fixes "not been successfully compiled since it was last changed" stale-symbol errors.| Parameter | Type | Description |
|---|---|---|
| aosUrl | string | restartAos root. Default: Infrastructure.HostUrl in AosService web.config; required on UDE. |
| bpCheck | boolean | On a SUCCESSFUL build, also run the best-practice checker and append its findings. Prefer this to a follow-up run_bp_check call: one build call instead of two round trips. |
| dbSync | any | On a SUCCESSFUL build, also run the database sync (SyncEngine.exe) — REQUIRED after any table/view/data-entity change. true = partial sync of the syncable objects in the project, full-model when it has none; an ARRAY syncs exactly those tables/views (much faster). With deploy: full sync in the environment. |
| deploy | boolean | UDE: on a SUCCESSFUL build, deploy the model's package to the cloud runtime that run_systest_class tests run in. dbSync unset: syncs only if schema changed (~20 min, else ~3). |
| force | boolean | Kill any running build processes for this model and restart. |
| fullBuild | boolean | Full recompile of TARGET model (not deps). Fixes stale symbols; auto when a table, EDT, enum or OData entity changes. |
| modelName | string | D365FO model name to build (e.g. MyCustomModel). Auto-detected from workspace if omitted. |
| restartAos | boolean | After a successful build (+dbSync), restart the local IIS/IIS Express AOS serving aosUrl. |
| wait | boolean | Default true: one call returns the final result. false = legacy fire-and-forget. |
| waitTimeoutMs | number | Max ms to block (default 30 min) before a "still running" snapshot; the build continues. |
d365fo_fileD365FO AOT object files and VS projects. Choose an `action`: • create → write a NEW object file into PackagesLocalDirectory (auto-added to .rnrproj). THE WRITE STEP — incomplete until isError=false; ⚠️/❌ = failure. Extensions: objectName="Base.PrefixExtension". • project → VS project + .sln ops via params.operation: create|delete (confirm first)|add-object|remove-object. • modify → edit an EXISTING object. APPLIES IMMEDIATELY, no dry-run — confirm with the user first; revert with action="undo". Needs `operation`. • delete → remove an object's XML from disk AND un-register it from every .rnrproj listing it. IRREVERSIBLE — confirm with the user first. • undo → roll back `filePath`: git-tracked → git checkout HEAD, which discards ALL uncommitted changes to that file, not just the last edit; untracked/outside git → deleted only if created this session. • generate → XML as TEXT only, no write (Azure/Linux fallback). Try create first. The rest need Windows. 📖 Parameters are NOT inlined here: get_knowledge(kind="op-spec", topic="<operation>"|"<objectType>") returns its contract — pass its values nested in `params` (modify) / `properties` (create), along with any packageName/packagePath/solutionPath/workspacePath override. Model + prefix auto-applied.| Parameter | Type | Description |
|---|---|---|
| action * | string | |
| addToProject | boolean | Add to the ACTIVE .rnrproj — keep the default. |
| createBackup | boolean | [modify] Back up before modifying. |
| filePath | string | [modify|delete] Absolute XML path — bypasses symbol-DB lookup. Use for objects just created. [undo] REQUIRED: the file to roll back. |
| groundingToken | string | From prepare(change/create). Required for *-extension when GROUNDING_ENFORCE=true; object-bound. |
| modelName | string | Target model — auto-detected. NEVER take it from search results (those are source models). |
| objectName | string | Base name WITHOUT model prefix — the tool prepends it. Extension classes: "{Base}_Extension". NEVER hand-build the prefix. |
| objectType | string | Each security/menu-item type is its own AOT folder — NEVER use security-privilege for duty or role. [modify]/[generate] cover the core families + their *-extension variants. |
| operation | string | [modify] REQUIRED unless using operations[]. add-method also UPDATES in place; replace-code: surgical oldCode→newCode. |
| operations | array | [modify|create] PREFERRED for 2+ edits to the SAME object — ONE call. On create they run against the just-created object, under the name it actually got. Entries are {operation, …op-spec params}; objectType/objectName/modelName stay top-level. Applied in order, stopped at the first failure, per-operation results back. |
| overwrite | boolean | Allow overwriting — never rewrite via PowerShell. |
| params | object | [modify|project] Operation-specific parameters as ONE nested object, per the op-spec lookup above. A missing/wrong one returns that COMPLETE spec — follow it, do not guess. |
| projectPath | string | Path to .rnrproj. Set if known, else auto-detected. |
| properties | object | [create] Per-objectType properties, per the op-spec lookup above. |
| sourceCode | string | X++ source. FOR CLASSES auto-split: <Declaration> = class line + member vars; <Methods> = each method after the closing }. |
| xmlContent | string | Complete XML written verbatim (+overwrite=true rewrites an object). |
extension_infoD365FO extensibility analyzer. Choose a `mode`:
• coc → Chain of Command extensions + event subscriptions for a class/table. Use before writing a CoC extension to check for conflicts.
• events → event handler subscriptions (SubscribesTo, delegate +=) for a class/table. Use before adding handlers to check for duplicates.
• table-merge → all extensions of a table across models + effective merged schema (base + extension fields/indexes/methods).
• points → available extension points (CoC-eligible/replaceable methods, delegates, blocked methods) and which are already extended.
• strategy → recommends the best extensibility mechanism for a goal (CoC, event handler, business event, data entity, …) with reasoning, risks, alternatives, next steps.| Parameter | Type | Description |
|---|---|---|
| goal | string | [strategy] REQUIRED. What you want to achieve — e.g. "validate that SalesLine quantity is positive". |
| handlerType | string | [events] Filter by handler type (default: all). |
| includeEffectiveSchema | boolean | [table-merge] Merge base + extension counts (default: true). |
| includeEventHandlers | boolean | [coc] Also find static event subscriptions (SubscribesTo) (default: true). |
| method | string | [coc] filter to a specific method name; [events] filter to a specific event name (e.g. onInserted). |
| mode * | string | coc/events/table-merge/points need `target`; strategy needs `goal`. |
| objectType | string | [events] set "table" when target is a table (else class is assumed); [points] object type (default: auto-detect). |
| scenario | string | [strategy] Scenario category (auto-detected from goal if omitted). field-defaulting = set defaults on NEW records (initValue); field-change-reaction = react when a user/code CHANGES a field (modifiedField). |
| showExistingExtensions | boolean | [points] Also list who already wraps/subscribes each point — opt-in, roughly doubles the response. |
| target | string | The base object: [coc] class/table being extended; [events] class/table whose handlers to find; [table-merge] base table; [points] class/table/form; [strategy] optional target object. |
find_referencesFind all references (where-used) to a class, method, field, table, enum, EDT, or LABEL. For a method, SCOPE it to its declaring type — pass "Owner.method" (e.g. "SalesTable.initFromSalesQuotationTable"), set ownerName alongside a bare method name, or pass an AOT path ("/Tables/SalesTable/Methods/initFromSalesQuotationTable"). A bare method name (no owner) matches that name on every type and over-reports. For a label, pass the label id as targetName (e.g. "@WAX2194" or "@MyLabelFile:MyLabel"); results span every referencing object type (tables, forms, EDTs, enums, reports, menu items, …), not just code, and require the xref database (DYNAMICSXREFDB, full server mode).| Parameter | Type | Description |
|---|---|---|
| limit | number | Maximum number of references to return |
| ownerName | string | Declaring table/class/form that owns the method, when targetName is the bare method name. Scopes the where-used to that single type. |
| targetName * | string | Target name. Methods: see the scoping rule in the description above. Labels: the id exactly as written — "@WAX2194" or "@LabelFile:LabelId". |
| targetType | string | Scopes a bare name to that type. An enum value: "Enum::Value" with "enum"; an index or field group: "Table.Name". |
generate_objectGenerate X++/AOT code. Choose a `mode`:
• pattern → a named X++ skeleton from the pattern enum (text only, no write). Call analyze_code(mode="patterns") first, then generate_object(mode="pattern"), then d365fo_file(action="create").
• scaffold → pattern-aware whole-object generation (table/form/report) with intelligent field/index/relation or form-pattern suggestions; set objectType.
• find-methods → find()/findRecId()/exists() for a table (text), keyed on its primary/unique index.
• relation-xpp → a table's relation(s) → X++ select + QueryBuildRange (text).
• fields → field names → AxTableField XML with auto-resolved EDTs + optional field group.
• table-relation → EDT-referencing fields → AxTableRelation XML (inverse of relation-xpp).
📖 Mode parameters are NOT inlined here: get_knowledge(kind="op-spec", topic="<mode>") — "scaffold:table"/"scaffold:form"/"scaffold:report" for the scaffolds — returns the contract; pass its values nested in `params`.
For a single existing object definition's XML use d365fo_file(action="generate") instead.| Parameter | Type | Description |
|---|---|---|
| mode * | string | |
| modelName | string | Model name (auto-detected). NEVER use placeholders like "MyModel". |
| name | string | REQUIRED. [pattern] element name (extensions: base element; form-datasource/control-extension: the FORM name). [scaffold] object name WITHOUT model prefix. [other modes] the existing table. |
| objectType | string | [scaffold] REQUIRED. Kind of object to generate. |
| params | object | Mode-specific parameters as ONE nested object (label, fields[], fieldsHint, cloneFrom, tableMapping, formPattern, contractParams[], keyFields[], style, fieldGroup, …). A missing required one is answered with that mode's COMPLETE spec. |
| pattern | string | [pattern] REQUIRED. ssrs-report-full = Contract+DP+Controller; service-class-ais = CRUD service + contract; systest = failing SysTestCase (TDD red); report-* extend a STANDARD report (recipes: object_patterns(domain="report")). |
get_knowledgeX++ knowledge lookup. Choose a `kind`:
• knowledge → queryable X++ rulebook: verified patterns, BP rules, AX2012→D365FO migration. Use BEFORE generating code. Topics incl.: select-statement, coc-authoring, bp-rules, sysoperation, event-handlers, workflow, number-sequences, security, sysda, form patterns.
• error → diagnose a D365FO/X++ compiler or runtime error: structured root cause + step-by-step fix + corrected X++ example (TTS mismatch, UpdateConflict, CSUV1, SYS10028 missing next, overlayering, BP errors, …). Call this instead of guessing — X++ error semantics differ from C#/.NET.
• op-spec → the parameter contract for ONE d365fo_file operation/objectType or ONE generate_object mode (topic = "add-index", "table", "scaffold:form", …). Those two tools deliberately do not ship their parameters inline; call this after picking the operation, before the call. Omit topic for the index of available topics.
• bp-moniker → validate an exact BP-check moniker, search by scenario when you have no moniker yet, or render a _BPSuppressions.xml <Diagnostic> block. Backed by names/text extracted from a real D365FO install — never invents a moniker.| Parameter | Type | Description |
|---|---|---|
| action | string | [bp-moniker] REQUIRED. validate = confirm an exact moniker is real; search = free-text scenario query; suppress = render a <Diagnostic> block. |
| errorCode | string | [error] Optional error code (e.g. SYS10028, CSUV1, BPUpgradeCodeToday) |
| errorText | string | [error] REQUIRED. Full error message text as displayed in the X++ compiler or event log |
| format | string | [knowledge] concise = quick reference (default), detailed = full explanation with code examples |
| justification | string | [bp-moniker suppress] REQUIRED. Why the warning is ignored; 95% of real entries carry one. |
| kind | string | |
| moniker | string | [bp-moniker validate/suppress] REQUIRED. Exact moniker, e.g. "BPErrorPrivilegeNotCoveredByDuty". |
| path | string | [bp-moniker suppress] REQUIRED. dynamics:// path, verbatim from the finding. |
| topic | string | [knowledge] REQUIRED. Topic to query — e.g. "ttsbegin", "RunBase vs SysOperation". [op-spec] The operation / objectType / mode to look up. |
| topics | array | [knowledge|op-spec] Look up SEVERAL topics in one call instead of one call each. Replaces topic. |
get_object_infoRead D365FO object metadata. For 2+ objects pass objects:[{objectType,objectName},…] (max 10) — ONE call, run in parallel, per-object sections back; never loop single calls. One object: {objectType, name}. Pick the kind via objectType: class, table, form, query, view, enum, edt, report, data-entity, menu-item, menu, service, map, config-key, security-policy, macro, model. The *-extension types list all extensions of a base object — pass the base object name or a full extension name (the dot suffix is stripped automatically). Type-specific flags go in options. For CLASSES, {"members":"names"} (optional {"prefix":...}) returns a fast IntelliSense-style member-name list instead of full metadata.| Parameter | Type | Description |
|---|---|---|
| name | string | Exact object name (use search first if unsure). REQUIRED unless using objects[]. |
| objectType | string | Kind of object to read. REQUIRED unless using objects[]. |
| objects | array | PREFERRED for 2+ objects: read them all in one round trip. Each entry takes the same objectType/options as the single form, with the name in objectName. |
| options | object | Type-specific reader flags: includeRdl (report), searchControl/maxControls/methodOffset (form), compact/methodOffset (class+table), fieldsOffset/fieldFilter/relations (table), filter (macro), mode (edt), includeFields, includeOperations, modelName. On class/table/view/data-entity, {"method":"validateWrite","include":"signature"} returns ONE method (include: signature | source | both) — required before writing a CoC extension. {"include":"xml"} returns raw AOT XML + its path (page: startLine/endLine) — never shell out to find or read a file. Applies to every objects[] entry. |
get_workspace_infoALWAYS call FIRST at session start. Returns model name, package path, framework directory, project path, environment type, and EXTENSION_PREFIX. Flags placeholder model names and missing prefix. Pass projectName/projectPath when you have the project's name or path. Authoritative source for target model — not search results.| Parameter | Type | Description |
|---|---|---|
| changes | boolean | Return the uncommitted X++ changes (`git diff HEAD`) plus per-file rollback hints INSTEAD of the configuration. Review-only — not a way to verify a write. |
| diagnostics | boolean | Include verbose sections (config sources, suffix, project paths, index scan, stdio handshake). Use when debugging config or connectivity. |
| projectName | string | The PROJECT file name, e.g. "Contoso - FeatureManagement" — pass it whenever you have one: the USER named it, or an earlier call listed it. NOT a model name, and not a guess from a ticket: one model has many projects, so naming it selects none. Steers WRITES only; reads span every model already. |
| projectPath | string | Absolute path to a .rnrproj file. Use when projectName is ambiguous, none was auto-selected, or D365FO_SOLUTIONS_PATH is unset. Example: "K:\\repos\\Contoso\\MyProject\\MyProject.rnrproj" |
labelsUnified label operations — read and write. Writing an object? d365fo_file create/modify already turn a raw-text label/fieldLabel into a real @Ref by themselves; no call here is needed. Choose an `action`:
• search → full-text query across indexed label files. Never needed before a create.
• info → all translations for a labelId; without labelId lists label files (with labelFileId: physical .label.txt path per language).
• list → page one label file's labels; idPrefix/comment/missingLanguage/offset go in params.
• create → add a label to an AxLabelFile across every language .label.txt (write). ALWAYS pass createIfMissing=true: it creates when absent and reuses when present, so this ONE call replaces search-then-create. Bulk: labels:[{labelId, translations}, …] with shared labelFileId/model at top level does a whole object in one call. Label IDs describe MEANING — never a model prefix; target the model's ORIGINAL label file, never an …_Extension… one.
• update → overwrite the text of an EXISTING label; same args as create with corrected translations[] (write).
• rename → rename a label ID across .label.txt + X++ + XML + index. Use dryRun=true first (write).
Write plumbing (paths, languages, sortLabels…) is auto-resolved; overrides and list filters: get_knowledge(kind="op-spec", topic="labels").| Parameter | Type | Description |
|---|---|---|
| action * | string | |
| dryRun | boolean | [rename] Preview changes without writing anything. |
| labelFileId | string | [search|info|list|create|update|rename] AxLabelFile ID (e.g. ContosoExt, SYS). New file: ID = MODEL name, never EXTENSION_PREFIX. |
| labelId | string | [info|delete] Label ID, any spelling: SYS67433, @SYS67433, @ContosoExt:MyLabel (paste search output). labelFileId/model optional. Omit to list label files. |
| labels | array | [create|update] Bulk mode — shared fields stay at the top level (top-level labelId/translations are then ignored); a failed entry does not abort the batch. |
| language | string | [search|list] Language/locale (default en-US), e.g. cs, de, sk, fi. |
| maxResults | number | [search|list] Page size (search 10, list 50); reports how many more matched. |
| model | string | [search|info|list|create|update|rename] Model owning the label file. |
| newLabelId | string | [rename] REQUIRED. New label ID. |
| oldLabelId | string | [rename] REQUIRED. Current label ID (e.g. MyOldField). |
| params | object | Optional overrides / list filters (see op-spec). |
| query | any | [search] REQUIRED. Search text — matches label ID, text and developer comment. ARRAY = try several phrasings in ONE call. |
| translations | array | [create] REQUIRED for single-label create (omit with labels[]). Translations for each language. Provide at least en-US. |
| verbose | boolean | [search|list] true = full block (list: all languages). |
object_patternsPattern toolkit. Choose a `domain`:
• table → field/index/relation patterns for D365FO tables. Filter by tableGroup or similarTo a given table.
• form → form-pattern toolkit; pick an `action`:
- analyze → pattern advisor + usage analysis. For a NEW form pass `recommend` (preferred): the Microsoft decision tree picks the pattern and names reference forms to clone. Or filter by formPattern / dataSource / similarTo.
- spec → structure spec of a pattern/sub-pattern: hierarchy, ordering, allowed children, reference forms, lifecycle.
- validate → AxForm XML validator (hierarchy/order, sub-patterns, PatternVersion) → FP001-FP011. Call before d365fo_file action=create.
• report → SSRS implementation recipes: object roster, scaffold call, checks. Optional pattern=<id>.
• mobile-app → warehouse-app screen recipes, led by the choice between the two frameworks that build them (ProcessGuide vs WHSWorkExecuteDisplay): create a flow, add or replace one screen, step icon/title, GS1 scan input. Optional pattern=<id>.| Parameter | Type | Description |
|---|---|---|
| action | string | [form] Which form-pattern operation to run. repair = auto-fill missing required controls. |
| dataSource | string | [form/analyze] Table name - find forms using this table |
| domain | string | Optional — inferred from the other params (action/pattern/xml/formName → form; tableGroup → table). A concept like "number-sequence" is not a domain: that is get_knowledge. |
| filePath | string | [form/validate] Path to an AxForm XML file not yet indexed. |
| formName | string | [validate] Name of an indexed form — XML is loaded from the metadata store. |
| formPattern | string | [analyze] D365FO form pattern to analyze |
| limit | number | [analyze] Max pattern examples. |
| pattern | string | [spec|report|mobile-app] Pattern name (id, xmlName or alias) — e.g. "SimpleList", "FieldsFieldGroups", "PrintMgmtFormLetter", "processguide-flow". |
| recommend | object | [analyze] Pattern advisor: describe requirements, get a recommended pattern + reference forms to clone. |
| similarTo | string | [table] table / [form-analyze] form name to find similar patterns. |
| tableGroup | string | [table] Table group type to analyze (choose one). |
| xml | string | [validate] Complete AxForm XML to validate. Provide this OR formName/filePath. |
prepareONE-call context aggregator + groundingToken (30-min TTL, required for extension/new-object writes when GROUNDING_ENFORCE=true). Choose a `mode`:
• change → extending/modifying an EXISTING object: exact signature, existing CoC wrappers, eligibility, recommended strategy, naming, patterns. Replaces the analyze→search→info→generate loop.
• create → a NEW object: collision check, naming with auto-prefix, similar objects, EDT suggestions, reusable labels, mined property defaults.
• test → writing a SysTest for an existing class: methods worth covering, tests that already exist, whether the model references TestEssentials, and the red-first cycle.| Parameter | Type | Description |
|---|---|---|
| fieldsHint | array | [create] For tables/views: planned field names — each gets EDT suggestions from the index. |
| goal * | string | One-sentence description of the intent. Example (change): "Add CoC on CustTable.validateWrite". Example (create): "Parameter table for the Contoso import feature." |
| methodName | string | [change] Target method name when the change involves a specific method (CoC or event handlers). Example: "validateWrite". |
| mode * | string | |
| objectName * | string | [change] Name of the object to extend/modify (e.g. "CustTable"). [create] Proposed BASE name WITHOUT model prefix. |
| objectType | string | [change] type — auto-detected when omitted. [create] REQUIRED; an extension is Base.Suffix. |
| operation | string | [change] The modify operation(s) you intend to run — comma-separated for several ("add-field,add-index"). Their full parameter contracts come back in THIS response. Defaults to add-method when methodName is given. |
| proposedName | string | [change] Proposed name for the new extension class/object. When provided, naming validation runs. |
run_bp_checkRun 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.| Parameter | Type | Description |
|---|---|---|
| modelName | string | Model name to check. Auto-detected if omitted. |
| objects | array | 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. |
| packagePath | string | PackagesLocalDirectory root path. Auto-detected if omitted. |
| projectPath | string | Absolute path to the .rnrproj file to analyze. Auto-detected if omitted. |
run_systest_classRun D365FO unit test classes (SysTestConsole; UDE: cloud runtime), with per-method results.| Parameter | Type | Description |
|---|---|---|
| className * | string | SysTest class, e.g. "MyModuleTest". UDE: several of one model, comma-separated, in one run |
| modelName | string | The model containing the test class. Auto-detected if omitted. |
| packagePath | string | PackagesLocalDirectory root path. Auto-detected if omitted. |
| testMethod | string | Optional: run only this specific test method within the class (e.g. "testValidation"). |
searchSearch pre-indexed D365FO objects by name or keyword. Three modes in ONE tool:
• single (default) → pass `query`; returns name, type, model.
• batch → pass `queries[]` (max 10) to run searches in parallel (3× faster, with dedup + cross-reference).
• extensions → set `scope:"extensions"` to restrict to custom/ISV models only (filters out Microsoft standard code). Model names in those results are SOURCE models — never use them as create/modify targets.
Use get_object_info(objectType, name) when you already know the exact name and need full details.| Parameter | Type | Description |
|---|---|---|
| limit | number | [single|extensions] Maximum results to return |
| prefix | string | [extensions] Object name prefix (e.g., ISV_, Contoso). |
| queries | array | [batch] Array of search queries to execute in parallel (max 10). When provided, runs in batch mode and `scope`/`query` are ignored. |
| query | string | [single|extensions] Search query (class name, method name, table name, etc.). REQUIRED unless using batch `queries[]`. |
| scope | string | [single] Whole index, or only custom/ISV models. Ignored when `queries[]` is provided. |
| type | string | [single] Filter by object type ("all" = no filter). |
| verbose | boolean | [single] Include related-searches/patterns/tips sections. |
security_infoD365FO security lookup. Choose a `mode`:
• artifact → details + full hierarchy of a named privilege/duty/role (Role → Duties → Privileges → Entry Points).
• coverage → reverse chain for an object: which privileges/duties/roles grant access (object → menu items → privileges → duties → roles).| Parameter | Type | Description |
|---|---|---|
| artifactType | string | [artifact] REQUIRED. Type of security artifact to look up |
| includeChain | boolean | [artifact] Walk the full hierarchy (default: true) |
| mode * | string | |
| name | string | [artifact] REQUIRED. Name of the security privilege, duty, or role |
| objectName | string | [coverage] REQUIRED. Name of the form, table, class, or menu item |
| objectType | string | [coverage] Type of the object (default: auto-detect) |
tfvcTFVC on the dev VM: pending changes, check-in with work items, file history and old versions. Fetch contract first.| Parameter | Type | Description |
|---|---|---|
| action * | string |
trace_d365foETW trace of X++ and SQL time on the dev VM, instead of timer code. Fetch contract first.| Parameter | Type | Description |
|---|---|---|
| action * | string |
validate_codeStatic validator for generated X++/XML (paste the text). Choose a `mode`:
• syntax → offline best-practice/BP validator (no xppbp.exe). Structured violations {rule, severity, line, excerpt, fix}. Covers select, CoC, BP and table-XML rules mined from standard models.
• references → semantic reference resolver (index-only): verifies every type, field, method (incl. arity), enum, label and intrinsic (tableStr/fieldStr/…) EXISTS in the indexed codebase. codeType="xml-table" checks XML refs instead: EDT/enum/relation/extends/label.
Call mode="both" AFTER generating, BEFORE writes; fix errors in the same turn. Write tools run references internally when GROUNDING_ENFORCE=true.| Parameter | Type | Description |
|---|---|---|
| code * | string | X++ source code or XML metadata to validate. Paste the full generated text. |
| codeType | string | [syntax] "xpp" X++ (default), "xml-table" AxTable, "xml-form" AxForm(+Extension), "xml-report" AxReport, "xml-any" other. |
| context | string | Optional: owning class/table name, used in diagnostic messages. |
| mode * | string | both = run the two checks in ONE call (preferred). |
validate_object_namingValidate a proposed D365FO object name: extension naming/formats, ISV prefix, type suffixes, conflicts in the symbol index.| Parameter | Type | Description |
|---|---|---|
| baseObjectName | string | Extension types: the object being extended |
| baseObjectType | string | class-extension: its type (class|table|form|…); picks the name format |
| modelPrefix | string | ISV/model prefix (e.g. "WHS"); auto-detected if omitted. |
| objectType * | string | |
| proposedName * | string | The proposed object name to validate |
verify_d365fo_projectVerify that D365FO objects exist on disk at the correct AOT path and are referenced in the .rnrproj project file. Use instead of PowerShell. Runs AFTER a build, not after a write: d365fo_file already verifies its own write inline (on disk + .rnrproj reference) and says so in its response. Omit `objects` to verify the ENTIRE project: every object referenced in the .rnrproj is checked on disk (requires projectPath, or an auto-detected/configured project).| Parameter | Type | Description |
|---|---|---|
| modelName | string | Model name. Auto-detected if omitted. |
| objects | array | List of objects to verify. OPTIONAL — omit to verify every object referenced in the project (.rnrproj). |
| projectPath | string | Absolute path to the .rnrproj file. Required for project-reference check. |
Security checks
- ✓README presentThe repository's README runs to about 1.1K words.
- ✓License declaredThe repository declares the MIT license.
- ✓Tests presentA test suite exists in the repository.
- ✓Dependencies pinnedA lockfile pins dependency versions.
- !No dynamic code executionScanned 493 source files and found 15 calls to eval or shell execution, in src/eval/oracle/cli.ts, src/tools/sdlc/aosRuntime.ts and src/tools/sdlc/buildProject.ts among others. Review how tool inputs reach them before granting credentials.
1 check has not been run yet.
Releases
README
The repository's README runs to about 1.1K words, fetched 12 days ago. The original in the repository is authoritative.
Read full README