pub fn tools_call_params(tool: &str, arguments: Value) -> ValueExpand description
Build the params object for a JSON-RPC tools/call request.
Why: keeps the MCP {"name": <tool>, "arguments": <args>} convention in
exactly one place — a typo’d key here (e.g. "args") would silently
break every trusty-memory write, which is precisely the failure class
#2424 is about.
What: wraps tool and arguments into the MCP tools/call params
shape trusty-memory’s dispatcher expects.
Test: tests::tools_call_params_shape.