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-core
/
dev.ai.elements.core.mcp
/
toJson
to
Json
fun
McpTool
.
toJson
(
)
:
JsonObject
(
source
)
The tool as MCP
Tool
JSON (for an MCP App's
hostContext.toolInfo
).