Documentation
¶
Index ¶
- type MCPToolManager
- func (m *MCPToolManager) Close() error
- func (m *MCPToolManager) GetLoadedServerNames() []string
- func (m *MCPToolManager) GetTools() []tool.BaseTool
- func (m *MCPToolManager) LoadTools(ctx context.Context, config *config.Config) error
- func (m *MCPToolManager) SetModel(model model.ToolCallingChatModel)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MCPToolManager ¶
type MCPToolManager struct {
// contains filtered or unexported fields
}
MCPToolManager manages MCP tools and clients
func NewMCPToolManager ¶
func NewMCPToolManager() *MCPToolManager
NewMCPToolManager creates a new MCP tool manager
func (*MCPToolManager) GetLoadedServerNames ¶ added in v0.19.0
func (m *MCPToolManager) GetLoadedServerNames() []string
GetLoadedServerNames returns the names of successfully loaded MCP servers
func (*MCPToolManager) GetTools ¶
func (m *MCPToolManager) GetTools() []tool.BaseTool
GetTools returns all loaded tools
func (*MCPToolManager) SetModel ¶ added in v0.23.0
func (m *MCPToolManager) SetModel(model model.ToolCallingChatModel)
SetModel sets the LLM model for sampling support
Click to show internal directories.
Click to hide internal directories.