Function nemo_relay_tool_request_intercepts
Function nemo_relay_tool_request_intercepts
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_tool_request_intercepts(
name: *const c_char,
args_json: *const c_char,
out: *mut *mut c_char,
) -> NemoRelayStatus
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 withnemo_relay_string_free).
Returns
Returns NemoRelayStatus::Ok on success and writes the transformed JSON string to out.
Safety
All pointers must be valid. out must be non-null.