Skip to main content

build_skills_prompt_with_effective_tools

Function build_skills_prompt_with_effective_tools 

pub fn build_skills_prompt_with_effective_tools(
    skills: &[Skill],
    workspace_dir: &Path,
    mode: SkillsPromptInjectionMode,
    is_tool_available: impl Fn(&str) -> bool,
) -> String
Expand description

Render only the skills section against an assembled effective tool surface. Context-free callers should continue using crate::skills::skills_to_prompt_with_mode.