Versions in this module Expand all Collapse all v1 v1.86.0 Jun 23, 2026 Changes in this version + const AttrGenAIOperationName + const AttrGenAIPromptName + const AttrGenAIToolName + const AttrJSONRPCProtocolVersion + const AttrJSONRPCRequestID + const AttrMethodName + const AttrProtocolVersion + const AttrRPCResponseStatusCode + const AttrResourceURI + const AttrSessionID + const MethodCompletionComplete + const MethodElicitationCreate + const MethodInitialize + const MethodLoggingSetLevel + const MethodPing + const MethodPromptsGet + const MethodPromptsList + const MethodResourcesList + const MethodResourcesRead + const MethodResourcesSubscribe + const MethodResourcesTemplates + const MethodResourcesUnsub + const MethodRootsList + const MethodSamplingCreate + const MethodToolsCall + const MethodToolsList + const OperationExecuteTool + func ClassifyError(err error) string + func ConversationIDFromBaggage(ctx context.Context) string + func EnsureMeta(m map[string]any) map[string]any + func ExtractMeta(ctx context.Context, meta map[string]any) context.Context + func InjectMeta(ctx context.Context, meta map[string]any) + type CallOptions struct + JSONRPCRequestID string + Method string + PromptName string + ProtocolVersion string + ResourceURI string + ServerAddress string + ServerPort int + SessionID string + Target string + ToolName string + type Span struct + func StartClient(ctx context.Context, opts CallOptions) (context.Context, *Span) + func StartServer(ctx context.Context, opts CallOptions) (context.Context, *Span) + func (s *Span) End() + func (s *Span) RecordError(err error, errType string) + func (s *Span) SetAttributes(attrs ...attribute.KeyValue)