Skip to main content

classify

Function classify 

Source
pub fn classify(tool: &str, input: &Value) -> Option<Steer>
Expand description

Classify one tool call — its tool_name and tool_input object — into the Steer that serves it, or None to allow. The Bash command is classified by analyze; the harness’s own Grep / Glob / Read calls are steered from their structured fields. Shared by process and log_record; an unhandled tool or a missing field yields None.