Skip to main content

execute_skill

Function execute_skill 

Source
pub fn execute_skill(
    skill: &LoadedSkill,
    tool_name: &str,
    arguments: &str,
    workspace: &Path,
    event_sink: &mut dyn EventSink,
    entry_point_override: Option<&str>,
) -> ToolResult
Expand description

Execute a skill tool call. Dispatches to sandbox execution. When entry_point_override is Some and skill has no entry_point, use it (e.g. 大模型根据 SKILL.md 推理出的入口).