create_trap_blueprint
Creates a new trap trigger blueprint (.utt) with detection and disarm DCs, default square geometry, and optional cloning from a base trigger with overrides.
Instructions
Create a new trap trigger blueprint (.utt) with trap detection/disarm DCs and a default square geometry. Optionally clone from a base game trigger 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>",
"scriptOnEnter": "<scriptOnEnter>"
},
"name": "create_trap_blueprint"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tag | Yes | Trap tag | |
| name | Yes | Trap display name | |
| size | No | Trigger square size in meters (default 4.0) | |
| resref | Yes | New trap blueprint resref | |
| oneShot | No | Trap fires once then disables (default true) | |
| detectDC | No | Trap detection DC (default 15) | |
| disarmDC | No | Trap disarm DC (default 15) | |
| sourceResref | No | Base trigger to clone from (e.g. 'nw_yourfeet') | |
| scriptOnEnter | Yes | Script resref to run when PC enters the trap |