Skip to main content

evaluate

Function evaluate 

Source
pub fn evaluate(request_json: String) -> Result<String, ChioMobileError>
Expand description

Evaluate a tool-call request against a capability token.

Input: a JSON object matching [EvaluateRequest]. Output: a JSON object describing the verdict. Returns an error only when the inputs cannot be parsed; a kernel-core Deny verdict is encoded in the JSON response so callers can render the reason without unwrapping an exception.