SQLRooms
@sqlrooms/ai / QueryToolOutput
Type Alias: QueryToolOutput
QueryToolOutput =
object
Properties
success
success:
boolean
data?
optionaldata:object
| Name | Type |
|---|---|
type | "query" |
summary | Record<string, unknown>[] | null |
firstRows? | Record<string, unknown>[] |
title
title:
string
sqlQuery
sqlQuery:
string
details?
optionaldetails:string
error?
optionalerror:string
showSql?
optionalshowSql:boolean
Whether to show the SQL query block in the renderer. Overrides the showSql option passed to createQueryToolRenderer. Defaults to the renderer's showSql option when not set (which itself defaults to true).