pub fn call_tool(
socket: &Path,
name: &str,
args: Value,
timeout: Duration,
) -> Result<Value, Error>Expand description
Call a tool and return its result. A tool that fails comes back as
Error::Remote carrying the server-side error’s code and data; a
protocol error (unknown tool, bad arguments) as Error::Invalid or
Error::Protocol.