Documentation
¶
Index ¶
- func NewCommandTool() types.Tool
- func NewEmailTool(cfg *email.Config) types.Tool
- func NewFileTool() types.Tool
- func NewMathTool() types.Tool
- func NewPingTool() types.Tool
- func NewSSHTool() types.Tool
- func NewTimeTool() types.Tool
- type CommandTool
- type EmailTool
- type FileTool
- type MathTool
- type PingTool
- type SSHTool
- type TimeTool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCommandTool ¶
func NewFileTool ¶
func NewMathTool ¶ added in v1.2.1
func NewPingTool ¶ added in v1.2.1
func NewSSHTool ¶
func NewTimeTool ¶ added in v1.4.0
Types ¶
type CommandTool ¶
type CommandTool struct{}
func (*CommandTool) Description ¶
func (t *CommandTool) Description() string
func (*CommandTool) Execute ¶
func (t *CommandTool) Execute(input map[string]interface{}) (interface{}, error)
func (*CommandTool) Metadata ¶
func (t *CommandTool) Metadata() types.ToolMetadata
func (*CommandTool) Name ¶
func (t *CommandTool) Name() string
func (*CommandTool) Schema ¶
func (t *CommandTool) Schema() map[string]interface{}
type EmailTool ¶
type EmailTool struct {
// contains filtered or unexported fields
}
func (*EmailTool) Description ¶
func (*EmailTool) Metadata ¶
func (t *EmailTool) Metadata() types.ToolMetadata
type FileTool ¶
type FileTool struct {
// contains filtered or unexported fields
}
func (*FileTool) Description ¶
func (*FileTool) Metadata ¶
func (t *FileTool) Metadata() types.ToolMetadata
type MathTool ¶ added in v1.2.1
type MathTool struct {
// contains filtered or unexported fields
}
func (*MathTool) Description ¶ added in v1.2.1
func (*MathTool) Metadata ¶ added in v1.2.1
func (t *MathTool) Metadata() types.ToolMetadata
type PingTool ¶ added in v1.2.1
type PingTool struct{}
func (*PingTool) Description ¶ added in v1.2.1
func (*PingTool) Metadata ¶ added in v1.2.1
func (t *PingTool) Metadata() types.ToolMetadata
type SSHTool ¶
type SSHTool struct{}
func (*SSHTool) Description ¶
func (*SSHTool) Metadata ¶
func (t *SSHTool) Metadata() types.ToolMetadata
Click to show internal directories.
Click to hide internal directories.