road.edit
Since next
Set or remove .road.json fields by dotted path (null removes), e.g.
{"markings.start": {"atS": 0}} for the start/finish chequer. Checked by the road parser: a bad path or value writes nothing. One change for revert. No set: shows the file.
| Title | Edit a road file |
| Mode | disk |
| Token cost | about 154 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. | ||
road | string | yes | The road entity, or a .road.json path | ||
scene | string | no | The scene file to act on. The open scene when absent. | ||
set | object | no | Dotted path to value; null removes |
Example
An MCP tools/call with the required arguments (placeholders in angle brackets).
{
"name": "road.edit",
"arguments": {
"road": "<road>"
}
}