Set Current Update Set
set_current_update_setSwitch to an In progress, non-Default update set so later changes are captured there, and return the previous working set for later restoration.
Instructions
Make an In progress, non-Default update set the user's working set: the application (apps.current_app) and the update set, saved for every later session, as nex update-set use does. The result is read back, and it reports the previous working set: put it back with restore_update_set when the work is done. This changes what captures the user's own later changes, in the UI and elsewhere.
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": {
"sys_id": "<sys_id>"
},
"name": "set_current_update_set"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Deprecated and ignored: the set is identified by sys_id, and its name is read back. | |
| sys_id | Yes | The sys_id of the In progress, non-Default update set to make current. | |
| 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. |