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