Function scope_deregister_tool_request_intercept

View as Markdown

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

pub fn scope_deregister_tool_request_intercept(
    scope_uuid: &Uuid,
    name: &str,
) -> Result<bool>

Deregister a scope-local tool request intercept.

Parameters

  • scope_uuid: UUID of the active scope that owns the middleware.
  • name: Scope-local middleware name to remove.

Returns

A Result containing true when an intercept was removed and false when the name was not registered on that scope.

Errors

Returns FlowError::NotFound when the scope is not active or an internal error if the runtime owner check fails.