get_units
Retrieve your civilization's units including position, type, movement, and health, with IDs for issuing action commands.
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 |