war-thunder-cdk
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| WT_DIR | No | The War Thunder game folder, i.e. the one that contains `UserMissions` and `WarThunderCDK`. Defaults to the Windows Steam path `C:\Program Files (x86)\Steam\steamapps\common\War Thunder`. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| wt_list_catalogA | List valid mission-editor element names. kind: actions | conditions | events | misObjs | units | waypoints. filter: case-insensitive substring. These are the ONLY names valid in trigger events/conditions/actions. |
| wt_get_schemeC | Parameters of one action/condition/event/unit type: name, type, default, options, whether optional (extensible). |
| wt_list_missionsA | List .blk mission files in the game's UserMissions folder (relative paths usable by the other tools). |
| wt_list_levelsA | List locations (levels) available: CDK levels plus the game's levels/*.bin. Use as mission_settings.mission.level, e.g. 'levels/bulge.bin'. |
| wt_summarize_missionB | High-level summary of a mission: settings, player, units, areas/waypoints, triggers, objectives. path: absolute or relative to UserMissions. |
| wt_read_blockB | Read part of a BLK file as JSON. block_path is dotted, e.g. 'mission_settings.mission' or 'triggers.mission_start'. '' = whole file. Names are matched first-occurrence; units/areas/triggers are looked up by block name. |
| wt_validate_missionA | Check a mission: required settings, player wing exists, duplicate names, every trigger event/condition/action is a real type with valid parameters/enum values, and referenced targets exist. Run after every edit. |
| wt_new_missionB | Create an empty mission file. level e.g. 'levels/bulge.bin' (see wt_list_levels). name must be globally unique. |
| wt_set_valueB | Set (or add) one value in a block. type is the BLK type: t=text, i=int, r=real, b=bool, p2/p3=vectors (list), m=matrix. Example: block_path='mission_settings.player', name='wing', type='t', value='player'. |
| wt_add_blockC | Add a block under parent_path. items: [{name,type,value}] for values or {name,block:[...]} for sub-blocks (same shape wt_read_block returns). |
| wt_removeC | Remove the first block or value called |
| wt_add_areaC | Add a zone/waypoint to |
| wt_add_unitB | Add a unit (unit_type from wt_list_catalog('units'), e.g. armada=aircraft, tankModels=ground, ships...). unit_class is the vehicle id (e.g. 'p-39n'), weapons the loadout id (e.g. 'p_39_n_default'). props: extra values for the unit's props block (name->value; type inferred: bool/int/float/str). set_as_player makes it mission_settings.player.wing. |
| wt_add_squadA | Group existing areas (unit_type='area_squad') or units ('squad') under one name. Needed for spawns: add the spawn zones with wt_add_area, group them here, then point missionMarkAsRespawnPoint.target at the squad name. |
| wt_add_player_wingsA | Create the player slots a PvP/custom-battle mission needs: per team A/B, |
| wt_configure_multiplayerA | Make the mission a custom-battle/PvP mission (gt_mp_solo, allowEmptyTeams, ranks, allowed unit types, time/score limits). time_limit_min/score_limit 0 = effectively endless (for 24/7 servers). Still needs a dummy player wing, respawn points (missionMarkAsRespawnPoint) and a missionBattleArea. |
| wt_add_triggerB | Add a trigger. events/conditions/actions are lists of {"type": , "params": {...}}; params are validated against the scheme (unknown names / bad enum values are rejected, defaults filled in). If events is empty, periodicEvent(1s) is used. Example action: {"type":"missionMarkAsWaypoint","params":{"target":"waypoint01","visible":true,"primary":true}}. actions_type: PERFORM_ONE_BY_ONE | PERFORM_ALL ; conditions_type: ALL | ANY. |
| wt_add_objectiveA | Add a mission objective (abstractMissionObjective). BEST PRACTICE (from ExploreCargoPort): make |
| wt_build_custom_battleA | One-call RECIPE (proven in a live custom battle): 24/7 PvP mission with per-team PvP spawns around (pvp_x, pvp_z), a far-away
'chill' spawn zone where weapons are disabled (per-player enter/leave hints), infinite ammo outside it, 16+16 player wings per team
and 8 always-visible decorative objectives named |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 19 tools
Most tools target distinct operations (read_block vs add_block vs set_value vs remove), and the domain-specific adders (add_area, add_unit, add_trigger, add_objective) are clearly separated. Some overlap exists between the generic block tools and the specialized adders, and wt_build_custom_battle duplicates a whole chain of other tools, but descriptions make the intended usage clear.
All tools share a wt_ prefix and snake_case verb_noun pattern (wt_add_unit, wt_list_levels, wt_validate_mission), which is highly predictable. Minor deviations like wt_remove (verb only) and wt_new_mission using 'new' instead of 'add'/'create' keep it just shy of perfect.
19 tools is on the heavier side, but each maps to a genuinely distinct operation in a complex schema-driven mission editor (catalog lookup, block CRUD, entity adders, multiplayer setup, validation). Nothing feels obviously redundant except the composite wt_build_custom_battle, which is justified as a recipe.
The surface covers the full lifecycle: list levels/missions, create, read, summarize, edit blocks/values, add units/areas/squads/triggers/objectives, configure multiplayer, validate, and a one-call build recipe. Gaps are minor — no explicit mission delete/rename or targeted trigger/unit edit beyond generic block operations, which agents can work around.