Type Alias ListToolsFn
Source pub type ListToolsFn = unsafe extern "C" fn(*mut *mut u8, *mut usize) -> i32;
Expand description
Function signature for listing available tools
Returns a JSON array of tool definitions.
§Parameters
result_buf: Output pointer for JSON array (allocated by plugin)
result_len: Output capacity of buffer
§Returns
- 0 on success
- Non-zero error code on failure