Documentation
¶
Index ¶
- type Registry
- func (r *Registry) Definitions() []llm.ToolDefinition
- func (r *Registry) Execute(ctx context.Context, name string, args map[string]interface{}) (string, error)
- func (r *Registry) GetDefinition(name string) (*llm.ToolDefinition, bool)
- func (r *Registry) InjectVirtualAgentTools(agents []*agent.Agent, domain string)
- func (r *Registry) MatchDefinition(pattern string) []*llm.ToolDefinition
- func (r *Registry) MustHaveTools(patterns []string) ([]llm.Tool, error)
- func (r *Registry) SetDebugLogger(w io.Writer)
- func (r *Registry) WithManager(m *manager.Manager) *Registry
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Registry ¶
type Registry struct {
// contains filtered or unexported fields
}
Registry bridges an individual fluxor-mcp Service instance to the generic tool.Registry interface so that callers can choose dependency injection over the global SetMCPService() singleton.
func New ¶
New creates a registry bound to the given orchestration service. The pointer must not be nil.
func (*Registry) Definitions ¶
func (r *Registry) Definitions() []llm.ToolDefinition
func (*Registry) GetDefinition ¶
func (r *Registry) GetDefinition(name string) (*llm.ToolDefinition, bool)
func (*Registry) InjectVirtualAgentTools ¶
InjectVirtualAgentTools registers synthetic tool definitions that delegate execution to another agent. It must be called once during bootstrap *after* the agent catalogue is loaded. Domain can be empty to expose all.
func (*Registry) MatchDefinition ¶
func (r *Registry) MatchDefinition(pattern string) []*llm.ToolDefinition
func (*Registry) MustHaveTools ¶
func (*Registry) SetDebugLogger ¶
Click to show internal directories.
Click to hide internal directories.