get_object_context
WHEN: you need a COMPLETE picture of a D365 object in ONE call. Returns in a single response: full structure (fields, method signatures, relation summary) AND all CoC extensions / event handlers -- equivalent to calling get_object_details THEN find_extensions. Use this INSTEAD of those two separate calls to reduce round-trips. Optionally includes best-practice violations (set includeValidation=true). Pass methodName to also include the full body of a specific method. Pass aotType to disambiguate when several AOT objects share the same name.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| aotType | No | Optional: AOT type to disambiguate, e.g. 'AxTable', 'AxClass', 'AxForm'. | |
| methodName | No | Optional: specific method name to include full body for. | |
| objectName | Yes | Exact object name, e.g. 'SalesTable', 'CustTable', 'VendInvoiceJour' | |
| includeValidation | No | Include best-practice violations (default false -- adds latency for large objects). |