sn_update
Update one ServiceNow record by its exact sys_id using policy-approved fields and profile; journal fields such as comments or work_notes add an entry.
Instructions
Update fields on exactly one record selected by canonical sys_id, on any table the configured policy grants for writes. At least one bounded approved field is required; journal fields (comments, work_notes) add an entry.
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>",
"profile": "<profile>"
},
"name": "sn_update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | Yes | Target table; must be granted for writes by the configured table policy | |
| fields | Yes | At least one field approved by the configured field policy. comments and work_notes add a journal entry; "" or null clears a field (e.g. {"state":"2","work_notes":"Investigating"}) | |
| sys_id | Yes | The exact 32-hex sys_id of the one record to update | |
| profile | Yes | Configured ServiceNow profile name (required; no default fallback). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| profile | Yes | Configured ServiceNow profile name (required; no default fallback). | |
| metadata | Yes |