system

package
v1.8.2 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewHTTPTool

func NewHTTPTool() types.Tool

func NewTimeTool

func NewTimeTool() types.Tool

Types

type HTTPTool

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

func (*HTTPTool) Description

func (t *HTTPTool) Description() string

func (*HTTPTool) Execute

func (t *HTTPTool) Execute(ctx context.Context, input map[string]interface{}) (interface{}, error)

func (*HTTPTool) Metadata

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

func (*HTTPTool) Name

func (t *HTTPTool) Name() string

func (*HTTPTool) Schema

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

type TimeTool

type TimeTool struct{}

func (*TimeTool) Description

func (t *TimeTool) Description() string

func (*TimeTool) Execute

func (t *TimeTool) Execute(ctx context.Context, input map[string]interface{}) (interface{}, error)

func (*TimeTool) Metadata

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

func (*TimeTool) Name

func (t *TimeTool) Name() string

func (*TimeTool) Schema

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

Jump to

Keyboard shortcuts

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