(ctx context.Context, scope toolspkg.Scope)
| 378 | // ToolRegistry exposes registry projection and dispatch without binding API handlers to backend packages. |
| 379 | type ToolRegistry interface { |
| 380 | List(ctx context.Context, scope toolspkg.Scope) ([]toolspkg.ToolView, error) |
| 381 | Search(ctx context.Context, scope toolspkg.Scope, q toolspkg.SearchQuery) ([]toolspkg.ToolView, error) |
| 382 | Get(ctx context.Context, scope toolspkg.Scope, id toolspkg.ToolID) (toolspkg.ToolView, error) |
| 383 | Call(ctx context.Context, scope toolspkg.Scope, req toolspkg.CallRequest) (toolspkg.ToolResult, error) |
no outgoing calls