update_record
Update existing records in any ServiceNow table with a dry-run option to preview before→after field changes.
Instructions
Update an existing record in any ServiceNow table (requires WRITE_ENABLED=true). Pass dry_run=true to preview a before→after field diff without writing.
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>",
"fields": "<fields>"
},
"name": "update_record"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | Yes | Table name (e.g., "incident", "sys_user_preference") | |
| fields | Yes | Key-value pairs of fields to update | |
| sys_id | Yes | 32-character system ID of the record to update | |
| dry_run | No | Preview only — return a before→after diff without updating the record |