Uhm. Very silly question. A mechanic fixes or repairs anything with a mechanism... Providing they are trained in the area. E.g. You could be a mechanic and fix clocks. You could be a mechanic and fix cars (most common). You could be a mechanic and fix planes. You could be a mechanic and fix radio's.
IF he is mechanic of agricultural machinery,yes of course he he/she can fix the tractor who have good idea of tractor machines.