post-item-card
Post interactive dnd5e item cards with Attack, Damage, and Apply-Effects buttons for a selected actor. Roll attacks or damage to chat using the Activity system.
Instructions
Post a rich dnd5e card for an actor's item/feature/spell with WORKING buttons (Attack/Damage/Apply-Effects), or roll an attack/damage to chat. Drives the dnd5e Activity system — the only way to get interactive buttons without a module. Items with no activity return a clear reason (use send-chat-message for a plain card). 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": {
"actor": "<actor>",
"item": "<item>"
},
"name": "post-item-card"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| item | Yes | Item / feature / spell id or exact name on that actor. | |
| actor | Yes | Actor id / exact name / name-substring (or scene token id) that owns the item. | |
| action | No | use = post the usage card with its buttons (primary path); attack = roll the attack to chat; damage = roll damage to chat. attack/damage auto-targeting is degraded headless (no targets). | use |
| consume | No | Spend the item/spell resources (uses/slots). Default false = just post the card. | |
| activity | No | Optional activity id/name when the item has several (default: the first activity). | |
| critical | No | For action=damage: roll a critical (best-effort). |