get_resource
Retrieve the full content of a Neverwinter Nights module resource by resref and type, returning GFF data as JSON, scripts as source text, or compiled scripts as disassembly.
Instructions
Get the full content of a resource. Returns GFF as JSON, .nss as source text, .ncs as disassembly.
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>"
},
"name": "get_resource"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | Resource extension (e.g., 'uti', 'dlg', 'nss') | |
| resref | Yes | Resource name without extension (e.g., 'innkey') |