RESULT:
A needle and thread
My moves look erratic I'm a nut fanatic
My tail is distinctive My actions instinctive
Inside a leafy nest Is where I take my rest
What am I?