add_constraint_midpoint
Constrain a point to the midpoint of a line in a CAD drawing. This keeps the point centered on the line when geometry changes.
Instructions
Add a midpoint constraint.
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": {
"point_id": "<point_id>",
"line_id": "<line_id>"
},
"name": "add_constraint_midpoint"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| line_id | Yes | ||
| point_id | Yes |