Documentation
¶
Overview ¶
Package todo provides LLM tools for managing a todo list.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Create ¶
Create implements the TodoCreate tool.
func (*Create) Parallel ¶
Parallel returns false because TodoCreate mutates the shared todo list without synchronization.
func (*Create) Sandboxable ¶
Sandboxable returns false as todo tools manage in-memory state.
type CreateInput ¶
type CreateInput struct {
Summary string `json:"summary,omitempty" jsonschema:"description=Executive summary describing the overall goal"`
Items []CreateItemInput `json:"items,omitempty" jsonschema:"description=List of tasks to create" validate:"omitempty,dive"`
}
CreateInput defines the parameters for the TodoCreate tool.
type CreateItemInput ¶
type CreateItemInput struct {
Content string `json:"content" jsonschema:"required,description=Brief description of the task" validate:"required"`
}
CreateItemInput defines a single todo item for creation.
type List ¶
List implements the TodoList tool.
func (*List) Sandboxable ¶
Sandboxable returns false as todo tools manage in-memory state.
type Progress ¶
Progress implements the TodoProgress tool.
func NewProgress ¶
NewProgress creates a new TodoProgress tool with the given list.
func (*Progress) Parallel ¶
Parallel returns false because TodoProgress mutates the shared todo list without synchronization.
func (*Progress) Sandboxable ¶
Sandboxable returns false as todo tools manage in-memory state.
type ProgressInput ¶
type ProgressInput struct {
Updates []ProgressUpdateInput `json:"updates" jsonschema:"required,description=List of status updates" validate:"required,min=1,dive"`
}
ProgressInput defines the parameters for the TodoProgress tool.
type ProgressUpdateInput ¶
type ProgressUpdateInput struct {
Index int `` /* 142-byte string literal not displayed */
Status string `` /* 172-byte string literal not displayed */
}
ProgressUpdateInput defines a single status update.