toolUseTokensByModality

A breakdown of tool-use token usage by modality.


public final Usage.Builder toolUseTokensByModality(JsonField<List<Usage.ToolUseTokensByModality>> toolUseTokensByModality)

Sets Builder.toolUseTokensByModality to an arbitrary JSON value.

You should usually call Builder.toolUseTokensByModality with a well-typed List<ToolUseTokensByModality> value instead. This method is primarily for setting the field to an undocumented or not yet supported value.