pub fn build_rpc_params(route: &FacadeRoute, body: &[u8], query: &str) -> ValueExpand description
Build RPC params JSON from the HTTP request body and route params.
For GET requests with query strings, extracts count parameter.
For DELETE /api/agents/:pid, injects the PID into stop params.
For POST endpoints, passes the body through.