Get a record
table_getFetch a single ServiceNow record by table and sys_id, optionally returning full long-text fields and display labels; password fields are redacted.
Instructions
Get one record by table and sys_id. Long text fields are cut at the configured length; name them in fullFields to read them whole (e.g. script). Password fields are redacted. Use record_lookup first if you only have a number or name.
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>",
"sysId": "<sysId>"
},
"name": "table_get"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sysId | Yes | The record sys_id (32 hex characters). | |
| table | Yes | Table name, e.g. incident or cmdb_ci_server. | |
| fields | No | Field names to return (dot-walking allowed, e.g. caller_id.name). Default: all. | |
| instance | No | Instance alias from the config (see instance_list). Defaults to the default instance. | |
| fullFields | No | Fields to return without truncation, e.g. ["script"]. | |
| displayValue | No | raw = stored values, display = labels, both (default) = value and label when they differ. |