View Source GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowCxV3beta1ToolCallResult (google_api_dialogflow v0.84.2)

The result of calling a tool's action that has been executed by the client.

Attributes

  • action (type: String.t, default: nil) - Required. The name of the tool's action associated with this call.
  • error (type: GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowCxV3beta1ToolCallResultError.t, default: nil) - The tool call's error.
  • outputParameters (type: map(), default: nil) - The tool call's output parameters.
  • tool (type: String.t, default: nil) - Required. The tool associated with this call. Format: projects//locations//agents//tools/.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowCxV3beta1ToolCallResult{
    action: String.t() | nil,
    error:
      GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowCxV3beta1ToolCallResultError.t()
      | nil,
    outputParameters: map() | nil,
    tool: String.t() | nil
  }

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.