builtin

package
v1.2.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 11, 2025 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCommandTool

func NewCommandTool() types.Tool

func NewEmailTool

func NewEmailTool(cfg *email.Config) types.Tool

func NewFileTool

func NewFileTool() types.Tool

func NewMathTool added in v1.2.1

func NewMathTool() types.Tool

func NewPingTool added in v1.2.1

func NewPingTool() types.Tool

func NewSSHTool

func NewSSHTool() types.Tool

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 (t *EmailTool) Description() string

func (*EmailTool) Execute

func (t *EmailTool) Execute(input map[string]interface{}) (interface{}, error)

func (*EmailTool) Metadata

func (t *EmailTool) Metadata() types.ToolMetadata

func (*EmailTool) Name

func (t *EmailTool) Name() string

func (*EmailTool) Schema

func (t *EmailTool) Schema() map[string]interface{}

type FileTool

type FileTool struct {
	// contains filtered or unexported fields
}

func (*FileTool) Description

func (t *FileTool) Description() string

func (*FileTool) Execute

func (t *FileTool) Execute(input map[string]interface{}) (interface{}, error)

func (*FileTool) Metadata

func (t *FileTool) Metadata() types.ToolMetadata

func (*FileTool) Name

func (t *FileTool) Name() string

func (*FileTool) Schema

func (t *FileTool) Schema() map[string]interface{}

type MathTool added in v1.2.1

type MathTool struct {
	// contains filtered or unexported fields
}

func (*MathTool) Description added in v1.2.1

func (t *MathTool) Description() string

func (*MathTool) Execute added in v1.2.1

func (t *MathTool) Execute(input map[string]interface{}) (interface{}, error)

func (*MathTool) Metadata added in v1.2.1

func (t *MathTool) Metadata() types.ToolMetadata

func (*MathTool) Name added in v1.2.1

func (t *MathTool) Name() string

func (*MathTool) Schema added in v1.2.1

func (t *MathTool) Schema() map[string]interface{}

type PingTool added in v1.2.1

type PingTool struct{}

func (*PingTool) Description added in v1.2.1

func (t *PingTool) Description() string

func (*PingTool) Execute added in v1.2.1

func (t *PingTool) Execute(input map[string]interface{}) (interface{}, error)

func (*PingTool) Metadata added in v1.2.1

func (t *PingTool) Metadata() types.ToolMetadata

func (*PingTool) Name added in v1.2.1

func (t *PingTool) Name() string

func (*PingTool) Schema added in v1.2.1

func (t *PingTool) Schema() map[string]interface{}

type SSHTool

type SSHTool struct{}

func (*SSHTool) Description

func (t *SSHTool) Description() string

func (*SSHTool) Execute

func (t *SSHTool) Execute(input map[string]interface{}) (interface{}, error)

func (*SSHTool) Metadata

func (t *SSHTool) Metadata() types.ToolMetadata

func (*SSHTool) Name

func (t *SSHTool) Name() string

func (*SSHTool) Schema

func (t *SSHTool) Schema() map[string]interface{}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL