read_script_source
Retrieve the NWScript (.nss) source code for a script by resref to inspect, debug, or understand its logic.
Instructions
Read the NWScript (.nss) source code for a script.
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>"
},
"name": "read_script_source"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| resref | Yes | Script resref without extension |