get_units
List all active units with position, type, movement, health, and command IDs. Excludes consumed units such as settlers that founded cities.
Instructions
List all your units with position, type, movement, and health.
Each unit shows its id and idx (needed for action commands). Consumed units (e.g. settlers that founded cities) are excluded.
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": "get_units"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |