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-ui
/
dev.ai.elements.ui.chat
/
AgentToolSpec
Agent
Tool
Spec
@
Immutable
data
class
AgentToolSpec
(
val
name
:
String
,
val
description
:
String
?
=
null
,
val
schema
:
String
?
=
null
)
(
source
)
A tool an agent can call;
schema
is its JSON input schema, if shown.
Members
Constructors
Agent
Tool
Spec
Link copied to clipboard
constructor
(
name
:
String
,
description
:
String
?
=
null
,
schema
:
String
?
=
null
)
Properties
description
Link copied to clipboard
val
description
:
String
?
name
Link copied to clipboard
val
name
:
String
schema
Link copied to clipboard
val
schema
:
String
?