Class BrowserReadNetworkToolUseBlock
-
- All Implemented Interfaces:
public final class BrowserReadNetworkToolUseBlock
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBrowserReadNetworkToolUseBlock.BuilderA builder for BrowserReadNetworkToolUseBlock.
-
Method Summary
Modifier and Type Method Description final Stringid()final ToolUseCallercaller()Which party invoked the tool call: the model directly, or a server tool on its behalf. final BrowserReadNetworkInputinput()Return the network requests (method, URL, status, MIME type, timing) recorded since the driver attached to the tab and since the last read, one line per entry. final JsonValue_name()Expected to always return the following:
However, this method can be useful for debugging and logging (e.g.JsonValue.from("read_network")final JsonValue_toolsetName()Expected to always return the following:
However, this method can be useful for debugging and logging (e.g.JsonValue.from("browser")final JsonValue_type()Expected to always return the following:
However, this method can be useful for debugging and logging (e.g.JsonValue.from("tool_use")final JsonField<String>_id()Returns the raw JSON value of id. final JsonField<ToolUseCaller>_caller()Returns the raw JSON value of caller. final JsonField<BrowserReadNetworkInput>_input()Returns the raw JSON value of input. final Map<String, JsonValue>_additionalProperties()final BrowserReadNetworkToolUseBlock.BuildertoBuilder()final BrowserReadNetworkToolUseBlockvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BrowserReadNetworkToolUseBlock.Builderbuilder()Returns a mutable builder for constructing an instance of BrowserReadNetworkToolUseBlock. -
-
Method Detail
-
caller
final ToolUseCaller caller()
Which party invoked the tool call: the model directly, or a server tool on its behalf.
-
input
final BrowserReadNetworkInput input()
Return the network requests (method, URL, status, MIME type, timing) recorded since the driver attached to the tab and since the last read, one line per entry. An empty result does not mean no traffic for a tab that predates attach.
-
_name
final JsonValue _name()
Expected to always return the following:
JsonValue.from("read_network")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_toolsetName
final JsonValue _toolsetName()
Expected to always return the following:
JsonValue.from("browser")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_type
final JsonValue _type()
Expected to always return the following:
JsonValue.from("tool_use")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_id
final JsonField<String> _id()
Returns the raw JSON value of id.
Unlike id, this method doesn't throw if the JSON field has an unexpected type.
-
_caller
final JsonField<ToolUseCaller> _caller()
Returns the raw JSON value of caller.
Unlike caller, this method doesn't throw if the JSON field has an unexpected type.
-
_input
final JsonField<BrowserReadNetworkInput> _input()
Returns the raw JSON value of input.
Unlike input, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BrowserReadNetworkToolUseBlock.Builder toBuilder()
-
validate
final BrowserReadNetworkToolUseBlock validate()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static BrowserReadNetworkToolUseBlock.Builder builder()
Returns a mutable builder for constructing an instance of BrowserReadNetworkToolUseBlock.
The following fields are required:
.id() .caller() .input()
-
-
-
-