Skip to main content

add_tools

Function add_tools 

Source
pub(crate) fn add_tools(
    builder: McpServerBuilder,
    facade: Arc<dyn SettingsFacade>,
    slot: SessionSlot,
) -> McpServerBuilder
Expand description

Attach the settings tools to an existing McpServerBuilder. Called for BOTH lead and worker sessions, unconditionally: the config is every session’s own environment.