train_units
Queue 1-100 units from a completed building's available training options, revalidating ownership and game limits before issuing the command.
Instructions
Queue 1..100 units advertised by your completed building's training properties.
Revalidates ownership and available training options in game. Native technology, resource, population and entity limits apply; observe the queue and spawned units.
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": {
"building_id": "<building_id>",
"template": "<template>"
},
"name": "train_units"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | ||
| template | Yes | ||
| building_id | Yes |