token-create
Place a token on the scene for an actor. Coordinates are pixels (top-left corner of the grid cell): pixel = gridCoord * gridSize; scene-get gives gridSize, actor-list or actor-filter the actorId.
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": {
"actorId": "<actorId>",
"x": "<x>",
"y": "<y>"
},
"name": "token-create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | X in pixels | |
| y | Yes | Y in pixels | |
| scale | No | Token scale multiplier (default 1) | |
| hidden | No | Hide token from players | |
| actorId | Yes | Actor ID (from actor-list or actor-filter) | |
| sceneId | No | Scene ID; default the active scene | |
| rotation | No | Rotation in degrees (0-360) | |
| actorLink | No | true = shares the actor, false = independent copy (module 8.14+) | |
| elevation | No | Elevation in game units |