> 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 nemo_relay_tool_request_intercepts

> Run the registered tool request intercept chain on the given arguments.

Generated from `cargo doc --no-deps -p nemo-relay -p nemo-relay-adaptive -p nemo-relay-pii-redaction -p nemo-relay-ffi -p nemo-relay-types -p nemo-relay-plugin -p nemo-relay-worker-proto -p nemo-relay-worker`.

<pre />

Run the registered tool request intercept chain on the given arguments.

This helper applies only the request-intercept middleware and does not emit lifecycle events or execute the tool callback.

## Parameters

* `name`: Tool name (null-terminated C string).
* `args_json`: Tool arguments as a JSON C string.
* `out`: On success, receives the transformed JSON string (caller must free with `nemo_relay_string_free`).

## Returns

Returns [`NemoRelayStatus::Ok`](/reference/api/rust-library-reference/nemo-relay-ffi/error/enum-nemorelaystatus) on success and writes the transformed JSON string to `out`.

## Safety

All pointers must be valid. `out` must be non-null.