A  B  C  D  E  F  G  H  I  J  K  L  M  N  O  P  Q  R  S  T  U  V  W  _ 

O

ObjectMappers - class in com.anthropic.core
 
of(java.util.List) - function in com.anthropic.core.JsonArray.Companion
Returns a JsonArray containing the given values.
of(java.lang.Boolean) - function in com.anthropic.core.JsonBoolean.Companion
Returns a JsonBoolean containing the given value.
of(T) - function in com.anthropic.core.JsonField.Companion
Returns a JsonField containing the given "known" value.
of() - function in com.anthropic.core.JsonMissing.Companion
Returns the singleton instance of JsonMissing.
of() - function in com.anthropic.core.JsonNull.Companion
Returns the singleton instance of JsonMissing.
of(java.lang.Number) - function in com.anthropic.core.JsonNumber.Companion
Returns a JsonNumber containing the given value.
of(java.util.Map) - function in com.anthropic.core.JsonObject.Companion
Returns a JsonObject containing the given values.
of(java.lang.String) - function in com.anthropic.core.JsonString.Companion
Returns a JsonString containing the given value.
of(T) - function in com.anthropic.core.KnownValue.Companion
Returns a KnownValue containing the given value.
of(T) - function in com.anthropic.core.MultipartField.Companion
Returns a MultipartField containing the given value as a KnownValue.
of(com.anthropic.core.JsonField) - function in com.anthropic.core.MultipartField.Companion
Returns a MultipartField containing the given value.
of(java.lang.String) - function in com.anthropic.models.beta.AnthropicBeta.Companion
 
of(java.lang.String) - function in com.anthropic.models.beta.files.DeletedFile.Type.Companion
 
of(java.lang.String) - function in com.anthropic.models.beta.messages.BetaBase64ImageSource.MediaType.Companion
 
of(java.lang.String) - function in com.anthropic.models.beta.messages.BetaCacheControlEphemeral.Ttl.Companion
 
of(java.lang.String) - function in com.anthropic.models.beta.messages.BetaCodeExecutionToolResultErrorCode.Companion
 
of(java.lang.String) - function in com.anthropic.models.beta.messages.BetaMessageParam.Role.Companion
 
of(java.lang.String) - function in com.anthropic.models.beta.messages.BetaServerToolUseBlock.Name.Companion
 
of(java.lang.String) - function in com.anthropic.models.beta.messages.BetaServerToolUseBlockParam.Name.Companion
 
of(java.lang.String) - function in com.anthropic.models.beta.messages.BetaStopReason.Companion
 
of(java.lang.String) - function in com.anthropic.models.beta.messages.BetaTool.Type.Companion
 
of(java.lang.String) - function in com.anthropic.models.beta.messages.BetaUsage.ServiceTier.Companion
 
of(java.lang.String) - function in com.anthropic.models.beta.messages.BetaWebSearchToolResultErrorCode.Companion
 
of(java.lang.String) - function in com.anthropic.models.beta.messages.MessageCreateParams.ServiceTier.Companion
 
of(java.lang.String) - function in com.anthropic.models.beta.messages.batches.BatchCreateParams.Request.Params.ServiceTier.Companion
 
of(java.lang.String) - function in com.anthropic.models.beta.messages.batches.BetaMessageBatch.ProcessingStatus.Companion
 
of(java.lang.String) - function in com.anthropic.models.messages.Base64ImageSource.MediaType.Companion
 
of(java.lang.String) - function in com.anthropic.models.messages.MessageCreateParams.ServiceTier.Companion
 
of(java.lang.String) - function in com.anthropic.models.messages.MessageParam.Role.Companion
 
of(java.lang.String) - function in com.anthropic.models.messages.Model.Companion
 
of(java.lang.String) - function in com.anthropic.models.messages.StopReason.Companion
 
of(java.lang.String) - function in com.anthropic.models.messages.Tool.Type.Companion
 
of(java.lang.String) - function in com.anthropic.models.messages.Usage.ServiceTier.Companion
 
of(java.lang.String) - function in com.anthropic.models.messages.WebSearchToolRequestError.ErrorCode.Companion
 
of(java.lang.String) - function in com.anthropic.models.messages.WebSearchToolResultError.ErrorCode.Companion
 
of(java.lang.String) - function in com.anthropic.models.messages.batches.BatchCreateParams.Request.Params.ServiceTier.Companion
 
of(java.lang.String) - function in com.anthropic.models.messages.batches.MessageBatch.ProcessingStatus.Companion
 
ofAny(com.anthropic.models.beta.messages.BetaToolChoiceAny) - function in com.anthropic.models.beta.messages.BetaToolChoice.Companion
The model will use any available tools.
ofAny(com.anthropic.models.messages.ToolChoiceAny) - function in com.anthropic.models.messages.ToolChoice.Companion
The model will use any available tools.
ofApi(com.anthropic.models.beta.BetaApiError) - function in com.anthropic.models.beta.BetaError.Companion
 
ofApiError(com.anthropic.models.ApiErrorObject) - function in com.anthropic.models.ErrorObject.Companion
 
ofAuthentication(com.anthropic.models.beta.BetaAuthenticationError) - function in com.anthropic.models.beta.BetaError.Companion
 
ofAuthenticationError(com.anthropic.models.AuthenticationError) - function in com.anthropic.models.ErrorObject.Companion
 
ofAuto(com.anthropic.models.beta.messages.BetaToolChoiceAuto) - function in com.anthropic.models.beta.messages.BetaToolChoice.Companion
The model will automatically decide whether to use tools.
ofAuto(com.anthropic.models.messages.ToolChoiceAuto) - function in com.anthropic.models.messages.ToolChoice.Companion
The model will automatically decide whether to use tools.
ofBase64(com.anthropic.models.beta.messages.BetaBase64ImageSource) - function in com.anthropic.models.beta.messages.BetaImageBlockParam.Source.Companion
 
ofBase64(com.anthropic.models.beta.messages.BetaBase64PdfSource) - function in com.anthropic.models.beta.messages.BetaRequestDocumentBlock.Source.Companion
 
ofBase64(com.anthropic.models.messages.Base64PdfSource) - function in com.anthropic.models.messages.DocumentBlockParam.Source.Companion
 
ofBase64(com.anthropic.models.messages.Base64ImageSource) - function in com.anthropic.models.messages.ImageBlockParam.Source.Companion
 
ofBash20241022(com.anthropic.models.beta.messages.BetaToolBash20241022) - function in com.anthropic.models.beta.messages.BetaToolUnion.Companion
 
ofBash20250124(com.anthropic.models.beta.messages.BetaToolBash20250124) - function in com.anthropic.models.beta.messages.BetaToolUnion.Companion
 
ofBash20250124(com.anthropic.models.messages.ToolBash20250124) - function in com.anthropic.models.messages.ToolUnion.Companion
 
ofBeta(com.anthropic.models.beta.messages.BetaTool) - function in com.anthropic.models.beta.messages.MessageCountTokensParams.Tool.Companion
 
ofBetaCodeExecutionTool20250522(com.anthropic.models.beta.messages.BetaCodeExecutionTool20250522) - function in com.anthropic.models.beta.messages.MessageCountTokensParams.Tool.Companion
 
ofBetaContentBlockParams(java.util.List) - function in com.anthropic.models.beta.messages.BetaMessageParam.Content.Companion
 
ofBetaContentBlockSource(java.util.List) - function in com.anthropic.models.beta.messages.BetaContentBlockSource.Content.Companion
 
ofBetaMcpToolResultBlock(java.util.List) - function in com.anthropic.models.beta.messages.BetaMcpToolResultBlock.Content.Companion
 
ofBetaMcpToolResultBlockParam(java.util.List) - function in com.anthropic.models.beta.messages.BetaRequestMcpToolResultBlockParam.Content.Companion
 
ofBetaTextBlockParams(java.util.List) - function in com.anthropic.models.beta.messages.MessageCountTokensParams.System.Companion
 
ofBetaTextBlockParams(java.util.List) - function in com.anthropic.models.beta.messages.MessageCreateParams.System.Companion
 
ofBetaTextBlockParams(java.util.List) - function in com.anthropic.models.beta.messages.batches.BatchCreateParams.Request.Params.System.Companion
 
ofBetaTool(com.anthropic.models.beta.messages.BetaTool) - function in com.anthropic.models.beta.messages.BetaToolUnion.Companion
 
ofBetaToolBash20241022(com.anthropic.models.beta.messages.BetaToolBash20241022) - function in com.anthropic.models.beta.messages.MessageCountTokensParams.Tool.Companion
 
ofBetaToolBash20250124(com.anthropic.models.beta.messages.BetaToolBash20250124) - function in com.anthropic.models.beta.messages.MessageCountTokensParams.Tool.Companion
 
ofBetaToolComputerUse20241022(com.anthropic.models.beta.messages.BetaToolComputerUse20241022) - function in com.anthropic.models.beta.messages.MessageCountTokensParams.Tool.Companion
 
ofBetaToolComputerUse20250124(com.anthropic.models.beta.messages.BetaToolComputerUse20250124) - function in com.anthropic.models.beta.messages.MessageCountTokensParams.Tool.Companion
 
ofBetaToolTextEditor20241022(com.anthropic.models.beta.messages.BetaToolTextEditor20241022) - function in com.anthropic.models.beta.messages.MessageCountTokensParams.Tool.Companion
 
ofBetaToolTextEditor20250124(com.anthropic.models.beta.messages.BetaToolTextEditor20250124) - function in com.anthropic.models.beta.messages.MessageCountTokensParams.Tool.Companion
 
ofBetaToolTextEditor20250429(com.anthropic.models.beta.messages.BetaToolTextEditor20250429) - function in com.anthropic.models.beta.messages.MessageCountTokensParams.Tool.Companion
 
ofBetaWebSearchTool20250305(com.anthropic.models.beta.messages.BetaWebSearchTool20250305) - function in com.anthropic.models.beta.messages.MessageCountTokensParams.Tool.Companion
 
ofBilling(com.anthropic.models.beta.BetaBillingError) - function in com.anthropic.models.beta.BetaError.Companion
 
ofBillingError(com.anthropic.models.BillingError) - function in com.anthropic.models.ErrorObject.Companion
 
ofBlockParams(java.util.List) - function in com.anthropic.models.messages.MessageParam.Content.Companion
 
ofBlocks(java.util.List) - function in com.anthropic.models.beta.messages.BetaToolResultBlockParam.Content.Companion
 
ofBlocks(java.util.List) - function in com.anthropic.models.messages.ToolResultBlockParam.Content.Companion
 
ofBlockSource(java.util.List) - function in com.anthropic.models.messages.ContentBlockSource.Content.Companion
 
ofCanceled(com.anthropic.models.beta.messages.batches.BetaMessageBatchCanceledResult) - function in com.anthropic.models.beta.messages.batches.BetaMessageBatchResult.Companion
 
ofCanceled(com.anthropic.models.messages.batches.MessageBatchCanceledResult) - function in com.anthropic.models.messages.batches.MessageBatchResult.Companion
 
ofCharLocation(com.anthropic.models.beta.messages.BetaCitationCharLocation) - function in com.anthropic.models.beta.messages.BetaCitationsDelta.Citation.Companion
 
ofCharLocation(com.anthropic.models.beta.messages.BetaCitationCharLocation) - function in com.anthropic.models.beta.messages.BetaTextCitation.Companion
 
ofCharLocation(com.anthropic.models.beta.messages.BetaCitationCharLocationParam) - function in com.anthropic.models.beta.messages.BetaTextCitationParam.Companion
 
ofCharLocation(com.anthropic.models.messages.CitationCharLocation) - function in com.anthropic.models.messages.CitationsDelta.Citation.Companion
 
ofCharLocation(com.anthropic.models.messages.CitationCharLocation) - function in com.anthropic.models.messages.TextCitation.Companion
 
ofCharLocation(com.anthropic.models.messages.CitationCharLocationParam) - function in com.anthropic.models.messages.TextCitationParam.Companion
 
ofCitations(com.anthropic.models.beta.messages.BetaCitationsDelta) - function in com.anthropic.models.beta.messages.BetaRawContentBlockDelta.Companion
 
ofCitations(com.anthropic.models.messages.CitationsDelta) - function in com.anthropic.models.messages.RawContentBlockDelta.Companion
 
ofCodeExecutionTool20250522(com.anthropic.models.beta.messages.BetaCodeExecutionTool20250522) - function in com.anthropic.models.beta.messages.BetaToolUnion.Companion
 
ofCodeExecutionToolResult(com.anthropic.models.beta.messages.BetaCodeExecutionToolResultBlock) - function in com.anthropic.models.beta.messages.BetaContentBlock.Companion
 
ofCodeExecutionToolResult(com.anthropic.models.beta.messages.BetaCodeExecutionToolResultBlockParam) - function in com.anthropic.models.beta.messages.BetaContentBlockParam.Companion
 
ofCodeExecutionToolResult(com.anthropic.models.beta.messages.BetaCodeExecutionToolResultBlock) - function in com.anthropic.models.beta.messages.BetaRawContentBlockStartEvent.ContentBlock.Companion
 
ofComputerUse20241022(com.anthropic.models.beta.messages.BetaToolComputerUse20241022) - function in com.anthropic.models.beta.messages.BetaToolUnion.Companion
 
ofComputerUse20250124(com.anthropic.models.beta.messages.BetaToolComputerUse20250124) - function in com.anthropic.models.beta.messages.BetaToolUnion.Companion
 
ofContainerUpload(com.anthropic.models.beta.messages.BetaContainerUploadBlock) - function in com.anthropic.models.beta.messages.BetaContentBlock.Companion
Response model for a file uploaded to the container.
ofContainerUpload(com.anthropic.models.beta.messages.BetaContainerUploadBlockParam) - function in com.anthropic.models.beta.messages.BetaContentBlockParam.Companion
A content block that represents a file to be uploaded to the container Files uploaded via this block will be available in the container's input directory.
ofContainerUpload(com.anthropic.models.beta.messages.BetaContainerUploadBlock) - function in com.anthropic.models.beta.messages.BetaRawContentBlockStartEvent.ContentBlock.Companion
Response model for a file uploaded to the container.
ofContent(com.anthropic.models.beta.messages.BetaContentBlockSource) - function in com.anthropic.models.beta.messages.BetaRequestDocumentBlock.Source.Companion
 
ofContent(com.anthropic.models.messages.ContentBlockSource) - function in com.anthropic.models.messages.DocumentBlockParam.Source.Companion
 
ofContentBlockDelta(com.anthropic.models.beta.messages.BetaRawContentBlockDeltaEvent) - function in com.anthropic.models.beta.messages.BetaRawMessageStreamEvent.Companion
 
ofContentBlockDelta(com.anthropic.models.messages.RawContentBlockDeltaEvent) - function in com.anthropic.models.messages.RawMessageStreamEvent.Companion
 
ofContentBlockLocation(com.anthropic.models.beta.messages.BetaCitationContentBlockLocation) - function in com.anthropic.models.beta.messages.BetaCitationsDelta.Citation.Companion
 
ofContentBlockLocation(com.anthropic.models.beta.messages.BetaCitationContentBlockLocation) - function in com.anthropic.models.beta.messages.BetaTextCitation.Companion
 
ofContentBlockLocation(com.anthropic.models.beta.messages.BetaCitationContentBlockLocationParam) - function in com.anthropic.models.beta.messages.BetaTextCitationParam.Companion
 
ofContentBlockLocation(com.anthropic.models.messages.CitationContentBlockLocation) - function in com.anthropic.models.messages.CitationsDelta.Citation.Companion
 
ofContentBlockLocation(com.anthropic.models.messages.CitationContentBlockLocation) - function in com.anthropic.models.messages.TextCitation.Companion
 
ofContentBlockLocation(com.anthropic.models.messages.CitationContentBlockLocationParam) - function in com.anthropic.models.messages.TextCitationParam.Companion
 
ofContentBlockStart(com.anthropic.models.beta.messages.BetaRawContentBlockStartEvent) - function in com.anthropic.models.beta.messages.BetaRawMessageStreamEvent.Companion
 
ofContentBlockStart(com.anthropic.models.messages.RawContentBlockStartEvent) - function in com.anthropic.models.messages.RawMessageStreamEvent.Companion
 
ofContentBlockStop(com.anthropic.models.beta.messages.BetaRawContentBlockStopEvent) - function in com.anthropic.models.beta.messages.BetaRawMessageStreamEvent.Companion
 
ofContentBlockStop(com.anthropic.models.messages.RawContentBlockStopEvent) - function in com.anthropic.models.messages.RawMessageStreamEvent.Companion
 
ofDisabled(com.anthropic.models.beta.messages.BetaThinkingConfigDisabled) - function in com.anthropic.models.beta.messages.BetaThinkingConfigParam.Companion
 
ofDisabled(com.anthropic.models.messages.ThinkingConfigDisabled) - function in com.anthropic.models.messages.ThinkingConfigParam.Companion
 
ofDocument(com.anthropic.models.beta.messages.BetaRequestDocumentBlock) - function in com.anthropic.models.beta.messages.BetaContentBlockParam.Companion
Document content, either specified directly as base64 data, as text, or as a reference via a URL.
ofDocument(com.anthropic.models.messages.DocumentBlockParam) - function in com.anthropic.models.messages.ContentBlockParam.Companion
Document content, either specified directly as base64 data, as text, or as a reference via a URL.
ofEnabled(com.anthropic.models.beta.messages.BetaThinkingConfigEnabled) - function in com.anthropic.models.beta.messages.BetaThinkingConfigParam.Companion
 
ofEnabled(com.anthropic.models.messages.ThinkingConfigEnabled) - function in com.anthropic.models.messages.ThinkingConfigParam.Companion
 
ofError(com.anthropic.models.beta.messages.BetaCodeExecutionToolResultError) - function in com.anthropic.models.beta.messages.BetaCodeExecutionToolResultBlockContent.Companion
 
ofError(com.anthropic.models.beta.messages.BetaWebSearchToolResultError) - function in com.anthropic.models.beta.messages.BetaWebSearchToolResultBlockContent.Companion
 
ofError(com.anthropic.models.messages.WebSearchToolResultError) - function in com.anthropic.models.messages.WebSearchToolResultBlockContent.Companion
 
ofErrored(com.anthropic.models.beta.messages.batches.BetaMessageBatchErroredResult) - function in com.anthropic.models.beta.messages.batches.BetaMessageBatchResult.Companion
 
ofErrored(com.anthropic.models.messages.batches.MessageBatchErroredResult) - function in com.anthropic.models.messages.batches.MessageBatchResult.Companion
 
ofErrorParam(com.anthropic.models.beta.messages.BetaCodeExecutionToolResultErrorParam) - function in com.anthropic.models.beta.messages.BetaCodeExecutionToolResultBlockParamContent.Companion
 
ofExpired(com.anthropic.models.beta.messages.batches.BetaMessageBatchExpiredResult) - function in com.anthropic.models.beta.messages.batches.BetaMessageBatchResult.Companion
 
ofExpired(com.anthropic.models.messages.batches.MessageBatchExpiredResult) - function in com.anthropic.models.messages.batches.MessageBatchResult.Companion
 
ofFile(com.anthropic.models.beta.messages.BetaFileImageSource) - function in com.anthropic.models.beta.messages.BetaImageBlockParam.Source.Companion
 
ofFile(com.anthropic.models.beta.messages.BetaFileDocumentSource) - function in com.anthropic.models.beta.messages.BetaRequestDocumentBlock.Source.Companion
 
ofImage(com.anthropic.models.beta.messages.BetaImageBlockParam) - function in com.anthropic.models.beta.messages.BetaContentBlockParam.Companion
Image content specified directly as base64 data or as a reference via a URL.
ofImage(com.anthropic.models.beta.messages.BetaImageBlockParam) - function in com.anthropic.models.beta.messages.BetaContentBlockSourceContent.Companion
 
ofImage(com.anthropic.models.beta.messages.BetaImageBlockParam) - function in com.anthropic.models.beta.messages.BetaToolResultBlockParam.Content.Block.Companion
 
ofImage(com.anthropic.models.messages.ImageBlockParam) - function in com.anthropic.models.messages.ContentBlockParam.Companion
Image content specified directly as base64 data or as a reference via a URL.
ofImage(com.anthropic.models.messages.ImageBlockParam) - function in com.anthropic.models.messages.ContentBlockSourceContent.Companion
 
ofImage(com.anthropic.models.messages.ImageBlockParam) - function in com.anthropic.models.messages.ToolResultBlockParam.Content.Block.Companion
 
ofInputJson(com.anthropic.models.beta.messages.BetaInputJsonDelta) - function in com.anthropic.models.beta.messages.BetaRawContentBlockDelta.Companion
 
ofInputJson(com.anthropic.models.messages.InputJsonDelta) - function in com.anthropic.models.messages.RawContentBlockDelta.Companion
 
ofInvalidRequest(com.anthropic.models.beta.BetaInvalidRequestError) - function in com.anthropic.models.beta.BetaError.Companion
 
ofInvalidRequestError(com.anthropic.models.InvalidRequestError) - function in com.anthropic.models.ErrorObject.Companion
 
ofItem(java.util.List) - function in com.anthropic.models.messages.WebSearchToolResultBlockParamContent.Companion
 
ofMcpToolResult(com.anthropic.models.beta.messages.BetaMcpToolResultBlock) - function in com.anthropic.models.beta.messages.BetaContentBlock.Companion
 
ofMcpToolResult(com.anthropic.models.beta.messages.BetaRequestMcpToolResultBlockParam) - function in com.anthropic.models.beta.messages.BetaContentBlockParam.Companion
 
ofMcpToolResult(com.anthropic.models.beta.messages.BetaMcpToolResultBlock) - function in com.anthropic.models.beta.messages.BetaRawContentBlockStartEvent.ContentBlock.Companion
 
ofMcpToolUse(com.anthropic.models.beta.messages.BetaMcpToolUseBlock) - function in com.anthropic.models.beta.messages.BetaContentBlock.Companion
 
ofMcpToolUse(com.anthropic.models.beta.messages.BetaMcpToolUseBlockParam) - function in com.anthropic.models.beta.messages.BetaContentBlockParam.Companion
 
ofMcpToolUse(com.anthropic.models.beta.messages.BetaMcpToolUseBlock) - function in com.anthropic.models.beta.messages.BetaRawContentBlockStartEvent.ContentBlock.Companion
 
ofMessageDelta(com.anthropic.models.beta.messages.BetaRawMessageDeltaEvent) - function in com.anthropic.models.beta.messages.BetaRawMessageStreamEvent.Companion
 
ofMessageDelta(com.anthropic.models.messages.RawMessageDeltaEvent) - function in com.anthropic.models.messages.RawMessageStreamEvent.Companion
 
ofMessageStart(com.anthropic.models.beta.messages.BetaRawMessageStartEvent) - function in com.anthropic.models.beta.messages.BetaRawMessageStreamEvent.Companion
 
ofMessageStart(com.anthropic.models.messages.RawMessageStartEvent) - function in com.anthropic.models.messages.RawMessageStreamEvent.Companion
 
ofMessageStop(com.anthropic.models.beta.messages.BetaRawMessageStopEvent) - function in com.anthropic.models.beta.messages.BetaRawMessageStreamEvent.Companion
 
ofMessageStop(com.anthropic.models.messages.RawMessageStopEvent) - function in com.anthropic.models.messages.RawMessageStreamEvent.Companion
 
ofNone(com.anthropic.models.beta.messages.BetaToolChoiceNone) - function in com.anthropic.models.beta.messages.BetaToolChoice.Companion
The model will not be allowed to use tools.
ofNone(com.anthropic.models.messages.ToolChoiceNone) - function in com.anthropic.models.messages.ToolChoice.Companion
The model will not be allowed to use tools.
ofNotFound(com.anthropic.models.beta.BetaNotFoundError) - function in com.anthropic.models.beta.BetaError.Companion
 
ofNotFoundError(com.anthropic.models.NotFoundError) - function in com.anthropic.models.ErrorObject.Companion
 
ofNullable(T) - function in com.anthropic.core.JsonField.Companion
Returns a JsonField containing the given "known" value, or JsonNull if value is null.
ofOverloaded(com.anthropic.models.beta.BetaOverloadedError) - function in com.anthropic.models.beta.BetaError.Companion
 
ofOverloadedError(com.anthropic.models.OverloadedError) - function in com.anthropic.models.ErrorObject.Companion
 
ofPageLocation(com.anthropic.models.beta.messages.BetaCitationPageLocation) - function in com.anthropic.models.beta.messages.BetaCitationsDelta.Citation.Companion
 
ofPageLocation(com.anthropic.models.beta.messages.BetaCitationPageLocation) - function in com.anthropic.models.beta.messages.BetaTextCitation.Companion
 
ofPageLocation(com.anthropic.models.beta.messages.BetaCitationPageLocationParam) - function in com.anthropic.models.beta.messages.BetaTextCitationParam.Companion
 
ofPageLocation(com.anthropic.models.messages.CitationPageLocation) - function in com.anthropic.models.messages.CitationsDelta.Citation.Companion
 
ofPageLocation(com.anthropic.models.messages.CitationPageLocation) - function in com.anthropic.models.messages.TextCitation.Companion
 
ofPageLocation(com.anthropic.models.messages.CitationPageLocationParam) - function in com.anthropic.models.messages.TextCitationParam.Companion
 
ofPermission(com.anthropic.models.beta.BetaPermissionError) - function in com.anthropic.models.beta.BetaError.Companion
 
ofPermissionError(com.anthropic.models.PermissionError) - function in com.anthropic.models.ErrorObject.Companion
 
ofRateLimit(com.anthropic.models.beta.BetaRateLimitError) - function in com.anthropic.models.beta.BetaError.Companion
 
ofRateLimitError(com.anthropic.models.RateLimitError) - function in com.anthropic.models.ErrorObject.Companion
 
ofRedactedThinking(com.anthropic.models.beta.messages.BetaRedactedThinkingBlock) - function in com.anthropic.models.beta.messages.BetaContentBlock.Companion
 
ofRedactedThinking(com.anthropic.models.beta.messages.BetaRedactedThinkingBlockParam) - function in com.anthropic.models.beta.messages.BetaContentBlockParam.Companion
A block specifying internal, redacted thinking by the model.
ofRedactedThinking(com.anthropic.models.beta.messages.BetaRedactedThinkingBlock) - function in com.anthropic.models.beta.messages.BetaRawContentBlockStartEvent.ContentBlock.Companion
 
ofRedactedThinking(com.anthropic.models.messages.RedactedThinkingBlock) - function in com.anthropic.models.messages.ContentBlock.Companion
 
ofRedactedThinking(com.anthropic.models.messages.RedactedThinkingBlockParam) - function in com.anthropic.models.messages.ContentBlockParam.Companion
A block specifying internal, redacted thinking by the model.
ofRedactedThinking(com.anthropic.models.messages.RedactedThinkingBlock) - function in com.anthropic.models.messages.RawContentBlockStartEvent.ContentBlock.Companion
 
ofRequestError(com.anthropic.models.beta.messages.BetaWebSearchToolRequestError) - function in com.anthropic.models.beta.messages.BetaWebSearchToolResultBlockParamContent.Companion
 
ofRequestError(com.anthropic.models.messages.WebSearchToolRequestError) - function in com.anthropic.models.messages.WebSearchToolResultBlockParamContent.Companion
 
ofResultBlock(com.anthropic.models.beta.messages.BetaCodeExecutionResultBlock) - function in com.anthropic.models.beta.messages.BetaCodeExecutionToolResultBlockContent.Companion
 
ofResultBlock(java.util.List) - function in com.anthropic.models.beta.messages.BetaWebSearchToolResultBlockParamContent.Companion
 
ofResultBlockParam(com.anthropic.models.beta.messages.BetaCodeExecutionResultBlockParam) - function in com.anthropic.models.beta.messages.BetaCodeExecutionToolResultBlockParamContent.Companion
 
ofResultBlocks(java.util.List) - function in com.anthropic.models.beta.messages.BetaWebSearchToolResultBlockContent.Companion
 
ofResultBlocks(java.util.List) - function in com.anthropic.models.messages.WebSearchToolResultBlockContent.Companion
 
ofServerToolUse(com.anthropic.models.beta.messages.BetaServerToolUseBlock) - function in com.anthropic.models.beta.messages.BetaContentBlock.Companion
 
ofServerToolUse(com.anthropic.models.beta.messages.BetaServerToolUseBlockParam) - function in com.anthropic.models.beta.messages.BetaContentBlockParam.Companion
 
ofServerToolUse(com.anthropic.models.beta.messages.BetaServerToolUseBlock) - function in com.anthropic.models.beta.messages.BetaRawContentBlockStartEvent.ContentBlock.Companion
 
ofServerToolUse(com.anthropic.models.messages.ServerToolUseBlock) - function in com.anthropic.models.messages.ContentBlock.Companion
 
ofServerToolUse(com.anthropic.models.messages.ServerToolUseBlockParam) - function in com.anthropic.models.messages.ContentBlockParam.Companion
 
ofServerToolUse(com.anthropic.models.messages.ServerToolUseBlock) - function in com.anthropic.models.messages.RawContentBlockStartEvent.ContentBlock.Companion
 
ofSignature(com.anthropic.models.beta.messages.BetaSignatureDelta) - function in com.anthropic.models.beta.messages.BetaRawContentBlockDelta.Companion
 
ofSignature(com.anthropic.models.messages.SignatureDelta) - function in com.anthropic.models.messages.RawContentBlockDelta.Companion
 
ofString(java.lang.String) - function in com.anthropic.models.beta.messages.BetaContentBlockSource.Content.Companion
 
ofString(java.lang.String) - function in com.anthropic.models.beta.messages.BetaMcpToolResultBlock.Content.Companion
 
ofString(java.lang.String) - function in com.anthropic.models.beta.messages.BetaMessageParam.Content.Companion
 
ofString(java.lang.String) - function in com.anthropic.models.beta.messages.BetaRequestMcpToolResultBlockParam.Content.Companion
 
ofString(java.lang.String) - function in com.anthropic.models.beta.messages.BetaToolResultBlockParam.Content.Companion
 
ofString(java.lang.String) - function in com.anthropic.models.beta.messages.MessageCountTokensParams.System.Companion
 
ofString(java.lang.String) - function in com.anthropic.models.beta.messages.MessageCreateParams.System.Companion
 
ofString(java.lang.String) - function in com.anthropic.models.beta.messages.batches.BatchCreateParams.Request.Params.System.Companion
 
ofString(java.lang.String) - function in com.anthropic.models.messages.ContentBlockSource.Content.Companion
 
ofString(java.lang.String) - function in com.anthropic.models.messages.MessageCountTokensParams.System.Companion
 
ofString(java.lang.String) - function in com.anthropic.models.messages.MessageCreateParams.System.Companion
 
ofString(java.lang.String) - function in com.anthropic.models.messages.MessageParam.Content.Companion
 
ofString(java.lang.String) - function in com.anthropic.models.messages.ToolResultBlockParam.Content.Companion
 
ofString(java.lang.String) - function in com.anthropic.models.messages.batches.BatchCreateParams.Request.Params.System.Companion
 
ofSucceeded(com.anthropic.models.beta.messages.batches.BetaMessageBatchSucceededResult) - function in com.anthropic.models.beta.messages.batches.BetaMessageBatchResult.Companion
 
ofSucceeded(com.anthropic.models.messages.batches.MessageBatchSucceededResult) - function in com.anthropic.models.messages.batches.MessageBatchResult.Companion
 
ofText(com.anthropic.models.beta.messages.BetaTextBlock) - function in com.anthropic.models.beta.messages.BetaContentBlock.Companion
 
ofText(com.anthropic.models.beta.messages.BetaTextBlockParam) - function in com.anthropic.models.beta.messages.BetaContentBlockParam.Companion
Regular text content.
ofText(com.anthropic.models.beta.messages.BetaTextBlockParam) - function in com.anthropic.models.beta.messages.BetaContentBlockSourceContent.Companion
 
ofText(com.anthropic.models.beta.messages.BetaTextDelta) - function in com.anthropic.models.beta.messages.BetaRawContentBlockDelta.Companion
 
ofText(com.anthropic.models.beta.messages.BetaTextBlock) - function in com.anthropic.models.beta.messages.BetaRawContentBlockStartEvent.ContentBlock.Companion
 
ofText(com.anthropic.models.beta.messages.BetaPlainTextSource) - function in com.anthropic.models.beta.messages.BetaRequestDocumentBlock.Source.Companion
 
ofText(com.anthropic.models.beta.messages.BetaTextBlockParam) - function in com.anthropic.models.beta.messages.BetaToolResultBlockParam.Content.Block.Companion
 
ofText(com.anthropic.models.messages.TextBlock) - function in com.anthropic.models.messages.ContentBlock.Companion
 
ofText(com.anthropic.models.messages.TextBlockParam) - function in com.anthropic.models.messages.ContentBlockParam.Companion
Regular text content.
ofText(com.anthropic.models.messages.TextBlockParam) - function in com.anthropic.models.messages.ContentBlockSourceContent.Companion
 
ofText(com.anthropic.models.messages.PlainTextSource) - function in com.anthropic.models.messages.DocumentBlockParam.Source.Companion
 
ofText(com.anthropic.models.messages.TextDelta) - function in com.anthropic.models.messages.RawContentBlockDelta.Companion
 
ofText(com.anthropic.models.messages.TextBlock) - function in com.anthropic.models.messages.RawContentBlockStartEvent.ContentBlock.Companion
 
ofText(com.anthropic.models.messages.TextBlockParam) - function in com.anthropic.models.messages.ToolResultBlockParam.Content.Block.Companion
 
ofTextBlockParams(java.util.List) - function in com.anthropic.models.messages.MessageCountTokensParams.System.Companion
 
ofTextBlockParams(java.util.List) - function in com.anthropic.models.messages.MessageCreateParams.System.Companion
 
ofTextBlockParams(java.util.List) - function in com.anthropic.models.messages.batches.BatchCreateParams.Request.Params.System.Companion
 
ofTextEditor20241022(com.anthropic.models.beta.messages.BetaToolTextEditor20241022) - function in com.anthropic.models.beta.messages.BetaToolUnion.Companion
 
ofTextEditor20250124(com.anthropic.models.beta.messages.BetaToolTextEditor20250124) - function in com.anthropic.models.beta.messages.BetaToolUnion.Companion
 
ofTextEditor20250124(com.anthropic.models.messages.ToolTextEditor20250124) - function in com.anthropic.models.messages.ToolUnion.Companion
 
ofTextEditor20250429(com.anthropic.models.beta.messages.BetaToolTextEditor20250429) - function in com.anthropic.models.beta.messages.BetaToolUnion.Companion
 
ofTextEditor20250429(com.anthropic.models.messages.MessageCountTokensTool.TextEditor20250429) - function in com.anthropic.models.messages.MessageCountTokensTool.Companion
 
ofTextEditor20250429(com.anthropic.models.messages.ToolUnion.TextEditor20250429) - function in com.anthropic.models.messages.ToolUnion.Companion
 
ofThinking(com.anthropic.models.beta.messages.BetaThinkingBlock) - function in com.anthropic.models.beta.messages.BetaContentBlock.Companion
 
ofThinking(com.anthropic.models.beta.messages.BetaThinkingBlockParam) - function in com.anthropic.models.beta.messages.BetaContentBlockParam.Companion
A block specifying internal thinking by the model.
ofThinking(com.anthropic.models.beta.messages.BetaThinkingDelta) - function in com.anthropic.models.beta.messages.BetaRawContentBlockDelta.Companion
 
ofThinking(com.anthropic.models.beta.messages.BetaThinkingBlock) - function in com.anthropic.models.beta.messages.BetaRawContentBlockStartEvent.ContentBlock.Companion
 
ofThinking(com.anthropic.models.messages.ThinkingBlock) - function in com.anthropic.models.messages.ContentBlock.Companion
 
ofThinking(com.anthropic.models.messages.ThinkingBlockParam) - function in com.anthropic.models.messages.ContentBlockParam.Companion
A block specifying internal thinking by the model.
ofThinking(com.anthropic.models.messages.ThinkingDelta) - function in com.anthropic.models.messages.RawContentBlockDelta.Companion
 
ofThinking(com.anthropic.models.messages.ThinkingBlock) - function in com.anthropic.models.messages.RawContentBlockStartEvent.ContentBlock.Companion
 
ofTimeout(com.anthropic.models.beta.BetaGatewayTimeoutError) - function in com.anthropic.models.beta.BetaError.Companion
 
ofTimeoutError(com.anthropic.models.GatewayTimeoutError) - function in com.anthropic.models.ErrorObject.Companion
 
ofTool(com.anthropic.models.beta.messages.BetaToolChoiceTool) - function in com.anthropic.models.beta.messages.BetaToolChoice.Companion
The model will use the specified tool with tool_choice.name.
ofTool(com.anthropic.models.messages.Tool) - function in com.anthropic.models.messages.MessageCountTokensTool.Companion
 
ofTool(com.anthropic.models.messages.ToolChoiceTool) - function in com.anthropic.models.messages.ToolChoice.Companion
The model will use the specified tool with tool_choice.name.
ofTool(com.anthropic.models.messages.Tool) - function in com.anthropic.models.messages.ToolUnion.Companion
 
ofToolBash20250124(com.anthropic.models.messages.ToolBash20250124) - function in com.anthropic.models.messages.MessageCountTokensTool.Companion
 
ofToolResult(com.anthropic.models.beta.messages.BetaToolResultBlockParam) - function in com.anthropic.models.beta.messages.BetaContentBlockParam.Companion
A block specifying the results of a tool use by the model.
ofToolResult(com.anthropic.models.messages.ToolResultBlockParam) - function in com.anthropic.models.messages.ContentBlockParam.Companion
A block specifying the results of a tool use by the model.
ofToolTextEditor20250124(com.anthropic.models.messages.ToolTextEditor20250124) - function in com.anthropic.models.messages.MessageCountTokensTool.Companion
 
ofToolUse(com.anthropic.models.beta.messages.BetaToolUseBlock) - function in com.anthropic.models.beta.messages.BetaContentBlock.Companion
 
ofToolUse(com.anthropic.models.beta.messages.BetaToolUseBlockParam) - function in com.anthropic.models.beta.messages.BetaContentBlockParam.Companion
A block indicating a tool use by the model.
ofToolUse(com.anthropic.models.beta.messages.BetaToolUseBlock) - function in com.anthropic.models.beta.messages.BetaRawContentBlockStartEvent.ContentBlock.Companion
 
ofToolUse(com.anthropic.models.messages.ToolUseBlock) - function in com.anthropic.models.messages.ContentBlock.Companion
 
ofToolUse(com.anthropic.models.messages.ToolUseBlockParam) - function in com.anthropic.models.messages.ContentBlockParam.Companion
A block indicating a tool use by the model.
ofToolUse(com.anthropic.models.messages.ToolUseBlock) - function in com.anthropic.models.messages.RawContentBlockStartEvent.ContentBlock.Companion
 
ofUrl(com.anthropic.models.beta.messages.BetaUrlImageSource) - function in com.anthropic.models.beta.messages.BetaImageBlockParam.Source.Companion
 
ofUrl(com.anthropic.models.beta.messages.BetaUrlPdfSource) - function in com.anthropic.models.beta.messages.BetaRequestDocumentBlock.Source.Companion
 
ofUrl(com.anthropic.models.messages.UrlPdfSource) - function in com.anthropic.models.messages.DocumentBlockParam.Source.Companion
 
ofUrl(com.anthropic.models.messages.UrlImageSource) - function in com.anthropic.models.messages.ImageBlockParam.Source.Companion
 
ofWebSearchResultLocation(com.anthropic.models.beta.messages.BetaCitationsWebSearchResultLocation) - function in com.anthropic.models.beta.messages.BetaCitationsDelta.Citation.Companion
 
ofWebSearchResultLocation(com.anthropic.models.beta.messages.BetaCitationsWebSearchResultLocation) - function in com.anthropic.models.beta.messages.BetaTextCitation.Companion
 
ofWebSearchResultLocation(com.anthropic.models.beta.messages.BetaCitationWebSearchResultLocationParam) - function in com.anthropic.models.beta.messages.BetaTextCitationParam.Companion
 
ofWebSearchResultLocation(com.anthropic.models.messages.CitationsWebSearchResultLocation) - function in com.anthropic.models.messages.CitationsDelta.Citation.Companion
 
ofWebSearchResultLocation(com.anthropic.models.messages.CitationsWebSearchResultLocation) - function in com.anthropic.models.messages.TextCitation.Companion
 
ofWebSearchResultLocation(com.anthropic.models.messages.CitationWebSearchResultLocationParam) - function in com.anthropic.models.messages.TextCitationParam.Companion
 
ofWebSearchTool20250305(com.anthropic.models.beta.messages.BetaWebSearchTool20250305) - function in com.anthropic.models.beta.messages.BetaToolUnion.Companion
 
ofWebSearchTool20250305(com.anthropic.models.messages.WebSearchTool20250305) - function in com.anthropic.models.messages.MessageCountTokensTool.Companion
 
ofWebSearchTool20250305(com.anthropic.models.messages.WebSearchTool20250305) - function in com.anthropic.models.messages.ToolUnion.Companion
 
ofWebSearchToolResult(com.anthropic.models.beta.messages.BetaWebSearchToolResultBlock) - function in com.anthropic.models.beta.messages.BetaContentBlock.Companion
 
ofWebSearchToolResult(com.anthropic.models.beta.messages.BetaWebSearchToolResultBlockParam) - function in com.anthropic.models.beta.messages.BetaContentBlockParam.Companion
 
ofWebSearchToolResult(com.anthropic.models.beta.messages.BetaWebSearchToolResultBlock) - function in com.anthropic.models.beta.messages.BetaRawContentBlockStartEvent.ContentBlock.Companion
 
ofWebSearchToolResult(com.anthropic.models.messages.WebSearchToolResultBlock) - function in com.anthropic.models.messages.ContentBlock.Companion
 
ofWebSearchToolResult(com.anthropic.models.messages.WebSearchToolResultBlockParam) - function in com.anthropic.models.messages.ContentBlockParam.Companion
 
ofWebSearchToolResult(com.anthropic.models.messages.WebSearchToolResultBlock) - function in com.anthropic.models.messages.RawContentBlockStartEvent.ContentBlock.Companion
 
OkHttpClient - class in com.anthropic.client.okhttp
 
OkHttpClient.Builder - class in com.anthropic.client.okhttp.OkHttpClient
 
onComplete(java.util.Optional) - function in com.anthropic.core.http.AsyncStreamResponse.Handler
Called when a stream is fully consumed, errors, or gets closed early.
onCompleteFuture() - function in com.anthropic.core.AutoPagerAsync
Returns a future that completes when a stream is fully consumed, errors, or gets closed early.
onCompleteFuture() - function in com.anthropic.core.http.AsyncStreamResponse
Returns a future that completes when a stream is fully consumed, errors, or gets closed early.
onNext(T) - function in com.anthropic.core.http.AsyncStreamResponse.Handler
Called whenever a chunk is received.
OPTIONS - enum entry in com.anthropic.core.http.HttpMethod
 
OUTPUT_128K_2025_02_19 - enum entry in com.anthropic.models.beta.AnthropicBeta.Known
 
OUTPUT_128K_2025_02_19 - enum entry in com.anthropic.models.beta.AnthropicBeta.Value
 
outputTokens() - function in com.anthropic.models.beta.messages.BetaMessageDeltaUsage
The cumulative number of output tokens which were used.
outputTokens(com.anthropic.core.JsonField) - function in com.anthropic.models.beta.messages.BetaMessageDeltaUsage.Builder
Sets Builder.outputTokens to an arbitrary JSON value.
outputTokens(java.lang.Long) - function in com.anthropic.models.beta.messages.BetaMessageDeltaUsage.Builder
The cumulative number of output tokens which were used.
outputTokens() - function in com.anthropic.models.beta.messages.BetaUsage
The number of output tokens which were used.
outputTokens(com.anthropic.core.JsonField) - function in com.anthropic.models.beta.messages.BetaUsage.Builder
Sets Builder.outputTokens to an arbitrary JSON value.
outputTokens(java.lang.Long) - function in com.anthropic.models.beta.messages.BetaUsage.Builder
The number of output tokens which were used.
outputTokens() - function in com.anthropic.models.messages.MessageDeltaUsage
The cumulative number of output tokens which were used.
outputTokens(com.anthropic.core.JsonField) - function in com.anthropic.models.messages.MessageDeltaUsage.Builder
Sets Builder.outputTokens to an arbitrary JSON value.
outputTokens(java.lang.Long) - function in com.anthropic.models.messages.MessageDeltaUsage.Builder
The cumulative number of output tokens which were used.
outputTokens() - function in com.anthropic.models.messages.Usage
The number of output tokens which were used.
outputTokens(com.anthropic.core.JsonField) - function in com.anthropic.models.messages.Usage.Builder
Sets Builder.outputTokens to an arbitrary JSON value.
outputTokens(java.lang.Long) - function in com.anthropic.models.messages.Usage.Builder
The number of output tokens which were used.
overloaded() - function in com.anthropic.models.beta.BetaError
 
overloadedError() - function in com.anthropic.models.ErrorObject
 
OverloadedError - class in com.anthropic.models
 
overloadedError(java.lang.String) - function in com.anthropic.models.beta.BetaErrorResponse.Builder
Alias for calling error with the following:
BetaOverloadedError.builder()
    .message(message)
    .build()
OverloadedError.Builder - class in com.anthropic.models.OverloadedError
A builder for OverloadedError.
overloadedErrorError(java.lang.String) - function in com.anthropic.models.ErrorResponse.Builder
Alias for calling error with the following:
OverloadedError.builder()
    .message(message)
    .build()
A  B  C  D  E  F  G  H  I  J  K  L  M  N  O  P  Q  R  S  T  U  V  W  _