-
-
Notifications
You must be signed in to change notification settings - Fork 5
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.
| 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. |
This node has no outputs.
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.
Same priority system as the Delete Message node:
- Chat History input — If connected, those exact messages are disabled.
- Message IDs input — If provided, those specific messages are disabled.
- Config filters — If neither input is connected, uses the configured mode, count, and sender filter. A connected Participant ID further narrows results.
- 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.
- 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.