PromptForge
Back to list
DEVELOPMENTagentdebuggingmulti-toolorchestration

AI Agent 多工具编排调试模板

帮助开发者调试多工具协调场景中的 Agent 行为,包括工具选择、参数传递、错误恢复等环节的系统化诊断

13 views4/6/2026

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