5 pages for messagedisplay.
Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.
Intercept and control agent behavior with hooks
Claude Code CLI · in the page
agent-sdk/hooks
…mand from direct invocation or add context when a skill is typed | | `MessageDisplay` | No | Yes | An assistant message with text completes, once per message with the full message text | Redact or ref…
Agent SDK reference - TypeScript
Claude Code CLI · in the page
agent-sdk/typescript
…ove" | "InstructionsLoaded" | "CwdChanged" | "FileChanged" | "MessageDisplay"; ``` ### `HookCallback` Hook callback function type. ```typescript theme={null} type HookCallback = ( input:…
Hooks reference
Claude Code CLI · in the page
hooks
…andalone async event that runs after the session's model changes, and MessageDisplay as a display-only event that runs while assistant message text streams](https://mintcdn.com/claude-code/x7pO8l4XcvA…
Automate actions with hooks
Claude Code CLI · in the page
hooks-guide
…call | | `Notification` | When Claude Code sends a notification | | `MessageDisplay` | While assistant message text is displayed | | `SubagentStart` | When a subagent is spawned | | `SubagentStop` |…
Week 22 · May 25–29, 2026
Claude Code CLI · in the page
whats-new/2026-w22
…ntmatter to remove tools from the model while the skill is activeNew `MessageDisplay` hook event lets hooks transform or hide assistant message text as it is displayedClaude Code now switches to your…