create_item_blueprint
Creates a new Neverwinter Nights item blueprint (.uti) in a module, optionally cloning a base or module item and applying overrides for properties and costs.
Instructions
Create a new item blueprint (.uti) in the module. Optionally clone from a base game or module item and apply overrides.
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>",
"tag": "<tag>",
"name": "<name>",
"baseItem": "<baseItem>"
},
"name": "create_item_blueprint"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tag | Yes | Item tag | |
| cost | No | Item cost in gold | |
| name | Yes | Item display name | |
| plot | No | Whether item is a plot item | |
| resref | Yes | New item resref (filename without extension) | |
| addCost | No | Additional cost modifier | |
| charges | No | Number of charges (default 0) | |
| baseItem | Yes | Base item type ID (e.g., 4 for sword, 40 for key) | |
| stackSize | No | Stack size (default 1) | |
| properties | No | JSON array of item properties. Each: {propertyName, subType, costTable, costValue, param1?, param1Value?}. PropertyName from itempropdef.2da. Common: 56=Enhancement Bonus (costValue=bonus 1-20), 16=Damage Bonus (subType=damage type, costTable=2, costValue=amount), 0=Ability Bonus (subType=ability 0-5, costValue=bonus) | |
| description | No | Item description | |
| sourceResref | No | Base item to clone from (e.g. 'nw_wswls001', 'nw_it_mpotion001') |