toJson

fun toJson(): JsonObject(source)

As MCP McpUiResourceCsp JSON (the host's hostCapabilities.sandbox.csp).