Skip to main content

handle_request

Function handle_request 

Source
pub async fn handle_request(
    registry: &ToolRegistry,
    ctx: &ToolContext,
    request: &Value,
) -> Option<Value>
Expand description

Handle one JSON-RPC request against a ToolRegistry, returning the JSON-RPC response (or None for notifications that need no reply).