#jq
1 articles
-
Claude Code hook input and output, the JSON on stdin and what exit codes 0, 2 and everything else do
Command hooks read JSON from stdin and answer with an exit code. The fields every event includes, the extras per event, jq examples, what exit 2 does per event, and JSON output.