Skip to main content

build_standard_tools

Function build_standard_tools 

Source
pub fn build_standard_tools(
    workspace: &Path,
    skills: &[Skill],
    shell_timeout_secs: u64,
) -> ToolRegistry
Expand description

Build the standard tool registry for an agent rooted at workspace.

This is the canonical tool set shared by all entry points (CLI, TUI, HTTP server, etc.). Entry points may register additional tools on top of this baseline (e.g. ScheduleWakeup for loop mode, SubAgent when enabled).

Skills are opt-in: pass a non-empty skills slice to register load_skill and run_skill_script. Pass &[] to skip.