Hook events

UserPromptSubmit

Fires prior to Claude handling a submitted prompt, including turns initiated automatically by Claude Code.

Syntax

UserPromptSubmit

Type to search the reference, templates and lessons.