Package com.openai.models.realtime
Class McpListToolsCompleted
-
- All Implemented Interfaces:
public final class McpListToolsCompleted
Returned when listing MCP tools has completed for an item.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
McpListToolsCompleted.Builder
A builder for McpListToolsCompleted.
-
Method Summary
Modifier and Type Method Description final String
eventId()
The unique ID of the server event. final String
itemId()
The ID of the MCP list tools item. final JsonValue
_type()
The event type, must be mcp_list_tools.completed
.final JsonField<String>
_eventId()
Returns the raw JSON value of eventId. final JsonField<String>
_itemId()
Returns the raw JSON value of itemId. final Map<String, JsonValue>
_additionalProperties()
final McpListToolsCompleted.Builder
toBuilder()
final McpListToolsCompleted
validate()
final Boolean
isValid()
Boolean
equals(Object other)
Integer
hashCode()
String
toString()
final static McpListToolsCompleted.Builder
builder()
Returns a mutable builder for constructing an instance of McpListToolsCompleted. -
-
Method Detail
-
_type
final JsonValue _type()
The event type, must be
mcp_list_tools.completed
.Expected to always return the following:
JsonValue.from("mcp_list_tools.completed")
However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_eventId
final JsonField<String> _eventId()
Returns the raw JSON value of eventId.
Unlike eventId, this method doesn't throw if the JSON field has an unexpected type.
-
_itemId
final JsonField<String> _itemId()
Returns the raw JSON value of itemId.
Unlike itemId, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final McpListToolsCompleted.Builder toBuilder()
-
validate
final McpListToolsCompleted validate()
-
builder
final static McpListToolsCompleted.Builder builder()
Returns a mutable builder for constructing an instance of McpListToolsCompleted.
The following fields are required:
.eventId() .itemId()
-
-
-
-