Skip to main content

build_response

Function build_response 

Source
pub fn build_response(stdin_payload: &str) -> Value
Expand description

Build the hook response for a PreToolUse payload. Public for testability — callers in tests feed in a payload string and assert the response shape without going through stdin.