set-actor-art
Sets an actor's portrait and prototype token art from a data-relative image path. Pass an optional animated video path for the token while keeping a still portrait.
Instructions
Composition. Set an actor's portrait image, and by default its prototype token art too, from a Data-relative path. The portrait (actor.img) must be a STILL image; pass tokenImagePath to give the prototype TOKEN an animated video (.webm/.mp4) while keeping a still portrait (the JB2A-effect pattern). GM-only.
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": {
"actorIdentifier": "<actorIdentifier>",
"imagePath": "<imagePath>"
},
"name": "set-actor-art"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| imagePath | Yes | Data-relative path to the PORTRAIT image. Must be a STILL image — actor.img rejects video. Also used for the token texture unless tokenImagePath is given. | |
| applyToToken | No | Also set the prototype token texture (default true). | |
| tokenImagePath | No | Optional Data-relative path for the prototype TOKEN texture, which (unlike the portrait) accepts an animated VIDEO (.webm/.mp4/.m4v/.ogg) — e.g. a JB2A effect. Defaults to imagePath. | |
| actorIdentifier | Yes | Actor id or exact name. |