sketch_trim
Trim a sketch entity at the clicked X/Y point back to its nearest intersections, removing the pointed segment or deleting the entity if it crosses nothing.
Instructions
Trims the sketch entity through (x, y) in the open sketch back to its nearest intersections with other entities: the piece you point at is removed (like Trim to closest). An entity that crosses nothing is deleted entirely. Replaces the selection.
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": {
"x_mm": "<x_mm>",
"y_mm": "<y_mm>"
},
"name": "sketch_trim"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x_mm | Yes | ||
| y_mm | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |