Get Record
get_recordRetrieve a single ServiceNow table record by sys_id and optionally select fields or display values, so you can inspect exact record details without listing the full table.
Instructions
Get a single record from a ServiceNow table by sys_id.
If this is refused (401) while list_records works, call list_records with query="sys_id=<sys_id>" and limit=1 instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fields | No | Comma-separated list of fields to return | |
| sys_id | Yes | The sys_id of the record | |
| table_name | Yes | The ServiceNow table name | |
| display_value | No | 'false' (default) returns stored values; 'true' returns labels in place of sys_ids and choice values; 'all' returns {display_value, value} per field, which keeps the sys_id beside the name. query= still filters on stored values, not labels. With 'true' or 'all', dates come back in this identity's time zone and format | false |