Reference documentation and code samples for the Google Cloud Ces V1 Client class ToolCall.
Request for the client or the agent to execute the specified tool.
Generated from protobuf message google.cloud.ces.v1.ToolCall
Namespace
Google \ Cloud \ Ces \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ tool
string
Optional. The name of the tool to execute. Format: projects/{project}/locations/{location}/apps/{app}/tools/{tool}
↳ toolset_tool
↳ id
string
Optional. The unique identifier of the tool call. If populated, the client should return the execution result with the matching ID in ToolResponse .
↳ display_name
string
Output only. Display name of the tool.
↳ args
Google\Protobuf\Struct
Optional. The input parameters and values for the tool in JSON object format.
getTool
Optional. The name of the tool to execute.
Format: projects/{project}/locations/{location}/apps/{app}/tools/{tool}
string
hasTool
setTool
Optional. The name of the tool to execute.
Format: projects/{project}/locations/{location}/apps/{app}/tools/{tool}
var
string
$this
getToolsetTool
Optional. The toolset tool to execute.
hasToolsetTool
setToolsetTool
Optional. The toolset tool to execute.
$this
getId
Optional. The unique identifier of the tool call. If populated, the client should return the execution result with the matching ID in ToolResponse .
string
setId
Optional. The unique identifier of the tool call. If populated, the client should return the execution result with the matching ID in ToolResponse .
var
string
$this
getDisplayName
Output only. Display name of the tool.
string
setDisplayName
Output only. Display name of the tool.
var
string
$this
getArgs
Optional. The input parameters and values for the tool in JSON object format.
hasArgs
clearArgs
setArgs
Optional. The input parameters and values for the tool in JSON object format.
$this
getToolIdentifier
string

