McpAppBridge
constructor(client: McpClient, resource: McpAppResource, toolCallId: String, tool: JsonObject, host: McpAppHost, hostContext: JsonObject = JsonObject(emptyMap()), hostInfo: McpImplementation = McpImplementation("ai-elements-kotlin", "0.3.0"), send: suspend (JsonObject) -> Unit)(source)
Parameters
tool
the MCP Tool JSON of the call that shows the view (hostContext.toolInfo).
send
delivers one JSON-RPC message to the view.