Class ResponseMcpCallCompleted.Builder
-
- All Implemented Interfaces:
public final class ResponseMcpCallCompleted.Builder
A builder for ResponseMcpCallCompleted.
-
-
Method Summary
-
-
Method Detail
-
eventId
final ResponseMcpCallCompleted.Builder eventId(String eventId)
The unique ID of the server event.
-
eventId
final ResponseMcpCallCompleted.Builder eventId(JsonField<String> eventId)
Sets Builder.eventId to an arbitrary JSON value.
You should usually call Builder.eventId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
itemId
final ResponseMcpCallCompleted.Builder itemId(String itemId)
The ID of the MCP tool call item.
-
itemId
final ResponseMcpCallCompleted.Builder itemId(JsonField<String> itemId)
Sets Builder.itemId to an arbitrary JSON value.
You should usually call Builder.itemId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
outputIndex
final ResponseMcpCallCompleted.Builder outputIndex(Long outputIndex)
The index of the output item in the response.
-
outputIndex
final ResponseMcpCallCompleted.Builder outputIndex(JsonField<Long> outputIndex)
Sets Builder.outputIndex to an arbitrary JSON value.
You should usually call Builder.outputIndex with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
type
final ResponseMcpCallCompleted.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("response.mcp_call.completed")
This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final ResponseMcpCallCompleted.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final ResponseMcpCallCompleted.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final ResponseMcpCallCompleted.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final ResponseMcpCallCompleted.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final ResponseMcpCallCompleted.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final ResponseMcpCallCompleted build()
Returns an immutable instance of ResponseMcpCallCompleted.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.eventId() .itemId() .outputIndex()
-
-
-
-