Skip to main content

hook_call

Function hook_call 

Source
pub fn hook_call(input: &str) -> HookCall
Expand description

Read a hook call from the runner’s JSON, or from plain text (an argv under argv law). Fields: hook_event_name, tool_name, tool_input (its command, else every string value joined), prompt; grok’s camelCase hookEventName, sessionId and toolInput read the same.