Versions in this module Expand all Collapse all v0 v0.4.0 Jul 18, 2026 Changes in this version type Result + Images []string v0.3.0 Jul 8, 2026 Changes in this version type ToolDefinition + Group string + RevealTogether bool v0.2.0 Jul 4, 2026 Changes in this version + type DataStore interface + Delete func(ctx context.Context, collection, key string) error + Get func(ctx context.Context, collection, key string) (value []byte, ok bool, err error) + Set func(ctx context.Context, collection, key string, value []byte) error type Deps + ConfigDir string + DB DataStore v0.1.0 Jun 20, 2026 Changes in this version + func Allow(v bool) *bool + func ParametersToSchema(params []Parameter) map[string]any + type Deps struct + AgentID string + Cfg any + Host any + Spawn any + Workspace string + type HostMeta interface + Available func(cfg any) (ok bool, reason string) + Description func() string + Namespace func() string + type Parameter struct + Default any + Description string + Enum []any + Examples []any + Format string + Items string + MaxLength *int + Maximum *float64 + Metadata map[string]any + MinLength *int + Minimum *float64 + Name string + Pattern string + Required bool + Type string + type Result struct + Async bool + Err error + ForLLM string + ForUser string + IsError bool + Media []string + Silent bool + type ToolCall struct + AgentID string + Args map[string]any + Channel string + ChatID string + Ctx context.Context + Notify func(*Result) + Session string + type ToolDefinition struct + Async bool + Category string + ConfigKey string + DefaultAllow *bool + Description string + Handler ToolHandler + Hints *ToolHints + Name string + Parameters []Parameter + PrimaryOnly bool + RawSchema map[string]any + SessionScoped bool + func (d ToolDefinition) DefaultAllowed() bool + func (d ToolDefinition) Schema() map[string]any + type ToolHandler func(call *ToolCall) (*Result, error) + type ToolHints struct + Destructive *bool + Idempotent *bool + OpenWorld *bool + ReadOnly *bool + type ToolProvider interface + RegisterTools func(deps Deps) []ToolDefinition