Skip to main content

register

Function register 

Source
pub fn register(lua: &Lua) -> LuaResult<()>
Expand description

Register tool.* Lua API.

Tool registry is maintained in Lua globals (_TOOL_REGISTRY table). Rust provides thin helpers: register/call/list/schema.