II.
OutputModeChange overview
Reference · liveoutput-mode-change:claude-code-enter-plan-mode-example
output-mode-change:claude-code-enter-plan-mode-example overview
Model-initiated plan-mode entry — destination=session means the change survives the tool's turn and only restores via ExitPlanMode (or session end). prePlanMode is captured as the previous mode for restore.
Attributes
changeKind
plan-mode-enter
fromMode
default
toMode
plan
scope
session
requiresUserApproval
true
invalidatesCaches
- tool-inventory
description
Model-initiated plan-mode entry — destination=session means the change
survives the tool's turn and only restores via ExitPlanMode (or session
end). prePlanMode is captured as the previous mode for restore.
Outgoing edges
mode_change_triggered_by_tool1
- tool-descriptor:claude-code-enter-plan-mode·ToolDescriptorExitPlanMode (Claude Code Plan-mode entry tool)
Incoming edges
emitted_mode_change1