Class ResponseMcpCallArgumentsDoneEvent.Builder
-
- All Implemented Interfaces:
public final class ResponseMcpCallArgumentsDoneEvent.Builder
A builder for ResponseMcpCallArgumentsDoneEvent.
-
-
Method Summary
-
-
Method Detail
-
arguments
final ResponseMcpCallArgumentsDoneEvent.Builder arguments(JsonValue arguments)
The finalized arguments for the MCP tool call.
-
itemId
final ResponseMcpCallArgumentsDoneEvent.Builder itemId(String itemId)
The unique identifier of the MCP tool call item being processed.
-
itemId
final ResponseMcpCallArgumentsDoneEvent.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 ResponseMcpCallArgumentsDoneEvent.Builder outputIndex(Long outputIndex)
The index of the output item in the response's output array.
-
outputIndex
final ResponseMcpCallArgumentsDoneEvent.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.
-
sequenceNumber
final ResponseMcpCallArgumentsDoneEvent.Builder sequenceNumber(Long sequenceNumber)
The sequence number of this event.
-
sequenceNumber
final ResponseMcpCallArgumentsDoneEvent.Builder sequenceNumber(JsonField<Long> sequenceNumber)
Sets Builder.sequenceNumber to an arbitrary JSON value.
You should usually call Builder.sequenceNumber 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 ResponseMcpCallArgumentsDoneEvent.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.arguments_done")
This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final ResponseMcpCallArgumentsDoneEvent.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final ResponseMcpCallArgumentsDoneEvent.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final ResponseMcpCallArgumentsDoneEvent.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final ResponseMcpCallArgumentsDoneEvent.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final ResponseMcpCallArgumentsDoneEvent.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final ResponseMcpCallArgumentsDoneEvent build()
Returns an immutable instance of ResponseMcpCallArgumentsDoneEvent.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.arguments() .itemId() .outputIndex() .sequenceNumber()
-
-
-
-