Green’s Dictionary of Slang

nuts! excl.

(orig. US) a mild excl., nonsense! rubbish! not a chance!

[UK]Adventure Nov. 47/2: ‘Nuts!’ he said in deep scorn. ‘This regiment won the battle!’ [OED].
[US]D. Hammett ‘The First Thin Man’ in Nightmare Town (2001) 362: ‘What do you say you do some detective-story reviews for my page.’ [...] ‘You asked me that before,’ Guild said. ‘Nuts.’.
[US]J. Weidman What’s In It For Me? 151: ‘Nuts,’ I said, walking right past him.
[US]J. Evans Halo in Blood (1988) 84: Nuts. You can comb the rubber hose out of your eyebrows, Lieutenant.
[US]A. Zugsmith Beat Generation 104: Oh, nuts.
[US]M. Spillane Return of the Hood 20: Nuts, baby. Nobody’s hurryin’ Big Step.
[US]Fantastic Four Annual 44: Nuts! What’re they fightin’ us with now. . . flash-bulbs??
[UK]Beano Comic Library No. 182 37: Nuts! Sheriff!
[UK]M. Collins Keepers of Truth 268: He said ‘Nuts!’ when I said Sam wasn’t around.