Skip to main content
Glama

MCP Diagnostics

by lin037

getDiagnosticsForFile

Retrieve detailed diagnostic information (errors, warnings, hints) for a specific file using its complete URI format. Essential for AI-assisted code analysis and error resolution within the Trae IDE environment.

Instructions

获取指定文件的诊断信息。⚠️ 注意:需要使用完整的workspace URI格式,如 "file:///workspace/src/index.ts"。如果不确定URI格式,建议使用 getDiagnosticsForPath 工具。

Input Schema

NameRequiredDescriptionDefault
fileUriYes完整的文件URI,必须使用 file:///workspace/ 开头的格式。示例:file:///workspace/src/index.ts

Input Schema (JSON Schema)

{ "additionalProperties": false, "properties": { "fileUri": { "description": "完整的文件URI,必须使用 file:///workspace/ 开头的格式。示例:file:///workspace/src/index.ts", "type": "string" } }, "required": [ "fileUri" ], "type": "object" }
Install Server

Other Tools from MCP Diagnostics

Related Tools

    MCP directory API

    We provide all the information about MCP servers via our MCP API.

    curl -X GET 'https://glama.ai/api/mcp/v1/servers/lin037/mcp-diagnostics-trae'

    If you have feedback or need assistance with the MCP directory API, please join our Discord server