View Source GoogleApi.Dialogflow.V3.Model.GoogleCloudDialogflowCxV3beta1ToolCallResult (google_api_dialogflow v0.88.3)

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.V3.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

t()

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

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.