返回提示词库
文本 · 通用大模型AI Agent 多工具编排调试模板PW
创作者Prompt2 编辑部PromptWhisper 收录
文本通用大模型开发与工程

AI Agent 多工具编排调试模板

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

22浏览
完整提示词可替换花括号中的变量后直接使用

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

2026/4/6

如何使用这条提示词

  1. 1复制上方完整提示词。
  2. 2在对应模型中替换主题、人物或风格变量。
  3. 3生成后记录有效调整,形成自己的版本。