Skip to main content

handle_jsonrpc_message

Function handle_jsonrpc_message 

Source
pub fn handle_jsonrpc_message(
    message: &str,
    qpu_enabled: bool,
    llm_enabled: bool,
) -> Option<String>
Expand description

Handle one JSON-RPC message — initialize, tools/list, tools/call, resources/list — returning the response text, or None for notifications/unparseable input (which get no reply).