trim
Remove a line segment around a pick point, clipping it at the nearest crossings with a cutting line, polyline, or rectangle.
Instructions
Trim a straight line: remove the part of target around the point pick, up to the
nearest crossings with cutter (any line/polyline/rectangle).
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": {
"target": "<target>",
"cutter": "<cutter>",
"pick": "<pick>"
},
"name": "trim"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pick | Yes | ||
| cutter | Yes | ||
| target | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||