Versions in this module Expand all Collapse all v0 v0.4.6 Oct 20, 2026 v0.4.5 Oct 16, 2026 Changes in this version + const BuiltinSource + type DuplicateNameError struct + Name string + SourceA string + SourceB string + func (e *DuplicateNameError) Error() string + type Metadata struct + Description string + Noncredential bool + Parameters map[string]any + ReadOnly bool + type Registry struct + func NewRegistry() *Registry + func (r *Registry) List() []Tool + func (r *Registry) Lookup(name string) (Tool, bool) + func (r *Registry) Register(source string, t Tool) error + type Result struct + DisplayPatch string + Duration time.Duration + ExitCode int + ModelContextImage string + Stderr []byte + Stdout []byte + type Tool interface + Advertise func() Metadata + Invoke func(ctx context.Context, args map[string]any) (Result, error) + Name func() string + SubjectKind func() string