/** * staticTools — the simplest ToolProvider. Wraps a fixed Tool[] list. * * 90% case. What `agent.tools(arr)` does today, made composable. * Equivalent to passing `arr` directly EXCEPT that `staticTools(arr)` * is now a `ToolProvider` you can wrap with `gatedTools(...)` for * permission filtering or per-skill gating. * * Pattern: identity ToolProvider — no filtering, just exposes the * underlying list verbatim. * * @example * const provider = staticTools([weatherTool, lookupTool]); * // Materialize the visible list and register via .tools(...). * // Direct .toolProvider(...) wiring on the builder lands in Block A5 / v2.5+. * const visible = provider.list({ iteration: 0, identity: { conversationId: '_' } }); * const agent = Agent.create({ provider: llm, model }).tools(visible).build(); */ import type { Tool } from '../core/tools.js'; import type { ToolProvider } from './types.js'; export declare function staticTools(tools: readonly Tool[]): ToolProvider; //# sourceMappingURL=staticTools.d.ts.map