list_table_records
List and search records from any ServiceNow table using technical names, with support for encoded queries, sorting, pagination, and field selection.
Instructions
List/search records in any ServiceNow table by technical name (e.g. "incident", "sys_user", "change_request"). query: ServiceNow encoded query (sysparm_query syntax), e.g. "active=true^priority=1". order_by: field name to sort by. order_desc: sort descending instead of ascending. limit: max records to return. offset: records to skip, for pagination. fields: restrict returned fields; omit for all fields. display_value: return human-readable display values for reference/choice fields.
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>"
},
"name": "list_table_records"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| query | No | ||
| table | Yes | ||
| fields | No | ||
| offset | No | ||
| order_by | No | ||
| order_desc | No | ||
| display_value | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |