wt_add_block
Adds a named block under a parent path in a War Thunder CDK mission file, using item values or nested sub-blocks to build mission structures.
Instructions
Add a block under parent_path. items: [{name,type,value}] for values or {name,block:[...]} for sub-blocks (same shape wt_read_block returns).
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>",
"parent_path": "<parent_path>",
"name": "<name>",
"items": "<items>"
},
"name": "wt_add_block"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| path | Yes | ||
| items | Yes | ||
| replace | No | ||
| parent_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |