Move Update Set Records
move_update_set_recordsMove selected or all records from a source update set into a target update set by sys_id, then query sys_update_xml to confirm the result.
Instructions
Move records from one update set to another, by sys_id or all records of a source set.
WARNING: this is unverified: any HTTP 200 counts as moved, nothing is read back, and it does not check the same-application rule, newer captures elsewhere, or duplicates in the target. Prefer move_update_set_capture, which checks all of those and reads the move back; if you use this, query sys_update_xml afterwards.
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_update_set_id": "<target_update_set_id>"
},
"name": "move_update_set_records"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| instance | No | The ServiceNow instance auth alias to connect to. This is the alias configured via `snc configure` (e.g., "myinstance", "prod", "test"). The user will typically refer to this by name when saying things like "on my myinstance instance". If not provided, falls back to the SN_AUTH_ALIAS environment variable. | |
| record_sys_ids | No | Specific sys_ids of sys_update_xml records to move. If omitted and source_update_set is provided, moves all records from the source. | |
| source_update_set | No | The sys_id of the source update set to move all records FROM. Used when record_sys_ids is not specified. | |
| target_update_set_id | Yes | The sys_id of the update set to move records TO. |