Versions in this module Expand all Collapse all v0 v0.2.0 Feb 4, 2026 Changes in this version + var ErrInvalidArgument = errors.New("invalid argument") + func New[TArgs, TResults any](cfg Config, handler Func[TArgs, TResults]) (tool.Tool, error) + type Config struct + Description string + InputSchema *jsonschema.Schema + IsLongRunning bool + Name string + OutputSchema *jsonschema.Schema + RequireConfirmation bool + RequireConfirmationProvider any + type Func func(tool.Context, TArgs) (TResults, error)