read_source_games
Finds the installed Left 4 Dead 2 game from Steam library and manifest files instead of a hard-coded path, then reports its instance path, FGDs, and available stock compilers.
Instructions
Left 4 Dead 2 as installed here, discovered from Steam's own files rather than from a hard-coded path: libraryfolders.vdf for the libraries, appmanifest_550.acf for the app, and left4dead2/gameinfo.txt for its name, its SteamAppId, its .fgd files and its instance path. Reports which stock compilers are present. This fork supports no other game, so other Source installs are not listed.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "read_source_games"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| game | Yes | The one profile this fork resolves: l4d2. | |
| note | Yes | ||
| games | Yes | ||
| libraries | Yes | ||
| steamRoots | Yes | Deduplicated by realpath: ~/.steam/steam is usually a symlink. |