fn call_tool( name: &str, args: Value, tx: &Sender<ToolCall>, ctx: &Context, ) -> Result<Value, String>
Forward one tool call to the UI thread and wait for the reply.