List project files
list_project_filesLists a project's source and configuration files from a given path, with pagination, enabling MCP agents to inspect .NET/Visual Studio project contents.
Instructions
Lists the source and configuration files of a project.
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": {
"projectPath": "<projectPath>"
},
"name": "list_project_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum items to return (default 500) | |
| offset | No | Items to skip before the first result | |
| projectPath | Yes | Project path relative to the workspace root, e.g. src/Api/Api.csproj |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||