Skip to main content

evaluate_tool_args

Function evaluate_tool_args 

Source
pub fn evaluate_tool_args(
    policy: &Value,
    tool_name: &str,
    tool_args: &Value,
) -> Verdict
Expand description

Evaluates tool arguments against a policy (JSON/YAML Value). The policy is expected to be a map of tool_name -> schema.