Text this: Tailoring Scaffolding to Diagnostic Strategies: Theory-Informed LLM-Based Agents