pub fn skills_to_tools(
skills: &[Skill],
security: Arc<SecurityPolicy>,
) -> Vec<Box<dyn Tool>>Expand description
Convert skill tools into callable Tool trait objects.
Each skill’s [[tools]] entries are converted to either SkillShellTool
(for shell/script kinds), SkillHttpTool (for http kind), or
SkillBuiltinTool (for builtin kind), enabling them to appear as
first-class callable tool specs rather than only as XML in the system
prompt.
The builtin kind requires the unfiltered tool registry. Use
skills_to_tools_with_context to register that kind.