export_resource
Extract a single resource file from a Neverwinter Nights module by name and type, then write it to a specified disk path for inspection or reuse.
Instructions
Extract a single resource file from the module to a specified path on disk.
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": {
"resref": "<resref>",
"type": "<type>",
"outputPath": "<outputPath>"
},
"name": "export_resource"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | Resource extension (e.g., 'uti', 'nss', 'dlg') | |
| resref | Yes | Resource name without extension | |
| outputPath | Yes | Absolute path to write the file to |