add_npc
Add a Non-Player Character (NPC) to the MemoryMesh knowledge graph by defining name, role, status, current location, and description to enrich the narrative or game world.
Instructions
Add a new Non-Player Character (NPC) to the knowledge graph
Input Schema
Name | Required | Description | Default |
---|---|---|---|
npc | Yes |
Input Schema (JSON Schema)
{
"properties": {
"npc": {
"additionalProperties": {
"description": "Additional property value",
"type": "string"
},
"properties": {
"abilities": {
"description": "Specific skills or powers the NPC possesses",
"items": {
"description": "Item in abilities array",
"type": "string"
},
"type": "array"
},
"alignment": {
"description": "The ethical or moral alignment of the NPC",
"type": "string"
},
"background": {
"description": "The background story of the NPC",
"type": "string"
},
"currentLocation": {
"description": "The current location of the NPC",
"items": {
"description": "Item in currentLocation array",
"type": "string"
},
"type": "array"
},
"description": {
"description": "A detailed description of the NPC",
"type": "string"
},
"gender": {
"description": "NPC's gender",
"type": "string"
},
"importance": {
"description": "The importance of the NPC in the story or world",
"type": "string"
},
"money": {
"description": "Currency or wealth the NPC holds",
"type": "string"
},
"motivation": {
"description": "The driving purpose or goals of the NPC",
"type": "string"
},
"name": {
"description": "NPC's name",
"type": "string"
},
"origin": {
"description": "The origin location of the NPC",
"items": {
"description": "Item in origin array",
"type": "string"
},
"type": "array"
},
"race": {
"description": "NPC's race",
"type": "string"
},
"reputation": {
"description": "How the NPC is perceived by others",
"type": "string"
},
"role": {
"description": "NPC's role or occupation",
"type": "string"
},
"secret": {
"description": "A hidden detail about the NPC",
"type": "string"
},
"status": {
"description": "NPC's current status",
"type": "string"
},
"traits": {
"description": "Unique traits or characteristics of the NPC",
"items": {
"description": "Item in traits array",
"type": "string"
},
"type": "array"
}
},
"required": [
"name",
"role",
"status",
"currentLocation",
"description"
],
"type": "object"
}
},
"required": [
"npc"
],
"type": "object"
}