Skip to main content

dispatch_request

Function dispatch_request 

Source
pub async fn dispatch_request(
    request: &JsonRpcRequest,
    tool_specs: &[ToolSpec],
    tools: &ToolRegistry,
) -> Option<JsonRpcResponse>
Expand description

Dispatch a parsed JSON-RPC request and return a response. Returns None for notifications (no response needed).