Prompts Forms Resume Reports ★ Saved ★ Saved★ + Submit a tool

How do I build a layered failure checklist when an agent API won't connect?

When an agent won't connect, verify layer by layer from model calls and tool registration to the authentication chain, and produce a reproducible list of failure points. First determine whether the issue is the model's return format or the tool description; don't rush to change the prompt.

Diagnosis Software and engineering 🧩 Build an App Time: About half a day Cost: See official pricing 6 steps
1
Create a minimal reproduction script with only one tool definition and one user input; after it runs, add the real tools back one by one and identify which one starts failing
Cost: Free to start
Alternatives: Github Copilot · Qwen Lingma
2
Paste in the complete message array of the failed request and have it compare against the tool schema to find field name and type mismatches
Cost: Free
Alternatives: Kimi Moonshot AI · Zhipu
3
Rerun the same conversation in the platform's built-in debug panel, compare local and online logs, and locate environment variable or version differences
Cost: Free to start
Alternatives: Cursor · Qwen Lingma
4
秘塔AI搜索
Check the latest changes to the tool-calling format in the target model's official documentation and confirm you aren't using an old syntax
Cost: Free
5
Record each layer's verification result in a table: request, response, expected, actual; send it to integration colleagues to align on definitions
Cost: Free
Alternatives: Yuque · Shimo Docs AI
6
Fix the failure points item by item based on the layered results; rerun the minimal script after each fix and move to the next layer only after confirming that layer passes
Cost: Free to start
Alternatives: Github Copilot · Qwen Lingma
Common misreads Only changing the prompt without checking the tool schema keeps the model reporting missing parameters
Shipping as soon as it works locally; one missing environment variable online causes a direct 500
Logs only capture the final output; if the intermediate message array is lost, there's no way to review
Not rerunning the minimal script after a fix leaves old issues unresolved and adds new ones

More playbooks

All playbooks
Checklist Time: About 1 day On a price schedule, do I submit as soon as it's calculated or check it three times before stamping? The line items, tax rate, freight and total must all add up. First check whether tax-inclusive and tax-exclusive prices are mixed in the sheet, then cross-check, and deliver a price schedule you can stamp and submit. Manufacturing and export Decision guide Time: About 1 day On a technical deviation table, should I mark everything as no deviation or state each item honestly? If acceptance fails after you win, it's usually because the deviation table promised too much. Compare the tender's technical parameters with your product line by line, mark positive deviation, negative deviation or no deviation honestly, and first define which negative deviations are acceptable. Manufacturing and export Checklist Time: About half a day For a qualification compliance table, do I fill in the evidence first or check the commitment letters first? Fill in your own evidence and page numbers after each row so gaps are obvious at a glance. First check which clauses allow a commitment letter in place of supporting documents, then finalize the evidence list. Deliverable: one qualification compliance table you can hand straight to the bid team. Manufacturing and export Step-by-step flow Time: About 2 days For a new warehouse SOP, should I make a flowchart or a screenshot-based course? The SOP is only really done when a new hire can go through the course and start working. Cover the five steps - receiving, putaway, picking, checking and shipping - each with screenshots, and state in each step what counts as done right. Deliverable: one training course you can teach straight from. Logistics and supply chain