bg3_deploy
Pack a mod layer, deploy its pak to the user's Mods folder, and enable it in the active profile after dependencies. Refuses while the game runs; backs up the previous pak.
Instructions
Pack a mod layer (Mods/ + Public/, via Divine), deploy the pak to the user Mods folder (refused while the game runs; previous pak backed up) and enable it in the active profile's modsettings.lsx after its dependencies. Works for any mod; no per-mod scripts. Re-run after a mod manager rewrites the load order.
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": {
"layer": "<layer>"
},
"name": "bg3_deploy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| layer | Yes | ||
| enable | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |