dotnet_build
Builds the .NET solution or project for a Godot 4.x game, returning structured compiler diagnostics to help fix build errors.
Instructions
Build the .NET solution/project of a Godot 4.x game and return structured compiler diagnostics
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": "dotnet_build"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | No | Optional: specific .sln or .csproj file name within the project directory | |
| projectPath | Yes | Path to the Godot project directory | |
| configuration | No | Optional: MSBuild configuration, Debug or Release (defaults to Release) | |
| maxDiagnostics | No | Optional: maximum diagnostics to return (defaults to 200) |