load_module
Loads and indexes a Neverwinter Nights .mod file, resolving a filename from the user modules directory, so other tools can inspect or modify module content.
Instructions
Load and index a NWN module (.mod) file. Must be called before using other tools. If just a filename is given (e.g., 'mymod.mod'), it is resolved from the NWN_FOLDER_USER/modules/ directory.
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": {
"modPath": "<modPath>"
},
"name": "load_module"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| modPath | Yes | Module filename (e.g., 'mymod.mod') or absolute path |