Skip to main content

render

Function render 

Source
pub fn render(
    catalog: &ToolCatalog,
    core: &HashSet<String>,
    activatable: impl Fn(&CapabilityRecord) -> bool,
) -> Option<String>
Expand description

Render the catalog of activatable tools that are not in core, or None when there are none. activatable decides trust (the same check activate_tools applies); core holds the session core’s tool ids.