[FEATURE] Add tool_name to PreToolUse/PostToolUse hook events
Status Closed — not planned
Maintainer reply None cached
Activity 5 comments · opened Jan 22, 2026 · closed Feb 28, 2026
Problem
Hook events for PreToolUse/PostToolUse don't include which tool is being used. To get this info, I have to parse CLAUDE_TOOL_INPUT env var.
Proposal
Add tool_name field:
{
"hook_event_type": "PreToolUse",
"tool_name": "Bash",
"session_id": "xxx"
}
Use Case
My monitoring app could show "Executing Bash" or "Edit pending":
https://github.com/usedhonda/cc-status-bar
This issue has 5 comments on GitHub. Read the full discussion on GitHub ↗