Skip to main content

Variable: TOOL_REGISTRY

const TOOL_REGISTRY: readonly AnyTool[] = TOOLS

Defined in: src/server/ai/assistant/registry.ts:12

The tool registry + permission filtering (spec R2 ยง3). visibleTo is the single source of truth for which tools a caller may see/run; catalogFor (what the model is offered) and resolveTool (what the executor will run) both apply it, so the model can never name a tool it isn't permitted to call.