builtin

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2025 License: MIT Imports: 10 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 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 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