task

package
v1.8.1 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewTodoTool

func NewTodoTool() types.Tool

Types

type TodoTool

type TodoTool struct{}

func (*TodoTool) Description

func (t *TodoTool) Description() string

func (*TodoTool) Execute

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

This is another tool that might have special handling in the agent runner to update the UI.

func (*TodoTool) Metadata

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

func (*TodoTool) Name

func (t *TodoTool) Name() string

func (*TodoTool) Schema

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

Jump to

Keyboard shortcuts

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