sketch_line
Adds a straight line between two [x, y] points in a named sketch using millimeter coordinates to define sketch geometry for NX models.
Instructions
Add a straight line to a sketch.
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": {
"sketch": "<sketch>",
"start": "<start>",
"end": "<end>"
},
"name": "sketch_line"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | Yes | End point [x, y] in sketch coordinates (mm) | |
| start | Yes | Start point [x, y] in sketch coordinates (mm) | |
| sketch | Yes | Sketch name. |