Update ServiceNow record
servicenow_update_recordUpdate fields on an existing ServiceNow record by table and sys_id, with an optional non-mutating plan preview before applying changes.
Instructions
Update fields on an existing record identified by its sys_id.
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": {
"table": "<table>",
"sys_id": "<sys_id>",
"values": "<values>"
},
"name": "servicenow_update_record"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| apply | No | true executes; omitted: a non-mutating plan preview (SN_WRITE_MODE=apply executes by default). | |
| table | Yes | Table, e.g. 'incident'. | |
| sys_id | Yes | Record sys_id. | |
| values | Yes | Field name/value pairs to change. | |
| instance | No | Profile (default active) | |
| update_set | No | In-progress update set (sys_id or exact name) to capture the write in, restored after. Default SN_UPDATE_SET; data rows are never captured. | |
| inputDisplayValue | No | Values are display values the instance resolves (sysparm_input_display_value); default false: raw. | |
| expected_mod_count | No | sys_mod_count from the plan's apply_with; with apply, a changed record is refused (STALE_RECORD). |