Skip to main content

execute_handler

Macro execute_handler 

Source
macro_rules! execute_handler {
    (fn $name:ident($id:ident, $params:ident, $free:ident) $body:block) => { ... };
}
Expand description

Define a tool execute callback whose call id is an ordinary borrowed str. Owned parameters still follow the host’s free_params allocation contract.