create_entity
Creates one entity from the JSON you wrote following get_generation_guide. Returns its id and Herald's validation report: fix blocking errors with update_entity, and weigh the warnings. Optional relationships link it to existing entities right away (each reported on its own; a refused link leaves the entity created). 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>",
"data": "<data>"
},
"name": "create_entity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | The entity's fields, matching the schema from get_generation_guide. | |
| campaignId | Yes | ||
| entityType | Yes | Entity type: NPC, MONSTER, LOCATION, FACTION, ENCOUNTER, LORE, ITEM, QUEST, PLAYER, PARTY or SESSION. | |
| relationships | No | Optional. Relationships from the new entity to existing ones, e.g. [{"type": "LOCATED_AT", "targetId": "<location id>"}]. The generation guide lists the types this entity can start. |