pub type NemoRelayNativeToolExecutionCb = unsafe extern "C" fn(user_data: *mut c_void, name: *const NemoRelayNativeString, args_json: *const NemoRelayNativeString, next_fn: NemoRelayNativeToolNextFn, next_ctx: *mut c_void, out_outcome_json: *mut *mut NemoRelayNativeString) -> NemoRelayStatus;Expand description
Native tool execution intercept callback.
A successful callback must set out_outcome_json to canonical
ToolExecutionInterceptOutcome JSON allocated through the host. The
next_ctx capability is valid only while this callback is active and must
not be retained.