I fiddled around with mine because something was preventing the handle from triggering the latch mechanism.
My lock is broken off and the tangle of stuff was messing with things, especially when the window would knock against it all.
I had to open mine up last summer, tie the lock up, get everything nicely straightened away, and seal the lock hole, and then it worked fine.
I was in there again to lube the spring in May, and I used some zip ties instead of twist ties, but I did it too tight and the steel stick wire was not moving freely, so the handle stopped working again.
Anyway, I'm not sure if this makes much sense because I don't know the names for all the parts, but just play around with the latch area.
Toyota Parts Cheap.com
It's the remote control on the diagram in that link, but that doesn't make sense. Basically where all the stuff meets--lock and door handle stuff.