set_game_directory
Writes BeatSaberDir and GameDirectory into your project files, .csproj.user, or Directory.Build.props so builds resolve the game install path correctly.
Instructions
Write BeatSaberDir and GameDirectory into the project, its .csproj.user, or Directory.Build.props. target=auto updates files that already define the property and otherwise creates a .csproj.user.
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": "set_game_directory"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | No | auto | |
| project | Yes | ||
| game_dir | No | ||
| set_reference_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||