NAME

Google::Cloud::Dialogflow::Cx::V3beta1::ToolCall - Compiled Protocol Buffers messages for google/cloud/dialogflow/cx/v3beta1/tool_call.proto

SYNOPSIS

use Google::Cloud::Dialogflow::Cx::V3beta1::ToolCall;

my $msg = Google::Cloud::Dialogflow::Cx::V3beta1::ToolCall::ToolCall->new({
    tool => $tool,
    action => $action,
    input_parameters => $input_parameters,
});

# Read or update a field
my $val = $msg->tool();

# Binary wire-format roundtrip
my $bytes   = $msg->serialize();
my $decoded = Google::Cloud::Dialogflow::Cx::V3beta1::ToolCall::ToolCall->parse($bytes);

# Canonical ProtoJSON
my $json = $msg->to_json();

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/dialogflow/cx/v3beta1/tool_call.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().

MESSAGES

Google::Cloud::Dialogflow::Cx::V3beta1::ToolCall::ToolCall

Represents a call of a specific tool's action with the specified inputs.

Inherits from Protobuf::Message.

Accessors

  • $msg->tool() / $msg->tool($value)

    Type: String

    The [tool][Tool] associated with this call. Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/tools/<Tool ID>`.

  • $msg->action() / $msg->action($value)

    Type: String

    The name of the tool's action associated with this call.

  • $msg->input_parameters() / $msg->input_parameters($value)

    Type: Message (Google::Protobuf::Struct::Struct)

    The action's input parameters.

Google::Cloud::Dialogflow::Cx::V3beta1::ToolCall::ToolCallResult

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

Inherits from Protobuf::Message.

Accessors

  • $msg->tool() / $msg->tool($value)

    Type: String

    The [tool][Tool] associated with this call. Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/tools/<Tool ID>`.

  • $msg->action() / $msg->action($value)

    Type: String

    The name of the tool's action associated with this call.

  • $msg->error() / $msg->error($value)

    Type: Message (Google::Cloud::Dialogflow::Cx::V3beta1::ToolCall::ToolCallResult::Error)

    The tool call's error.

  • $msg->output_parameters() / $msg->output_parameters($value)

    Type: Message (Google::Protobuf::Struct::Struct)

    The tool call's output parameters.

SEE ALSO

Protobuf, Protobuf::Message, Google::Cloud::Dialogflow::Cx::V3beta1::ToolCall::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.