toggle menu
MCP Kotlin SDK
1.0-SNAPSHOT
jvm
switch theme
search in API
MCP Kotlin SDK
/
org.jetbrains.kotlinx.mcp
/
StopReason
Stop
Reason
@
Serializable
(
with
=
StopReasonSerializer::class
)
sealed
interface
StopReason
(
source
)
Inheritors
EndTurn
StopSequence
MaxTokens
Other
Members
Types
End
Turn
Link copied to clipboard
@
Serializable
data
object
EndTurn
:
StopReason
Max
Tokens
Link copied to clipboard
@
Serializable
data
object
MaxTokens
:
StopReason
Other
Link copied to clipboard
@
Serializable
@
JvmInline
value
class
Other
(
val
value
:
String
)
:
StopReason
Stop
Sequence
Link copied to clipboard
@
Serializable
data
object
StopSequence
:
StopReason
Properties
value
Link copied to clipboard
abstract
val
value
:
String