Package com.openai.models.responses
Class ResponseMcpCallFailedEvent
-
- All Implemented Interfaces:
public final class ResponseMcpCallFailedEventEmitted when an MCP tool call has failed.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classResponseMcpCallFailedEvent.BuilderA builder for ResponseMcpCallFailedEvent.
-
Method Summary
Modifier and Type Method Description final LongsequenceNumber()The sequence number of this event. final JsonValue_type()The type of the event. final JsonField<Long>_sequenceNumber()Returns the raw JSON value of sequenceNumber. final Map<String, JsonValue>_additionalProperties()final ResponseMcpCallFailedEvent.BuildertoBuilder()final ResponseMcpCallFailedEventvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ResponseMcpCallFailedEvent.Builderbuilder()Returns a mutable builder for constructing an instance of ResponseMcpCallFailedEvent. -
-
Method Detail
-
sequenceNumber
final Long sequenceNumber()
The sequence number of this event.
-
_type
final JsonValue _type()
The type of the event. Always 'response.mcp_call.failed'.
Expected to always return the following:
JsonValue.from("response.mcp_call.failed")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_sequenceNumber
final JsonField<Long> _sequenceNumber()
Returns the raw JSON value of sequenceNumber.
Unlike sequenceNumber, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final ResponseMcpCallFailedEvent.Builder toBuilder()
-
validate
final ResponseMcpCallFailedEvent validate()
-
builder
final static ResponseMcpCallFailedEvent.Builder builder()
Returns a mutable builder for constructing an instance of ResponseMcpCallFailedEvent.
The following fields are required:
.sequenceNumber()
-
-
-
-