ide_references
Finds live cross-references for X++ elements by target path in the open Visual Studio, so you can locate method calls, type references, overrides, and related usages without relying on stale archives.
Instructions
Find references to an element using the live cross-reference store of the open Visual Studio (not a stale archive). Targets use cross-reference paths such as /Classes/Name, /Classes/Name/Methods/method or /Tables/Name.
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": {
"target": "<target>"
},
"name": "ide_references"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | Any | |
| limit | No | ||
| source | No | ||
| target | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| error | No | ||
| truncated | No | ||
| references | No |