MCP Kotlin SDK
Toggle table of contents
0.7.0
common
Platform filter
common
Switch theme
Search in API
MCP Kotlin SDK
kotlin-sdk-core
/
io.modelcontextprotocol.kotlin.sdk
/
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