roslyn:get_project_structure
Retrieve the structure of a .NET solution or project, including project names, references, and optional document lists. Use filters to manage output for large solutions and avoid token limit errors.
Instructions
Get solution/project structure. IMPORTANT: For large solutions (100+ projects), use summaryOnly=true or projectNamePattern to avoid token limit errors. Maximum output is limited to 25,000 tokens.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "roslyn:get_project_structure"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| maxProjects | No | Maximum number of projects to return (e.g., 10 for large solutions) | |
| summaryOnly | No | Return only project names and counts (default: false, recommended for large solutions) | |
| includeDocuments | No | Include document lists (default: false, limited to 500 per project) | |
| includeReferences | No | Include package references (default: true, limited to 100 per project) | |
| projectNamePattern | No | Filter projects by name pattern (supports * and ? wildcards, e.g., '*.Application' or 'MyApp.*') |