kotor_read_gff
Reads GFF files (DLG, UTC, ARE) from KotOR games and returns the full data tree as JSON, with options to limit nesting depth and field count to stay under response limits.
Instructions
Use when you need the full GFF tree as JSON (DLG, UTC, ARE, etc.). Use field_paths or max_depth/max_fields to stay under response limits. Read-only.
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": {
"game": "<game>",
"resref": "<resref>",
"restype": "<restype>"
},
"name": "kotor_read_gff"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| game | Yes | Game alias: k1 or k2 | |
| resref | Yes | Resource reference name | |
| restype | Yes | Resource type (e.g. DLG, UTC) | |
| field_paths | No | Optional field paths to include | |
| max_depth | No | Max nesting depth | |
| max_fields | No | Max fields to return |