symbol-map
Converts Minecraft class, field, and method names between obfuscated, Mojang, intermediary, and Yarn namespaces, or maps workspace symbols to compile-time names.
Instructions
Map 1-50 class, field or method names from mapping to toMapping for a Minecraft version. exact: true maps methods strictly by owner, name and descriptor. A workspace target without toMapping maps to the names the project compiles against. Example: {"target":{"kind":"version","version":"1.21.10"},"mapping":"obfuscated","toMapping":"mojang","symbols":[{"kind":"class","className":"dhl"}]}
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>",
"mapping": "<mapping>",
"symbols": "<symbols>"
},
"name": "symbol-map"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| exact | No | Methods only: match owner, name and full descriptor strictly. | |
| detail | No | summary: no empty or repeated candidates; standard: all; full: adds provenance. | summary |
| target | Yes | Fields per kind (?=optional): version: version,projectPath?; workspace: projectPath. Other fields rejected. | |
| mapping | Yes | Namespace the names are written in. | |
| symbols | Yes | 1-50 classes, fields or methods. | |
| nameMode | No | auto: dotless classes looked up as given, any namespace; fqcn: qualified only | auto |
| toMapping | No | Destination namespace; with a workspace target, default its compile names. | |
| maxCandidates | No | Candidates per symbol; default 5. | |
| signatureMode | No | exact: a method matches only with its descriptor, which is then required. name-only: a method matches by owner and name, ignoring any descriptor. Default: a method with a descriptor is looked up as exact; every other symbol as name-only. |