Skip to main content

tool_fn

Macro tool_fn 

Source
macro_rules! tool_fn {
    () => { ... };
}
Expand description

This is a hack that must be given as the final argument of McpServerBuilder::tool_fn when defining stateless concurrent tools. See tool_fn_mut! for the gory details.