wt_add_objective
Add a mission objective to a War Thunder CDK mission file by specifying its objective ID, display text, and primary status for mission scripting.
Instructions
Add a mission objective (abstractMissionObjective). BEST PRACTICE (from ExploreCargoPort): make objective_id the exact text you
want shown (spaces/punctuation allowed, names are quoted), leave text empty, keep primary=true; no csv is needed. If text differs
from the id it is written to usr_.csv. Show it at mission start with moSetObjectiveStatus status=1 (or moAddMissionObjective
with a unit/area to get a map icon); complete it with status 2.
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": {
"path": "<path>",
"objective_id": "<objective_id>"
},
"name": "wt_add_objective"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| text | No | ||
| primary | No | ||
| objective_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |