Package com.anthropic.models.messages
Class ServerToolUsage
-
- All Implemented Interfaces:
public final class ServerToolUsage
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classServerToolUsage.BuilderA builder for ServerToolUsage.
-
Method Summary
Modifier and Type Method Description final LongwebSearchRequests()The number of web search tool requests. final JsonField<Long>_webSearchRequests()Returns the raw JSON value of webSearchRequests. final Map<String, JsonValue>_additionalProperties()final ServerToolUsage.BuildertoBuilder()final ServerToolUsagevalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ServerToolUsage.Builderbuilder()Returns a mutable builder for constructing an instance of ServerToolUsage. -
-
Method Detail
-
webSearchRequests
final Long webSearchRequests()
The number of web search tool requests.
-
_webSearchRequests
final JsonField<Long> _webSearchRequests()
Returns the raw JSON value of webSearchRequests.
Unlike webSearchRequests, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final ServerToolUsage.Builder toBuilder()
-
validate
final ServerToolUsage validate()
-
builder
final static ServerToolUsage.Builder builder()
Returns a mutable builder for constructing an instance of ServerToolUsage.
The following fields are required:
.webSearchRequests()
-
-
-
-