AutoTweaker API
Toggle table of contents
0.1.0-alpha.35+c07218c5
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
AutoTweaker API
AutoTweaker API
/
io.github.autotweaker.api.types.agent
/
AgentMessage
/
Tool
Tool
jvm
@
Serializable
sealed
class
Tool
:
AgentMessage
(
source
)
Inheritors
Call
Result
Members
Types
Call
Link copied to clipboard
jvm
@
Serializable
data
class
Call
(
val
id
:
UUID
,
val
timestamp
:
Instant
,
val
callId
:
String
,
val
name
:
String
,
val
arguments
:
String
,
val
reason
:
String
?
,
val
validatedArgs
:
JsonElement
?
)
:
AgentMessage.Tool
Result
Link copied to clipboard
jvm
@
Serializable
data
class
Result
(
val
id
:
UUID
,
val
timestamp
:
Instant
,
val
callId
:
String
,
val
content
:
String
,
val
status
:
ToolResultStatus
)
:
AgentMessage.Tool
Properties
call
Id
Link copied to clipboard
jvm
abstract
val
callId
:
String
id
Link copied to clipboard
jvm
@
Serializable
(
with
=
UuidSerializer::class
)
abstract
val
id
:
UUID
timestamp
Link copied to clipboard
jvm
@
Serializable
(
with
=
InstantLongSerializer::class
)
abstract
val
timestamp
:
Instant