Class RealtimeMcpListTools
-
- All Implemented Interfaces:
public final class RealtimeMcpListToolsA Realtime item listing tools available on an MCP server.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classRealtimeMcpListTools.BuilderA builder for RealtimeMcpListTools.
public final classRealtimeMcpListTools.ToolA tool available on an MCP server.
-
Method Summary
Modifier and Type Method Description final StringserverLabel()The label of the MCP server. final List<RealtimeMcpListTools.Tool>tools()The tools available on the server. final JsonValue_type()The type of the item. final Optional<String>id()The unique ID of the list. final JsonField<String>_serverLabel()Returns the raw JSON value of serverLabel. final JsonField<List<RealtimeMcpListTools.Tool>>_tools()Returns the raw JSON value of tools. final JsonField<String>_id()Returns the raw JSON value of id. final Map<String, JsonValue>_additionalProperties()final RealtimeMcpListTools.BuildertoBuilder()final RealtimeMcpListToolsvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static RealtimeMcpListTools.Builderbuilder()Returns a mutable builder for constructing an instance of RealtimeMcpListTools. -
-
Method Detail
-
serverLabel
final String serverLabel()
The label of the MCP server.
-
tools
final List<RealtimeMcpListTools.Tool> tools()
The tools available on the server.
-
_type
final JsonValue _type()
The type of the item. Always
mcp_list_tools.Expected to always return the following:
JsonValue.from("mcp_list_tools")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_serverLabel
final JsonField<String> _serverLabel()
Returns the raw JSON value of serverLabel.
Unlike serverLabel, this method doesn't throw if the JSON field has an unexpected type.
-
_tools
final JsonField<List<RealtimeMcpListTools.Tool>> _tools()
Returns the raw JSON value of tools.
Unlike tools, this method doesn't throw if the JSON field has an unexpected type.
-
_id
final JsonField<String> _id()
Returns the raw JSON value of id.
Unlike id, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final RealtimeMcpListTools.Builder toBuilder()
-
validate
final RealtimeMcpListTools validate()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static RealtimeMcpListTools.Builder builder()
Returns a mutable builder for constructing an instance of RealtimeMcpListTools.
The following fields are required:
.serverLabel() .tools()
-
-
-
-