set_entity_properties
Set or remove property key-value pairs on an existing entity in a Quake .map file. Writes the changes and reloads in TrenchBroom, preserving editor edits when unsaved changes exist.
Instructions
Set and/or remove properties on an existing entity. Writes the file; TrenchBroom-HL reloads it automatically, but asks first - and defaults to KEEPING the editor version - if the document has unsaved edits.
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": {
"map_path": "<map_path>",
"index": "<index>"
},
"name": "set_entity_properties"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| set | No | Properties to set or overwrite | |
| index | Yes | ||
| remove | No | Property keys to delete | |
| map_path | Yes | Absolute path to the .map file |