Get project targets
get_project_targetsReturns a project's target frameworks and output type from its project path, helping you verify .NET build targets and output configuration before building or inspecting dependencies.
Instructions
Returns the target frameworks and output type 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": "get_project_targets"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectPath | Yes | Project path relative to the workspace root, e.g. src/Api/Api.csproj |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||