sn_update
Update a ServiceNow record by providing table, sys_id, and field changes. Only specified fields are modified.
Instructions
Update a ServiceNow record by sys_id (PATCH — only the fields you provide are changed).
Examples: table="incident" sys_id="abc123" fields={state:"6", close_notes:"Resolved by restart"} table="sys_user" sys_id="xyz456" fields={title:"Senior Engineer", department:"Engineering"} table="sc_task" sys_id="def789" fields={assigned_to:"jane.doe", state:"2"}
Returns the updated record.
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": "sn_update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | Yes | ServiceNow table name | |
| sys_id | Yes | sys_id of the record to update | |
| fields | Yes | Field name → new value pairs (only changed fields needed) | |
| return_fields | No | Comma-separated fields to return after update |