> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.nvidia.com/nemo/relay/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.nvidia.com/nemo/relay/_mcp/server.

# Function scope_register_llm_request_intercept

> Register a scope-local LLM request intercept. Request intercepts can rewrite or annotate LLM requests inside the owning scope.

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

<pre />

Register a scope-local LLM request intercept. Request intercepts can rewrite or annotate LLM requests inside the owning scope.

## Parameters

* `scope_uuid`: UUID of the active scope that owns the middleware.
* `name`: Unique middleware name within that scope.
* `priority`: Lower values run earlier in the chain.
* `break_chain`: Whether the intercept should stop later request intercepts after it returns.
* `callable`: Intercept callback stored under `name`.

## Returns

A [`Result`](/reference/api/rust-library-reference/nemo-relay/error/type-result) that is `Ok(())` when the intercept was registered.

## Errors

Returns [`FlowError::NotFound`](/reference/api/rust-library-reference/nemo-relay/error/enum-flowerror) when the scope is not active, [`FlowError::AlreadyExists`](/reference/api/rust-library-reference/nemo-relay/error/enum-flowerror) when the name is already in use on that scope, or an internal error if the runtime owner check fails.