get_file_overview
Summarize a C# file's contents: list defined types and compiler diagnostics without reading the full source. Handles .cs and .razor/.cshtml files, resolving markup to its generated C# document.
Instructions
Get a summary of a C# file: which types are defined in it and any compiler diagnostics. Useful for quickly understanding a file's contents without reading it. Also accepts .razor/.cshtml markup, resolving it to the C# document its source generator produced.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"filePath": "<filePath>"
},
"name": "get_file_overview"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | Yes | Full path to the source file (.cs, or .razor/.cshtml) |