Skip to content

Disable Message Node

Vitor Lima edited this page Mar 19, 2026 · 1 revision

The Disable Message node marks messages as disabled — they stay visible in the chat but are excluded from the AI's context. This is a softer alternative to deleting messages: the content is preserved but the AI won't see it.

Inputs

Input Type Required Description
Message IDs String No A single message ID or a JSON array of IDs to disable.
Chat History Message List No A message list (from a Chat History node) — all messages in the list will be disabled.
Participant ID String No Narrow the operation to messages from a specific participant.

Outputs

This node has no outputs.

Configuration

Click the settings icon to configure:

  • Node Name — A label for this node.
  • Disable Mode:
    • All — Disable all messages matching the filters.
    • Last N — Disable only the last N matching messages.
  • Count (when "Last N" is selected) — How many messages to disable.
  • Sender Filter — Which messages to target:
    • Any — All message types.
    • User — Only user messages.
    • Character — Only character messages (excludes agent-generated ones).
    • Agent — Only messages created by agents.

How It Decides What to Disable

Same priority system as the Delete Message node:

  1. Chat History input — If connected, those exact messages are disabled.
  2. Message IDs input — If provided, those specific messages are disabled.
  3. Config filters — If neither input is connected, uses the configured mode, count, and sender filter. A connected Participant ID further narrows results.

When to Use This vs. Delete Message

  • Disable when you want to preserve the message history but prevent old content from using up the AI's context window. The user can still see and re-enable them.
  • Delete when you want to permanently remove messages and free up space in the chat.

Tips

  • Great for context management — disable older messages to keep the AI focused on recent conversation without losing history.
  • Disabled messages appear dimmed in the chat, so the user knows they're excluded.
  • You can manually re-enable disabled messages from the chat interface.

Clone this wiki locally