sn_create
Create a record in any ServiceNow table by specifying the table name and field-value pairs. Returns the new record including its sys_id.
Instructions
Create a record in any ServiceNow table via the Table API.
Examples: table="incident" fields={short_description:"Server down", priority:"1", category:"hardware"} table="sc_task" fields={short_description:"Provision laptop", assigned_to:"john.doe"} table="sys_user" fields={user_name:"jsmith", first_name:"John", last_name:"Smith", email:"j@co.com"} table="u_my_custom_table" fields={u_field:"value"}
Returns the created record including 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>",
"fields": "<fields>"
},
"name": "sn_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | Yes | ServiceNow table name (e.g. "incident", "sc_task", "sys_user") | |
| fields | Yes | Field name → value pairs to set on the new record | |
| return_fields | No | Comma-separated fields to return (default: all) |