Interface McpServerSetToolOutputFormattingAction
- All Superinterfaces:
McpServerUpdateAction
Sets the output formatting applied to tool responses.
Example to create an instance using the builder pattern
McpServerSetToolOutputFormattingAction mcpServerSetToolOutputFormattingAction = McpServerSetToolOutputFormattingAction.builder()
.build()
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringdiscriminator value for McpServerSetToolOutputFormattingAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder factory method for McpServerSetToolOutputFormattingActioncreate builder for McpServerSetToolOutputFormattingAction instancecopyDeep()factory method to create a deep copy of McpServerSetToolOutputFormattingActionValue to set.of()factory methodof(McpServerSetToolOutputFormattingAction template) factory method to create a shallow copy McpServerSetToolOutputFormattingActionvoidsetToolOutputFormatting(McpServerToolOutputFormatting toolOutputFormatting) Value to set.static tools.jackson.core.type.TypeReference<McpServerSetToolOutputFormattingAction>gives a TypeReference for usage with Jackson DataBinddefault <T> TwithMcpServerSetToolOutputFormattingAction(Function<McpServerSetToolOutputFormattingAction, T> helper) accessor map functionMethods inherited from interface com.commercetools.api.models.mcp_server.McpServerUpdateAction
getAction, withMcpServerUpdateAction
-
Field Details
-
SET_TOOL_OUTPUT_FORMATTING
discriminator value for McpServerSetToolOutputFormattingAction- See Also:
-
-
Method Details
-
getToolOutputFormatting
McpServerToolOutputFormatting getToolOutputFormatting()Value to set. If absent, the existing formatting is removed.
- Returns:
- toolOutputFormatting
-
setToolOutputFormatting
Value to set. If absent, the existing formatting is removed.
- Parameters:
toolOutputFormatting- value to be set
-
of
factory method- Returns:
- instance of McpServerSetToolOutputFormattingAction
-
of
factory method to create a shallow copy McpServerSetToolOutputFormattingAction- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
McpServerSetToolOutputFormattingAction copyDeep()- Specified by:
copyDeepin interfaceMcpServerUpdateAction
-
deepCopy
@Nullable static McpServerSetToolOutputFormattingAction deepCopy(@Nullable McpServerSetToolOutputFormattingAction template) factory method to create a deep copy of McpServerSetToolOutputFormattingAction- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for McpServerSetToolOutputFormattingAction- Returns:
- builder
-
builder
static McpServerSetToolOutputFormattingActionBuilder builder(McpServerSetToolOutputFormattingAction template) create builder for McpServerSetToolOutputFormattingAction instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withMcpServerSetToolOutputFormattingAction
default <T> T withMcpServerSetToolOutputFormattingAction(Function<McpServerSetToolOutputFormattingAction, T> helper) accessor map function- Type Parameters:
T- mapped type- Parameters:
helper- function to map the object- Returns:
- mapped value
-
typeReference
static tools.jackson.core.type.TypeReference<McpServerSetToolOutputFormattingAction> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-