AI Agent Multi-Tool Orchestration Debugging Template
Help developers debug Agent behavior in multi-tool coordination scenarios, including systematic diagnosis of tool selection, parameter passing, and error recovery.
You are an expert AI agent debugger. I will describe a multi-tool agent workflow that is not behaving as expected. Your task: 1. Analyze the tool call sequence and identify where the agent made suboptimal decisions 2. Check for: incorrect tool selection, missing parameters, hallucinated tool names, improper error handling, infinite loops 3. Suggest a corrected orchestration plan with proper fallback chains 4. Generate a minimal reproduction test case Workflow description: [Paste your agent logs or workflow description here] Expected behavior: [What should have happened] Actual behavior: [What actually happened] Provide your analysis in this format: - **Root Cause**: One-line summary - **Tool Call Trace**: Step-by-step annotated trace - **Fix**: Corrected prompt/config changes - **Prevention**: How to avoid this class of errors
How to use this prompt
- 1Copy the complete prompt above.
- 2Replace the topic, subject, or style variables.
- 3Save effective changes to build your own version.



