Answer: The diagnostics tool gets errors and warnings for either a specific file or the entire project, useful after making edits to determine if further changes are needed. When a path is provided, it shows all diagnostics for that specific file; when no path is provided, it shows a summary of error and warning counts for all files in the project. Status: Overdue (check was due 2026-11-20T13:39:02Z and has not succeeded) Entry: tool/zed/features/diagnostics-tool-behavior Revision: 1 Digest: sha256:e45a2ae85e79a30a (changes whenever the content changes) Timeline: Created: 2026-11-13T04:00:37Z Last changed: 2026-11-13T04:00:37Z Last verified: 2026-11-19T13:39:02Z Next check: 2026-11-20T13:39:02Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of tool purpose | Gets errors and warnings for either a specific file or the entire project | [1] | 2026-11-19 with path | shows all diagnostics for that specific file | [1] | 2026-11-19 without path | shows a summary of error and warning counts for all files in the project | [1] | 2026-11-19 Sources: [1] Zed Industries. "zed.dev/docs/ai/tools.md". https://zed.dev/docs/ai/tools.md Role: primary. Accessed: 2026-11-19T13:39:02Z Quote: "Gets errors and warnings for either a specific file or the entire project" (Supports: tool purpose) Quote: "When a path is provided, shows all diagnostics for that specific file." (Supports: with path) Quote: "When no path is provided, shows a summary of error and warning counts for all files in the project." (Supports: without path) Snapshot SHA-256: 7a1e8705e6605c20f02809e784514ccff47feb9344c8dc4c8c251ef01305d362 (captured 2026-11-13T04:00:36Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. On this check the text of [1] was unchanged since 2026-11-13T04:00:37Z, so the values verified then were kept. Cross-check: not-available at 2026-11-19T13:39:02Z. No independent second source is configured for this entry Last successful check: 2026-11-19T13:39:02Z Last attempt: 2026-11-19T13:39:02Z Notes and limitations: Extracted automatically from a single official source (section "`diagnostics`"). Human-readable page: https://zed.dev/docs/ai/tools.html Related: https://latestn.com/tool/zed/features/diff-formatting-whitespace Does Zed format diff files or remove trailing whitespace on save? https://latestn.com/tool/zed/features/elixir-debugging-setup How do I set up debugging for Elixir in Zed? https://latestn.com/tool/zed/features/enable-glsl-support How do I enable GLSL support in Zed? https://latestn.com/tool/zed/features/debug-swift-code How do I debug Swift code in Zed? https://latestn.com/tool/zed/features/debugger-supported-languages Which languages does Zed's debugger support? https://latestn.com/tool/zed/features/designing-custom-theme How do I design a custom theme for Zed? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T04:00:37Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/zed/features/diagnostics-tool-behavior/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/zed/features/diagnostics-tool-behavior POST: https://latestn.com/dispute/tool/zed/features/diagnostics-tool-behavior with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/zed/features/diagnostics-tool-behavior?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). What does the diagnostics tool do in Zed's agent and how does it differ with or without a path? Revision 1, last verified 2026-11-19T13:39:02Z. https://latestn.com/tool/zed/features/diagnostics-tool-behavior (accessed 2026-11-21T09:53:08Z). @misc{LatestN_tool_zed_features_diagnostics_tool_behavior_r1, title = {What does the diagnostics tool do in Zed's agent and how does it differ with or without a path?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/zed/features/diagnostics-tool-behavior}}, note = {Revision 1; digest sha256:e45a2ae85e79a30a; last verified 2026-11-19T13:39:02Z; accessed 2026-11-21T09:53:08Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/zed/features/diagnostics-tool-behavior