Optional ReadonlyeventThe hook event. Default "PostToolUse" (the react tier's event).
Optional ReadonlyextraExtra top-level event fields.
Optional ReadonlyinputExtra tool_input fields (old_string, content, …).
Optional ReadonlyrootThe project root the absolute spelling is built from, and the value put in
each event's cwd. Defaults to $CLAUDE_PROJECT_DIR, then process.cwd()
— a TEST may read its own cwd, the RUNTIME may not (see projectRootOf).
Optional ReadonlytoolThe tool. Default "Edit".
Options for fileToolEvents.