Open a Java block/item model
open_java_modelOpens Java block/item model JSON files with elements in a new tab, resolving textures from the texture field, a same-named PNG, or assets textures; parent models are not followed.
Instructions
Opens a Java block/item model .json that has "elements" in a new tab. Its texture comes from "texture", a same-named PNG next to the model, or assets/textures/...; anything else shows blank. Parent models are not followed. If the file is already open it switches to that tab.
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": "open_java_model"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Tab name. Default the file name. | |
| model | Yes | Absolute path, or "output:<relative path>" / "assets:<relative path>". Must end with .json. | |
| reload | No | If the file is already open with no edits, close that tab and load the file again. | |
| reopen | No | Open a new tab even if this file is already open. | |
| texture | No | Absolute path, or "output:<relative path>" / "assets:<relative path>". Must end with .png. |