play.roads
Since next
Each road entity's centre line in WORLD space: samples {s, pos, tangent, halfWidth, curvature, bankRad}, length, closed, gates in lap order.
stepM thins the samples (default at most 400 a road).
| Title | Road geometry |
| Mode | editor |
| Token cost | about 128 tokens (listed only when its toolset is enabled) |
| Toolset | measure |
Arguments
| Argument | Type | Required | Default | Allowed values | Description |
|---|---|---|---|---|---|
agent | string | no | The name of the agent making the call, when several agents share one connection: each named agent is its own actor and plays its own game. Leave it out when there is one agent. | ||
id | string | no | One road entity; every road when absent | ||
stepM | number | no | Metres between samples |
Example
An MCP tools/call with the required arguments (placeholders in angle brackets).
{
"name": "play.roads",
"arguments": {}
}