toolUsePromptTokensDetails

@CanIgnoreReturnValue()
public GenerateContentResponseUsageMetadata.Builder toolUsePromptTokensDetails(Array<ModalityTokenCount> toolUsePromptTokensDetails)

Setter for toolUsePromptTokensDetails.

toolUsePromptTokensDetails: Output only. A detailed breakdown by modality of the token counts from the results of tool executions, which are provided back to the model as input.


@CanIgnoreReturnValue()
public GenerateContentResponseUsageMetadata.Builder toolUsePromptTokensDetails(Array<ModalityTokenCount.Builder> toolUsePromptTokensDetailsBuilders)

Setter for toolUsePromptTokensDetails builder.

toolUsePromptTokensDetails: Output only. A detailed breakdown by modality of the token counts from the results of tool executions, which are provided back to the model as input.