/** * Skill Tools * * Three tools exposed to agents for interacting with skills: * - load_skill: Load a skill's full instructions * - load_skill_reference: Read a reference file from a skill * - execute_skill_script: Execute a script from a skill * * @module */ import type { Tool, ToolExecutionContext } from "../tool/index.js"; import type { SkillScriptExecutor } from "./types.js"; type SkillSelectorToolOptions = { resolveAllowedSkillIds?: (context: ToolExecutionContext | undefined) => readonly string[]; }; /** * Create the load_skill tool. * Loads a skill's full instructions, available references, and scripts. */ export declare function createLoadSkillTool(options?: SkillSelectorToolOptions): Tool; /** * Create the load_skill_reference tool. * Reads a reference file from a skill's references/, resources/, or assets/ directory. */ export declare function createLoadSkillReferenceTool(options?: SkillSelectorToolOptions): Tool; /** * Create the execute_skill_script tool. * Executes a script from a skill's scripts/ directory. */ export declare function createExecuteSkillScriptTool(options?: { executor?: SkillScriptExecutor; } & SkillSelectorToolOptions): Tool; export {}; //# sourceMappingURL=tools.d.ts.map