Skip to main content

decide

Function decide 

Source
pub fn decide(db: &Db, input: &Value) -> Option<String>
Expand description

Whether this Grep should be redirected, and what to say if so.

input is Claude Code’s PreToolUse payload; the pattern is tool_input.pattern. None means “no opinion — run the grep”.