public sealed class ToolCall : IMessage<ToolCall>, IEquatable<ToolCall>, IDeepCloneable<ToolCall>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud AI Platform v1beta1 API class ToolCall.
Spec for tool call.
Namespace
Google.Cloud.AIPlatform.V1Beta1Assembly
Google.Cloud.AIPlatform.V1Beta1.dll
Constructors
ToolCall()
public ToolCall()
ToolCall(ToolCall)
public ToolCall(ToolCall other)
Parameter | |
---|---|
Name | Description |
other |
ToolCall |
Properties
HasToolInput
public bool HasToolInput { get; }
Gets whether the "tool_input" field is set
Property Value | |
---|---|
Type | Description |
bool |
HasToolName
public bool HasToolName { get; }
Gets whether the "tool_name" field is set
Property Value | |
---|---|
Type | Description |
bool |
ToolInput
public string ToolInput { get; set; }
Optional. Spec for tool input
Property Value | |
---|---|
Type | Description |
string |
ToolName
public string ToolName { get; set; }
Required. Spec for tool name
Property Value | |
---|---|
Type | Description |
string |