To make Tollen's reagent, add silver nitrate to a test tube, add a few drops of sodium hydroxide, and dilute ammonia until a pale brown precipitate forms.
The Tollen's reagent solution can also be used to distinguish between aldehydes and ketones, acting as an oxidizing agent to oxidize aldehydes but not ketones.
When using potassium cyanide, if hydrogen cyanide is used to produce cyanide ions, no acid is needed because hydrogen cyanide produces H+ ions which makes it acidic.
CN- comes from the potassium cyanide, it's a nucleophile because it's going to attack the Delta positive carbon and it has a lone pair of electrons that's the key factor there for a nucleophile.
The double bond in the aldehyde or ketone is going to break and two of the electrons from that double bond are going to enter into the oxygen, forming an O- intermediate.
The generic equation for the reaction of an aldehyde or ketone with potassium cyanide is: aldehyde or ketone plus potassium cyanide plus h+ ions results in a hydroxy nitrile and potassium ions that are floating around.
When using potassium cyanide, the lone pair of electrons on the oxygen go and attack the H+ ion that's floating around in solution, producing a hydroxy nitrile.
The mechanism for reducing aldehydes and ketones involves a hydride ion (H-) attacking the Delta positive carbon, forming an intermediate, and then hydrogenating the intermediate to form an alcohol.
The mechanism for forming secondary alcohols from aldehydes and ketones involves a hydride ion (H-) attacking the Delta positive carbon, forming an intermediate, and then hydrogenating the intermediate to form an alcohol.