Versions in this module Expand all Collapse all v1 v1.0.0 Apr 19, 2026 Changes in this version + func DefaultErrorClassifier(err error) error + func Permanent(err error) error + type Config struct + ErrPolicy ErrorPolicy + OnRetry func(attempt uint64, err error) + Retry RetryPolicy + type ErrorClassifier func(err error) error + type ErrorPolicy interface + Classify func(err error) error + type Option func(*Config) + func DefaultOptions() []Option + func WithClassifier(clf ErrorClassifier) Option + func WithErrorPolicy(p ErrorPolicy) Option + func WithMaxRetries(n uint64) Option + func WithOnRetry(fn func(attempt uint64, err error)) Option + func WithRetryPolicy(p RetryPolicy) Option + type RetryPolicy interface + MaxRetries func() uint64 + NewBackOff func() backoff.BackOff + type Tool interface + ExecuteRx func(ctx context.Context, rawArgs json.RawMessage) rxgo.Observable + func New[In any, Out any](name, description string, fn func(context.Context, In) (Out, error), ...) Tool + func Wrap(inner handler.ExecutableTool, opts ...Option) Tool Other modules containing this package github.com/v8tix/mcp-toolkit/v2