manage_constraints
List active assembly constraints and error states, change a constraint’s offset or angle, or delete one to free held components; re-list after deletion because constraint numbers shift.
Instructions
List the active assembly's constraints with their numbers and offsets, flagging any in an error state; change one's offset or angle; or delete one. To add one use constrain. Editing reports every other component it dragged along. Deleting frees the components it held, and the numbers after it shift — list again before deleting another.
Args: action: "list", "edit" or "delete". index: For "edit" and "delete": the constraint's number from list. value: For "edit": the new offset in mm, or angle in degrees. A formula it held is replaced. undo_if_moved: For "edit": put the old value back if any other component would move.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "manage_constraints"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| index | No | ||
| value | No | ||
| action | No | list | |
| instance | No | Which connected Inventor to use (list_instances). Leave empty when only one is connected. | |
| undo_if_moved | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |