Reference documentation and code samples for the Google Cloud Dialogflow V2 Client class ToolCall.
Represents a call of a specific tool's action with the specified inputs.
Generated from protobuf message google.cloud.dialogflow.v2.ToolCall
Namespace
Google \ Cloud \ Dialogflow \ V2Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ tool
string
Optional. The tool
associated with this call. Format: projects/<ProjectID>/locations/<LocationID>/tools/<ToolID>
.
↳ tool_display_name
string
Optional. A human readable short name of the tool, to be shown on the UI.
↳ tool_display_details
string
Optional. A human readable description of the tool.
↳ action
string
Optional. The name of the tool's action associated with this call.
↳ input_parameters
↳ create_time
↳ answer_record
string
Optional. The answer record associated with this tool call.
↳ state
int
Output only. State of the tool call.
getTool
Optional. The tool
associated with
this call. Format: projects/<ProjectID>/locations/<LocationID>/tools/<ToolID>
.
string
hasTool
setTool
Optional. The tool
associated with
this call. Format: projects/<ProjectID>/locations/<LocationID>/tools/<ToolID>
.
var
string
$this
getToolDisplayName
Optional. A human readable short name of the tool, to be shown on the UI.
string
setToolDisplayName
Optional. A human readable short name of the tool, to be shown on the UI.
var
string
$this
getToolDisplayDetails
Optional. A human readable description of the tool.
string
setToolDisplayDetails
Optional. A human readable description of the tool.
var
string
$this
getAction
Optional. The name of the tool's action associated with this call.
string
setAction
Optional. The name of the tool's action associated with this call.
var
string
$this
getInputParameters
Optional. The action's input parameters.
hasInputParameters
clearInputParameters
setInputParameters
Optional. The action's input parameters.
$this
getCreateTime
Output only. Create time of the tool call.
hasCreateTime
clearCreateTime
setCreateTime
Output only. Create time of the tool call.
$this
getAnswerRecord
Optional. The answer record associated with this tool call.
string
setAnswerRecord
Optional. The answer record associated with this tool call.
var
string
$this
getState
Output only. State of the tool call.
setState
Output only. State of the tool call.
$this
getSource
string

