spy_action
Move a spy unit to a target city or assign a spy mission such as counterspy, siphon funds, or steal tech boost. Coordinate with turn-based actions for effective espionage.
Instructions
Send a spy to a city or launch a spy mission.
Args:
unit_id: The spy's composite ID (from get_spies output)
action: 'travel' to move spy to a city, or a mission type to launch a mission.
Mission types: COUNTERSPY, GAIN_SOURCES, SIPHON_FUNDS, STEAL_TECH_BOOST,
SABOTAGE_PRODUCTION, GREAT_WORK_HEIST, RECRUIT_PARTISANS,
NEUTRALIZE_GOVERNOR, FABRICATE_SCANDAL
target_x: X coordinate of the target city tile
target_y: Y coordinate of the target city tile
Travel notes:
- Valid targets: your own cities and city-states only.
- Allied civ cities are NOT valid travel targets.
- Travel is queued end-of-turn; spy position updates after turn ends.
Mission notes:
- Spy must be physically IN the target city to launch any offensive mission.
- Use 'travel' first, then end the turn, then launch the mission.
- COUNTERSPY defends your own city (spy must be in your city).
- get_spies shows which ops are available at the spy's current location.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| unit_id | Yes | ||
| action | Yes | ||
| target_x | Yes | ||
| target_y | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |