add_path
Draw roads or paths through specified points on a Wonderdraft map; out-of-bounds points are clamped to the map edge, with configurable style, width, color, roughness, and seed.
Instructions
Add a road/path along points; points outside the map are clamped to its edge (clamped = how many). style is one of Wonderdraft's path textures: path_blended, path_circle, path_dash, path_dash_dot, path_dash_dot_dot, path_directional, path_double_paired, path_hash_marks, path_solid, path_solid_outlined. width in px; roughness is the wobble (0 = smooth, ~0.3 default).
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": {
"points": "<points>"
},
"name": "add_path"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| seed | No | Random seed (0 to 2^32-1); the same seed gives the same result. | |
| color | No | ||
| style | No | path_blended | |
| width | No | ||
| points | Yes | ||
| roughness | No |