Gemini 2.5 Pro’s tool functionality is unreliable—even basic tasks like editing files fail, with the tool often claiming 'no changes' incorrectly

Try this custom model instruction and see if it improves, I’ve had good success with it: Gemini 2.5 pro 06-05 has issues with Edit & Reapply - #10 by yulin0629