Class McpTextContent.Builder
java.lang.Object
com.soklet.McpTextContent.Builder
- Enclosing class:
McpTextContent
Mutable builder for immutable
McpTextContent.- Author:
- Mark Allen
-
Method Summary
Modifier and TypeMethodDescriptionannotations(@NonNull McpContentAnnotations annotations) build()metadata(@NonNull McpJsonObject metadata)
-
Method Details
-
annotations
- Parameters:
annotations- content annotations- Returns:
- this builder
-
metadata
- Parameters:
metadata- protocol extension metadata- Returns:
- this builder
-
build
- Returns:
- immutable text content
-