Download LSLib (one-time setup)
dos2_fetch_lslibDownloads the official LSLib release, verifies its pinned SHA-256, and unpacks Divine.exe into the server data folder so campaign file tools work when divine_found=false.
Instructions
One-time setup: downloads the official LSLib release by Norbyte (Divine.exe, MIT license) from GitHub, verifies its pinned SHA-256 and unpacks it into the server's data folder. Every tool that reads or writes campaign files needs Divine.exe, so run this when dos2_status reports divine_found=false.
Needs internet access. Writes only into the data folder; the game and the campaigns are not touched. When
Divine.exe is already there it returns at once without downloading. Returns {result, source}, or {error} on a
network failure or checksum mismatch (then nothing is unpacked).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "dos2_fetch_lslib"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | Download and unpack again even when Divine.exe is already present. Default false. |