Package com.openai.models.realtime
Class RealtimeMcpListTools.Tool
-
- All Implemented Interfaces:
public final class RealtimeMcpListTools.ToolA tool available on an MCP server.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classRealtimeMcpListTools.Tool.BuilderA builder for Tool.
-
Method Summary
Modifier and Type Method Description final JsonValue_inputSchema()The JSON schema describing the tool's input. final Stringname()The name of the tool. final JsonValue_annotations()Additional annotations about the tool. final Optional<String>description()The description of the tool. final JsonField<String>_name()Returns the raw JSON value of name. final JsonField<String>_description()Returns the raw JSON value of description. final Map<String, JsonValue>_additionalProperties()final RealtimeMcpListTools.Tool.BuildertoBuilder()final RealtimeMcpListTools.Toolvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static RealtimeMcpListTools.Tool.Builderbuilder()Returns a mutable builder for constructing an instance of Tool. -
-
Method Detail
-
_inputSchema
final JsonValue _inputSchema()
The JSON schema describing the tool's input.
-
_annotations
final JsonValue _annotations()
Additional annotations about the tool.
-
description
final Optional<String> description()
The description of the tool.
-
_name
final JsonField<String> _name()
Returns the raw JSON value of name.
Unlike name, this method doesn't throw if the JSON field has an unexpected type.
-
_description
final JsonField<String> _description()
Returns the raw JSON value of description.
Unlike description, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final RealtimeMcpListTools.Tool.Builder toBuilder()
-
validate
final RealtimeMcpListTools.Tool validate()
-
builder
final static RealtimeMcpListTools.Tool.Builder builder()
Returns a mutable builder for constructing an instance of Tool.
The following fields are required:
.inputSchema() .name()
-
-
-
-