Toggle token condition
toggle-token-conditionSet, remove, or toggle status conditions such as prone or poisoned on a token's actor. Use condition name or ID, optional level, and read back the resulting state.
Instructions
Set or remove a condition (such as prone, poisoned, blinded) on the actor of a token. active true sets it, false removes it, and without active it toggles. conditionId is the id from get-available-conditions or the name. On a linked token the condition lands on the actor and shows on all its tokens; that also needs the actor permission. Removing takes only the effects of that condition. The state is read back. level sets a condition with levels, such as frightened 2 in Pathfinder 2e or pain level 2 in DSA5, and 0 removes it; it needs an adapter for the game system that knows the levels.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| level | No | Optional level of a condition with levels, 0 removes it; leave out for a condition without levels | |
| active | No | true to set, false to remove; leave out to toggle | |
| tokenId | Yes | Id of the token on that scene, as get-current-scene lists it. Not a name, not an actor id. | |
| conditionId | Yes | Id of the condition, or its name in any case | |
| 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. |