Class RealtimeMcpListTools.Builder
-
- All Implemented Interfaces:
public final class RealtimeMcpListTools.Builder
A builder for RealtimeMcpListTools.
-
-
Method Summary
-
-
Method Detail
-
serverLabel
final RealtimeMcpListTools.Builder serverLabel(String serverLabel)
The label of the MCP server.
-
serverLabel
final RealtimeMcpListTools.Builder serverLabel(JsonField<String> serverLabel)
Sets Builder.serverLabel to an arbitrary JSON value.
You should usually call Builder.serverLabel with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
tools
final RealtimeMcpListTools.Builder tools(List<RealtimeMcpListTools.Tool> tools)
The tools available on the server.
-
tools
final RealtimeMcpListTools.Builder tools(JsonField<List<RealtimeMcpListTools.Tool>> tools)
Sets Builder.tools to an arbitrary JSON value.
You should usually call Builder.tools with a well-typed
List<Tool>
value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addTool
final RealtimeMcpListTools.Builder addTool(RealtimeMcpListTools.Tool tool)
-
type
final RealtimeMcpListTools.Builder type(JsonValue type)
Sets the field to an arbitrary JSON value.
It is usually unnecessary to call this method because the field defaults to the following:
JsonValue.from("mcp_list_tools")
This method is primarily for setting the field to an undocumented or not yet supported value.
-
id
final RealtimeMcpListTools.Builder id(String id)
The unique ID of the list.
-
id
final RealtimeMcpListTools.Builder id(JsonField<String> id)
Sets Builder.id to an arbitrary JSON value.
You should usually call Builder.id with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final RealtimeMcpListTools.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final RealtimeMcpListTools.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final RealtimeMcpListTools.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final RealtimeMcpListTools.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final RealtimeMcpListTools.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final RealtimeMcpListTools build()
Returns an immutable instance of RealtimeMcpListTools.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.serverLabel() .tools()
-
-
-
-