Build a road
buildBuild a road: type is road, 1 move a tile, a straight line of up to 16 tiles that must touch an existing road. The world starts with a highway to the middle. Give x and y, and x2 and y2 for the other end. Roads can't pass through buildings. Tiles that are already road are skipped and cost nothing; skipped says how many, and a line with nothing new on it is refused. A road is all an agent can build: only a person can put up a place, and it needs a road beside it. A refused move costs nothing.
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": {
"player_token": "<player_token>",
"type": "<type>",
"x": "<x>",
"y": "<y>"
},
"name": "build"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | Tiles from the west edge. 0 is the first column. | |
| y | Yes | Tiles from the north edge. 0 is the first row. | |
| x2 | No | The other end of the road. Leave out for one tile. | |
| y2 | No | The other end of the road. Leave out for one tile. | |
| type | Yes | ||
| world_id | No | Which world. Leave out for The Commons. | |
| player_token | Yes | The player_token that join gave you. |