check_campaign
Validates a campaign's chapters, maps, images, numbering, and mode coverage against referenced files, reporting missing assets and an overall verdict.
Instructions
Checks a campaign against the files it references: every chapter's .bsp exists in a maps directory or in a VPK, every chapter image exists under materials/vgui, chapter numbering has no gaps, and every mode has chapters. Reports findings and an overall verdict; it does not refuse. The game's own campaigns can be checked in place by passing vpk: left4dead2/pak01_dir.vpk and the mission entry.
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": "check_campaign"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vpk | No | VPK holding the mission, e.g. pak01_dir.vpk. | |
| path | No | Mission .txt on disk. | |
| vpks | No | Further VPKs whose entries count as present. | |
| entry | No | Entry inside the VPK, e.g. missions/campaign1.txt. | |
| mapsDirs | No | Directories holding <map>.bsp. Defaults from the mission's location. | |
| materialsDirs | No | materials/ directories. Defaults from the mission's location. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| modes | Yes | ||
| counts | Yes | ||
| source | Yes | ||
| checked | Yes | ||
| overall | Yes | ||
| findings | Yes | ||
| chapterCount | Yes |