Documentation
¶
Overview ¶
Package toolkit provides shared types for toolkit implementations and the platform layer. This package has zero internal dependencies to avoid import cycles between pkg/registry (which imports toolkit implementations) and the toolkit implementations themselves.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConnectionDetail ¶
ConnectionDetail provides information about a single connection within a toolkit.
type ConnectionLister ¶
type ConnectionLister interface {
ListConnections() []ConnectionDetail
}
ConnectionLister is an optional interface for toolkits that manage multiple connections internally. Toolkits implementing this interface expose all their connections for discovery via the list_connections tool.
type ConnectionManager ¶ added in v1.48.0
type ConnectionManager interface {
AddConnection(name string, config map[string]any) error
RemoveConnection(name string) error
HasConnection(name string) bool
}
ConnectionManager is an optional interface for toolkits that support adding and removing backend connections at runtime without restart. Used by the admin API to make DB-managed connections live immediately.