AI Elements for Kotlin
Toggle table of contents
Android
Target filter
Android
Switch theme
Search in API
Skip to content
AI Elements for Kotlin
ai-elements-chat
/
dev.ai.elements.core.model
/
ToolKind
/
Delegation
Delegation
@
Serializable
@
SerialName
(
value
=
"delegation"
)
data
class
Delegation
(
val
agent
:
String
?
=
null
,
val
task
:
String
?
=
null
)
:
ToolKind
(
source
)
Hands
task
to another agent (
agent
); its run arrives as
ToolPart.subagent
.
Members
Constructors
Delegation
Link copied to clipboard
constructor
(
agent
:
String
?
=
null
,
task
:
String
?
=
null
)
Properties
agent
Link copied to clipboard
val
agent
:
String
?
task
Link copied to clipboard
val
task
:
String
?