getter

package
v0.5.2 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2026 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Tool

type Tool struct {
	*secai.Tool
	*am.ExceptionHandler
	// contains filtered or unexported fields
}

func New

func New(agent shared.AgentBaseAPI, id, title string, getter func() (string, error)) (*Tool, error)

func (*Tool) Document

func (t *Tool) Document() *secai.Document

func (*Tool) StartState

func (t *Tool) StartState(e *am.Event)

func (*Tool) WorkingEnter

func (t *Tool) WorkingEnter(e *am.Event) bool

func (*Tool) WorkingState

func (t *Tool) WorkingState(e *am.Event)

Jump to

Keyboard shortcuts

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