AI Agent 多工具编排调试模板
帮助开发者调试多工具协调场景中的 Agent 行为,包括工具选择、参数传递、错误恢复等环节的系统化诊断
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
如何使用这条提示词
- 1复制上方完整提示词。
- 2在对应模型中替换主题、人物或风格变量。
- 3生成后记录有效调整,形成自己的版本。



