chat-send
Send a message to the Foundry chat log: narration, NPC dialogue, combat descriptions, out-of-character talk — players watching Foundry only see what is posted here. HTML is supported. actorId speaks as an NPC (portrait); flavor is a subtitle ("Narration", "The Tavern"). Document links: @UUID[Actor.actorId]{Name}, @UUID[Item.itemId]{Sword}, @UUID[JournalEntry.journalId]{Quest}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | ic = in character, ooc = out of character, emote = action. | |
| flavor | No | Subheading above the message. | |
| actorId | No | Actor ID (from actor-list or actor-filter) to speak as: portrait and name. | |
| content | Yes | Message content (HTML allowed), not empty. | |
| speaker | No | Sender display name (default "Gamemaster"); actorId wins. | |
| whisperTo | No | User IDs to whisper to (visible to them and the GM). |