/** * Skill Tools — Factory * * Creates the built-in skill tools for agents. These tools let the model * discover and read skill instructions on demand. * * Design: stateless. The `skill` tool returns the full skill instructions * in its tool result — no activation state tracking needed. Instructions * persist naturally in conversation history. If context gets compacted, * the model just calls the tool again. */ import type { WorkspaceSkills } from './types.js'; /** * Create all skill tools for a workspace with skills. * Returns an empty object if the workspace has no skills. * * Tools are added at the Agent level (like workspace tools), not inside * a processor, to avoid losing tool execute functions on serialization. */ export declare function createSkillTools(skills: WorkspaceSkills): { skill: import("../../tools").Tool<{ name: string; }, unknown, unknown, unknown, import("../../tools").ToolExecutionContext, "skill", unknown>; skill_search: import("../../tools").Tool<{ query: string; skillNames?: string[] | undefined; topK?: number | undefined; }, unknown, unknown, unknown, import("../../tools").ToolExecutionContext, "skill_search", unknown>; skill_read: import("../../tools").Tool<{ skillName: string; path: string; startLine?: number | undefined; endLine?: number | undefined; }, unknown, unknown, unknown, import("../../tools").ToolExecutionContext, "skill_read", unknown>; }; //# sourceMappingURL=tools.d.ts.map