Type Alias Nemo Relay Tool Exec Cb

View as Markdown

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

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

Callback for tool execution (default callable). Receives arguments as JSON, returns result as JSON. The returned string must be allocated with malloc or equivalent.