task

package
v1.8.11 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewTodoTool

func NewTodoTool() types.Tool

Types

type TaskState added in v1.8.11

type TaskState string
const (
	TaskStatePending    TaskState = "pending"
	TaskStateInProgress TaskState = "in_progress"
	TaskStateCompleted  TaskState = "completed"
	TaskStateCancelled  TaskState = "cancelled"
)

type TodoTool

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

func (*TodoTool) Description

func (t *TodoTool) Description() string

func (*TodoTool) Execute

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

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