reference_reindex
Rebuilds a model's Visual Studio cross-reference index without compiling, so cross-reference and impact queries return results for existing fields or methods again.
Instructions
Rebuild the Visual Studio cross-reference data for a model (cross-reference-only model build, no compile). Use it when reference_references/reference_impact/reference_graph return nothing for code you know exists, e.g. fields or methods added in an extension model: reindex the model that holds the referencing code, then query again. Needs policies.allowBuilds.
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": {
"model": "<model>"
},
"name": "reference_reindex"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | Yes | Model whose code should be (re)indexed; its package is derived from the loaded solution. | |
| dryRun | No | ||
| timeoutMs | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| cwd | No | ||
| args | No | ||
| kind | No | ||
| logs | No | ||
| error | No | ||
| index | No | ||
| dryRun | No | ||
| signal | No | ||
| stderr | No | ||
| stdout | No | ||
| target | No | ||
| command | No | ||
| success | No | ||
| exitCode | No | ||
| timedOut | No | ||
| artifacts | No | ||
| cancelled | No | ||
| durationMs | No | ||
| diagnostics | No | ||
| stderrTruncated | No | ||
| stdoutTruncated | No |