[Question] How to specify relative path to a tool inside the repo in hooks?
Resolved 💬 5 comments Opened Jul 23, 2025 by pmatos Closed Jan 5, 2026
The reformat tool I have in post tool use hook lives inside the repo so the hook config has a relative path that fails _unless_ claude calls it from the root of the project. Is there a variable I can use to specify the root of the project or the claude code's working directory?
This issue has 5 comments on GitHub. Read the full discussion on GitHub ↗