Skip to main content

create_tools_from_config

Function create_tools_from_config 

Source
pub fn create_tools_from_config(
    config: &RobitConfig,
    skill_registry: Arc<SkillRegistry>,
) -> ToolRegistry
Expand description

Create a ToolRegistry with tools filtered by config.enabled_tools.

  • If enabled_tools is not specified: all tools are registered
  • If enabled_tools is specified: only register tools in the list
  • read and load_skill are always registered (required for basic functionality)