Create actors from a compendium
create-actor-from-compendiumCopy a compendium actor into the Foundry world and optionally add its token to the active scene. Handles up to ten named copies in one request.
Instructions
Copy one actor entry of a compendium into the world, once per name, into the folder "Foundry MCP Creatures", and optionally place the copies as tokens in the active scene. Find packId and itemId with search-compendium first. At most 10 copies (and not more than the setting "maxActorsPerRequest"). The copy keeps a link to its entry, never its id; a remote token image is dropped so Foundry uses its default. Everything that could refuse, including the scene permission for addToScene, is checked before the first actor is created. The answer lists every actor with its real name, the placed tokens and every problem.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| names | Yes | Name of each new actor, in order | |
| itemId | Yes | Id of the entry inside that compendium, as search-compendium or list-compendium-entries return it | |
| packId | Yes | Id of the actor compendium, e.g. "dnd5e.monsters" | |
| quantity | No | How many copies; the number of names when left out. Missing names become the first name with a number | |
| placement | No | Where the tokens go, used with addToScene | |
| addToScene | No | Also place the new actors as tokens in the active scene |