Documentation ¶ Index ¶ type Tool func New(agent secai.AgentApi, id, title string, getter func() (string, error)) (*Tool, error) func (t *Tool) Document() *secai.Document func (t *Tool) StartState(e *am.Event) func (t *Tool) WorkingEnter(e *am.Event) bool func (t *Tool) WorkingState(e *am.Event) 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 secai.AgentApi, 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) Source Files ¶ View all Source files getter.go Click to show internal directories. Click to hide internal directories.