Here is a great rat trap that can be used outdoors. Rats eat fruits from my trees so I am going to make this one
https://www.youtube.com/watch?v=PkD6xUJNqQg
Now THAT is a great way to catch rat vermin.
He has good pointers about catching rats etc.. That looks to be improved as he points out from the open box design.
We have some huge squirrels out back but the only one that seemed inclined for confined places like that rat trap jumped into my lawnmower once without bait.