add_line
Add a line segment to a Fusion 360 sketch by providing two endpoint coordinates in millimeters.
Instructions
Add a single line to a sketch. p1, p2 are [x, y] in mm.
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>",
"p1": "<p1>",
"p2": "<p2>"
},
"name": "add_line"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| p1 | Yes | ||
| p2 | Yes | ||
| sketch | Yes |