← Bibliography

Automate workflows with hooks — Claude Code Docs

View original ↗

Note

Official Claude Code hooks documentation. 14 lifecycle events including PostToolUse, Stop, PreCompact. Hook stdin payload includes session_id, transcript_path, tool_name, tool_input, tool_response.

Citation Key

claudecode2025hooksguide