artifact-index
Rebuild the cached file and symbol index for a Minecraft artifact, resolving and indexing uncached targets first; use force to refresh an index that is already current.
Instructions
Rebuild the cached file and symbol index of an artifact. A target that is not cached yet is resolved and indexed first; force: true rebuilds an index that is already current.
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": "artifact-index"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | Rebuild even when the index is current. | |
| target | Yes | Fields per kind (?=optional): artifact: artifactId; version: version,projectPath?,scope?; jar: jarPath; coordinate: coordinate; workspace: projectPath,scope?; dependency: group,name,dependencyVersion|projectPath. Other fields rejected. |