get_npc
Retrieve NPC details for D&D campaigns, filtering sensitive DM-only information based on player permissions to maintain game integrity.
Instructions
Get NPC information.
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": {
"name_or_id": "<name_or_id>"
},
"name": "get_npc"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name_or_id | Yes | NPC name or ID | |
| player_id | No | Caller's player ID for output filtering. When provided, DM-only fields (bio, notes, stats, relationships) are stripped for non-DM callers. |