Create dnd5e NPC
foundry_create_creatureCreate D&D 5e NPC creatures in Foundry VTT from a simple schema, returning the new actor's UUID and document.
Instructions
Build a dnd5e 5th-edition NPC actor from a friendly schema and create it in Foundry. Returns the new actor UUID and document. Only available when the connected world is dnd5e. ⚠️ Attack schema targets dnd5e v5.2.2 activities model — verify against a live NPC if attacks look wrong.
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": "<name>",
"size": "<size>",
"type": "<type>",
"cr": "<cr>",
"ac": "<ac>",
"hp": "<hp>",
"abilities": "<abilities>"
},
"name": "foundry_create_creature"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ac | Yes | Armor class (flat/natural) | |
| cr | Yes | Challenge rating, e.g. 0.25 or 6 | |
| hp | Yes | ||
| name | Yes | NPC name | |
| size | Yes | tiny|sm|med|lg|huge|grg | |
| type | Yes | Creature type, e.g. "beast", "monstrosity", "humanoid" | |
| folder | No | Folder UUID to file into | |
| senses | No | ||
| speeds | No | ||
| userId | No | Override the default userId. Omit for GM-level access. | |
| attacks | No | ||
| clientId | No | Override the default clientId (which connected world to target) | |
| features | No | ||
| abilities | Yes | ||
| alignment | No | e.g. "Chaotic Evil" | |
| biography | No | ||
| languages | No |