get_npc_context
Retrieve relationship data and conversation history to generate accurate NPC dialogue prompts for RPG sessions, maintaining context across interactions.
Instructions
Get relationship + conversation history for LLM NPC dialogue prompts.
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": {
"characterId": "<characterId>",
"npcId": "<npcId>"
},
"name": "get_npc_context"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| characterId | Yes | ID of the player character | |
| npcId | Yes | ID of the NPC | |
| memoryLimit | No | Maximum number of memories to include | |
| sessionId | No |