Files
developer-roadmap/roadmaps/claude-code/content/hook-inputs--outputs@Gwsh4g1SxI2hJcS84p9it.md
T
Arik Chakma 274082fd77 feat: clean roadmap content and sync scripts (#10181)
* refactor: clean to roadmap content

* refactor: move shared helpers into scripts/lib
2026-07-28 05:45:17 +06:00

597 B

Hook Inputs & Outputs

Hooks communicate via a standardized JSON interface: Inputs are passed to the hook via stdin, and Outputs are returned via stdout to influence the agent's next move. The input payload typically includes a context object containing session metadata and event-specific data, such as the tool name and its arguments (e.g., the exact code being written or command being run). To respond, your hook must return a JSON object.

Visit the following resources to learn more: