Function dispatch

Source
fn dispatch(req: &Value, tx: &Sender<ToolCall>, ctx: &Context) -> Option<Value>
Expand description

One JSON-RPC request → response (None for notifications).