Delete tokens
delete-tokensRemoves specified tokens from the active Foundry VTT scene by their IDs; actors stay in the directory. Reports each deleted token and any IDs not found, preserving the scene if one ID is missing.
Instructions
Remove tokens from the active scene (or the scene in sceneIdentifier), by their ids only. The actors stay in the actor directory; an unlinked token loses its own values with it. When one id is not on the scene, nothing is deleted and the answer says where that id lies. The answer lists every deleted and every failed token.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tokenIds | Yes | Ids of the tokens to remove | |
| sceneIdentifier | No | Scene of the token, by id or name. Without it the scene that is active for everyone is used; every answer names the scene. |