Type Alias Nemo Relay Tool Exec Intercept Cb

View as Markdown

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

pub type NemoRelayToolExecInterceptCb = unsafe extern "C" fn(user_data: *mut c_void, args_json: *const c_char, next_fn: NemoRelayToolExecNextFn, next_ctx: *mut c_void) -> *mut c_char;

Callback for tool execution intercepts. Receives arguments as JSON plus a next callback and its context. Call next_fn(args, next_ctx) to invoke the next layer in the middleware chain, or return directly to short-circuit.