create_record
Create a new record on any ServiceNow table to deploy business rules, script includes, REST APIs, and more. No table restrictions.
Instructions
Create a new record on any ServiceNow table. Use this to deploy solutions: Business Rules (sys_script), Script Includes (sys_script_include), Scripted REST APIs (sys_ws_definition + sys_ws_operation), UI Pages, or any other table. No table restrictions — the PDI is the sandbox.
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": "create_record"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | Yes | ServiceNow table name (e.g., 'sys_script', 'sys_ws_definition'). | |
| fields | Yes | Object of field name → value pairs. Field names are snake_case SN column names. Values can be strings, numbers, or booleans. |