Interface ToolCallOrBuilder (3.56.0)

public interface ToolCallOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getToolInput()

public abstract String getToolInput()

Optional. Spec for tool input

optional string tool_input = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The toolInput.

getToolInputBytes()

public abstract ByteString getToolInputBytes()

Optional. Spec for tool input

optional string tool_input = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for toolInput.

getToolName()

public abstract String getToolName()

Required. Spec for tool name

optional string tool_name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The toolName.

getToolNameBytes()

public abstract ByteString getToolNameBytes()

Required. Spec for tool name

optional string tool_name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for toolName.

hasToolInput()

public abstract boolean hasToolInput()

Optional. Spec for tool input

optional string tool_input = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the toolInput field is set.

hasToolName()

public abstract boolean hasToolName()

Required. Spec for tool name

optional string tool_name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the toolName field is set.