build_mod
Builds Beat Saber mods using dotnet or MSBuild, returning diagnostics, output path, and timings; optionally packages BeatMods zips and deploys plugins into the game.
Instructions
Build a mod with dotnet (SDK-style) or MSBuild.exe (legacy). Returns diagnostics, target path and timings. Set package=true to also create the BeatMods zip and deploy=true to copy into the game.
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": {
"project": "<project>"
},
"name": "build_mod"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| deploy | No | ||
| prefer | No | auto | |
| target | No | Build | |
| package | No | ||
| project | Yes | ||
| restore | No | ||
| timeout | No | ||
| game_dir | No | ||
| properties | No | ||
| configuration | No | Debug | |
| no_incremental | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||