Function deregister_tool_sanitize_request_guardrail

View as Markdown

Generated from cargo doc --no-deps -p nemo-relay -p nemo-relay-adaptive -p nemo-relay-ffi.

pub fn deregister_tool_sanitize_request_guardrail(name: &str) -> Result<bool>

Deregister a global tool sanitize-request guardrail.

Parameters

  • name: Global middleware name to remove.

Returns

A Result containing true when a guardrail was removed and false when the name was not registered.

Errors

Returns an internal error if the runtime state cannot be updated.