modify_gff_field
Set or update a single field in a GFF resource using a dot-separated path, such as 'Creature List.0.ChallengeRating', to edit creatures, items, and other NWN game data.
Instructions
Modify a field in a GFF resource by dot-path. Example path: 'Creature List.0.ChallengeRating'
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": {
"resource": "<resource>",
"type": "<type>",
"path": "<path>",
"value": "<value>"
},
"name": "modify_gff_field"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Dot-separated path to the field | |
| type | Yes | Resource extension (e.g., 'uti') | |
| value | Yes | New value to set | |
| gffType | No | GFF type if creating a new field (e.g., 'dword', 'cexostring') | |
| resource | Yes | Resource resref (e.g., 'innkey') |