Look up a record
record_lookupConvert a record number or display value into its ServiceNow sys_id. Exact matches only; ambiguous values return candidate references.
Instructions
Turn a record number (e.g. INC0010001) or a display value (e.g. a user's name) into the record's sys_id. A sys_id is checked and echoed back. Exact match only; more than one match returns REFERENCE_AMBIGUOUS with candidates.
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>",
"value": "<value>"
},
"name": "record_lookup"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | Yes | Table name, e.g. incident or cmdb_ci_server. | |
| value | Yes | A record number, a display value, or a sys_id. | |
| instance | No | Instance alias from the config (see instance_list). Defaults to the default instance. |