move_operations
Reorder Mastercam operations by placing selected IDs before, after, or into a toolpath group while preserving their relative order, then return the updated sequence.
Instructions
Reorder operations (they keep their order among themselves). Returns the new order.
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": {
"ids": "<ids>"
},
"name": "move_operations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | Yes | ||
| after | No | Put them after this operation id | |
| before | No | Put them before this operation id | |
| group_id | No | Move them to the end of this toolpath group (they get new ids: see new_ids) |