Package org.mcpjava.server.content
Interface TextContent.Builder
- All Superinterfaces:
MetaCarrier.Builder<TextContent.Builder>
- Enclosing interface:
TextContent
Builder for creating text contents
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the text contentsetAnnotations(Annotations annotations) Sets the annotations for the contentMethods inherited from interface org.mcpjava.server.MetaCarrier.Builder
putMetadata, setMetadata
-
Method Details
-
setAnnotations
Sets the annotations for the content- Parameters:
annotations- the annotations- Returns:
- this builder
-
build
TextContent build()Builds the text content- Returns:
- the new text content
-