handleMessage

abstract suspend fun handleMessage(jsonRequest: String): String

Handle one JSON-RPC request and return the JSON-RPC response string.


open suspend fun handleMessage(jsonRequest: String, clientLabel: String?): String

Handle a message attributing any tools/call to clientLabel for audit. Defaults to the unattributed form for implementations that don't audit.