Function nemo_relay_scope_register_tool_sanitize_response_guardrail
Function nemo_relay_scope_register_tool_sanitize_response_guardrail
Function nemo_relay_scope_register_tool_sanitize_response_guardrail
Generated from cargo doc --no-deps -p nemo-relay -p nemo-relay-adaptive -p nemo-relay-ffi.
#[unsafe(no_mangle)]pub unsafe extern "C" fn nemo_relay_scope_register_tool_sanitize_response_guardrail(
scope_uuid: *const c_char,
name: *const c_char,
priority: i32,
cb: NemoRelayToolSanitizeCb,
user_data: *mut c_void,
free_fn: NemoRelayFreeFn,
) -> NemoRelayStatus
Register a scope-local tool response sanitization guardrail.
scope_uuid: UUID of the target scope (null-terminated C string).name: Unique guardrail name.priority: Execution priority (lower runs first).cb: Sanitize callback.user_data: Opaque pointer passed to cb.free_fn: Optional destructor for user_data.scope_uuid and name must be valid C strings. cb must be a valid function pointer.