Embedded documents
embeddedManages documents inside Foundry VTT parents: list, create, update, or delete walls, tokens, effects, pages, and table results using parent IDs and entry _id values.
Instructions
Lists, creates, updates or deletes documents inside another: Wall, Token, AmbientLight, AmbientSound, Tile, Drawing, Note on a Scene; Item or ActiveEffect on an Actor; JournalEntryPage on a JournalEntry; TableResult on a RollTable. Updates need each entry's _id. New tokens may be {actorId|actorName, x, y}.
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": {
"parentType": "<parentType>",
"embedded": "<embedded>",
"action": "<action>"
},
"name": "embedded"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | No | ||
| data | No | ||
| action | Yes | ||
| dryRun | No | Report what would happen without changing anything | |
| embedded | Yes | ||
| parentId | No | ||
| parentName | No | ||
| parentType | Yes | Document type: Actor, Item, Scene, JournalEntry, Macro, RollTable, Playlist, Cards, Folder, ChatMessage, Combat, User |