Function nemo_relay_plugin_context_register_tool_sanitize_request_guardrail
Function nemo_relay_plugin_context_register_tool_sanitize_request_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_plugin_context_register_tool_sanitize_request_guardrail(
ctx: *mut FfiPluginContext,
name: *const c_char,
priority: i32,
cb: NemoRelayToolSanitizeCb,
user_data: *mut c_void,
free_fn: NemoRelayFreeFn,
) -> NemoRelayStatus
Register a tool sanitize-request guardrail into the plugin registration context.
Safety
ctx and name must be valid pointers and the callback must remain valid for the duration of the plugin registration lifetime.