Skip to main content
Server path: /servicenow-table | Type: Application | PCID required: Yes

Tools

ToolDescription
servicenow_table_create_recordCreate a record in a table
servicenow_table_delete_recordDelete a record
servicenow_table_get_recordGet a single record by sys_id
servicenow_table_list_recordsList records from a table
servicenow_table_patch_recordPartially update a record
servicenow_table_replace_recordReplace a record (full update)

servicenow_table_create_record

Create a record in a table Parameters:
ParameterTypeRequiredDefaultDescription
tableNamestringYesName of the table (e.g., incident, problem, change_request)
sysparm_display_valuestringNoReturn display values (true), actual values (false), or both (all)
sysparm_fieldsstringNoComma-separated fields to include in the response
sysparm_input_display_valuebooleanNoSet field values using display values rather than actual values. Default: false
bodyobjectYesRecord fields to set. Keys are field names (e.g., short_description, priority, assignment_group), values are the field values.

servicenow_table_delete_record

Delete a record Parameters:
ParameterTypeRequiredDefaultDescription
tableNamestringYesName of the table
sys_idstringYesUnique system identifier of the record to delete

servicenow_table_get_record

Get a single record by sys_id Parameters:
ParameterTypeRequiredDefaultDescription
tableNamestringYesName of the table
sys_idstringYesUnique system identifier (32-character hex string) of the record
sysparm_display_valuestringNoReturn display values (true), actual values (false), or both (all)
sysparm_fieldsstringNoComma-separated fields to return
sysparm_exclude_reference_linkbooleanNoExclude reference links in the response

servicenow_table_list_records

List records from a table Parameters:
ParameterTypeRequiredDefaultDescription
tableNamestringYesName of the table to query (e.g., incident, task, change_request, cmdb_ci)
sysparm_querystringNoEncoded query string (e.g., ‘state=1^priority=2’ or ‘short_descriptionLIKEserver’)
sysparm_limitintegerNoMaximum number of records to return
sysparm_offsetintegerNoStarting index for pagination
sysparm_fieldsstringNoComma-separated list of fields to return (e.g., ‘sys_id,number,short_description’)
sysparm_display_valuestringNoReturn display values (true), actual values (false), or both (all). Default: false
sysparm_exclude_reference_linkbooleanNoExclude reference links in the response. Default: false
sysparm_viewstringNoUI view to determine which fields to return

servicenow_table_patch_record

Partially update a record Parameters:
ParameterTypeRequiredDefaultDescription
tableNamestringYesName of the table
sys_idstringYesUnique system identifier of the record to update
sysparm_display_valuestringNoReturn display values (true), actual values (false), or both (all)
sysparm_fieldsstringNoComma-separated fields to include in the response
sysparm_input_display_valuebooleanNoSet field values using display values rather than actual values
bodyobjectYesFields to update. Only specified fields are changed; others remain unchanged.

servicenow_table_replace_record

Replace a record (full update) Parameters:
ParameterTypeRequiredDefaultDescription
tableNamestringYesName of the table
sys_idstringYesUnique system identifier of the record to replace
sysparm_display_valuestringNoReturn display values (true), actual values (false), or both (all)
sysparm_fieldsstringNoComma-separated fields to include in the response
sysparm_input_display_valuebooleanNoSet field values using display values rather than actual values
bodyobjectYesComplete set of record fields. All writable fields not provided will be reset to defaults.