update_entity
Overwrites the given fields of one entity; fields left out are kept. Use the field names get_entity returns. Requires the Editor role.
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": {
"campaignId": "<campaignId>",
"entityType": "<entityType>",
"entityId": "<entityId>",
"data": "<data>"
},
"name": "update_entity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | The fields to change and their new values. | |
| entityId | Yes | ||
| campaignId | Yes | ||
| entityType | Yes | Entity type: NPC, MONSTER, LOCATION, FACTION, ENCOUNTER, LORE, ITEM, QUEST, PLAYER, PARTY or SESSION. |