Claude Code PostToolUse hook output not showing: use JSON
A PostToolUse hook that prints plain text is ignored by Claude. Return additionalContext JSON, or exit 2 with stderr, and Claude reads the message.
A PostToolUse hook that prints plain text is ignored by Claude. Return additionalContext JSON, or exit 2 with stderr, and Claude reads the message.