Back to prompt library
Text · General-purpose LLMAI Agent Multi-Tool Orchestration Debugging TemplatePW
CreatorPrompt2 Editorial TeamCurated by PromptWhisper
TextGeneral-purpose LLMDevelopment & Engineering

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.

22Views
Full promptReplace variables in braces, then use it directly

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

4/6/2026

How to use this prompt

  1. 1Copy the complete prompt above.
  2. 2Replace the topic, subject, or style variables.
  3. 3Save effective changes to build your own version.