Versions in this module Expand all Collapse all v1 v1.139.1 Oct 2, 2026 v1.139.0 Oct 2, 2026 Changes in this version + const TextResultKey + type RefusalError struct + Code string + RetryAfter time.Duration + Text string + func (r *RefusalError) Error() string + type SessionCaller struct + func Connect(ctx context.Context, server *mcp.Server, label string) (*SessionCaller, func(), error) + func (c *SessionCaller) CallTool(ctx context.Context, name string, args map[string]any) (map[string]any, error) + func (c *SessionCaller) DeclaresReadOnly(ctx context.Context, name string) (readOnly, known bool)