Show / Hide Table of Contents

Class SqlToolOutput

Specifies the output format for SQL tools, including the generated SQL statement and an optional preview of the query result.

Inheritance
object
ToolOutput
SqlToolOutput
Inherited Members
ToolOutput.ToolId
ToolOutput.ToolName
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.GenerativeaiagentruntimeService.Models
Assembly: OCI.DotNetSDK.Generativeaiagentruntime.dll
Syntax
public class SqlToolOutput : ToolOutput

Properties

AdditionalInfo

Declaration
[JsonProperty(PropertyName = "additionalInfo")]
public string AdditionalInfo { get; set; }
Property Value
Type Description
string

Specifies optional metadata content.

GeneratedSql

Declaration
[Required(ErrorMessage = "GeneratedSql is required.")]
[JsonProperty(PropertyName = "generatedSql")]
public string GeneratedSql { get; set; }
Property Value
Type Description
string

Specifies the generated SQL query.

Remarks

Required

Result

Declaration
[JsonProperty(PropertyName = "result")]
public List<object> Result { get; set; }
Property Value
Type Description
List<object>

Represents preview rows from the SQL query.

ResultFiles

Declaration
[JsonProperty(PropertyName = "resultFiles")]
public SqlResultFiles ResultFiles { get; set; }
Property Value
Type Description
SqlResultFiles
In this article
Back to top