add_game_references
Adds Beat Saber game DLL references to a mod project, setting HintPaths from $(BeatSaberDir) so builds resolve required assemblies by name or preset.
Instructions
Add game DLL references to a project with HintPath rooted at $(BeatSaberDir). Use names=['Main','IPA.Loader'] or presets=['core','bsipa','bsml','sira','harmony','newtonsoft','zenject','all-managed','all-libs','all-plugins','all'].
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": "add_game_references"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | ||
| names | No | ||
| dry_run | No | ||
| presets | No | ||
| project | Yes | ||
| game_dir | No | ||
| hint_root | No | $(BeatSaberDir) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||