bg3_add_mod_layer
Registers an unpacked mod folder or .pak file as an indexed layer for Baldur's Gate 3 data lookups, letting you set its 1-based position among mod layers.
Instructions
Register a mod layer: an unpacked mod folder (containing Public/ and Mods/) or a .pak file. position: 1-based slot among mod layers (default: on top). The layer is indexed immediately.
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": {
"name": "<name>",
"path": "<path>"
},
"name": "bg3_add_mod_layer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| path | Yes | ||
| position | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |