reference_extensions
Lists extension elements, chain-of-command classes, event handlers, and delegate subscribers that hook into a Dynamics 365 X++ artifact or member, so you can see dependencies before changes.
Instructions
List what extends an artifact: its extension elements (TableExtension, FormExtension, EnumExtension... named .), chain-of-command classes ([ExtensionOf]), event handlers ([DataEventHandler], [FormEventHandler], [FormDataSourceEventHandler], [FormControlEventHandler], [FormDataFieldEventHandler], [PreHandlerFor], [PostHandlerFor]) and delegate subscribers ([SubscribesTo]) that name the artifact or one of its members. Use it before changing an artifact to see the code that hooks into it.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"id": "<id>"
},
"name": "reference_extensions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Artifact or member id, e.g. /Tables/CustTable or /Forms/CustTable/DataSources/CustTable | |
| limit | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| ok | Yes | ||
| error | No | ||
| elements | No | ||
| extenders | No | ||
| freshness | No | ||
| truncated | No |