get_object_info
Fetch D365 F&O object metadata for multiple object types in one batch call. Use type-specific flags to get member names, method signatures, XML, or extension details without multiple round trips.
Instructions
Read 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, service, map, config-key, security-policy, macro. Extension types (table-extension, form-extension, enum-extension, edt-extension, data-entity-extension) 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. Replaces the former get__info, code_completion, batch_get_info and get_method tools.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Exact object name (use search first if unsure). REQUIRED unless using objects[]. | |
| objects | No | 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 | No | Type-specific reader flags: includeRdl (report), searchControl/maxControls (form), compact/methodOffset (class), fieldsOffset/fieldFilter (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. | |
| objectType | No | Kind of object to read (incl. *-extension types — pass base object name or full extension name). REQUIRED unless using objects[]. |