AI SDK Kotlin
Toggle table of contents
0.3.0-beta01
common
Target filter
common
Switch theme
Search in API
Skip to content
AI SDK Kotlin
AI SDK Kotlin
/
ai.torad.aisdk
/
ToolResultOutput
/
ErrorJson
Error
Json
@
Serializable
@
SerialName
(
value
=
"error-json"
)
class
ErrorJson
(
val
json
:
JsonElement
)
:
ToolResultOutput
(
source
)
Since
0.3.0-beta01
Members
Members & Extensions
Constructors
Error
Json
Link copied to clipboard
constructor
(
json
:
JsonElement
)
Properties
json
Link copied to clipboard
val
json
:
JsonElement
Functions
is
Tool
Result
Error
Link copied to clipboard
fun
ToolResultOutput
.
isToolResultError
(
)
:
Boolean
to
Json
Element
Link copied to clipboard
fun
ToolResultOutput
.
toJsonElement
(
)
:
JsonElement