Query records
servicenow_query_recordsQuery a ServiceNow table using an encoded query to retrieve filtered records, with pagination and optional field selection.
Instructions
Query a ServiceNow table with an encoded query. Returns records plus pagination info (limit is capped at 500).
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": "servicenow_query_records"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| query | No | Encoded query, e.g. "active=true^priority=1" | |
| table | Yes | Table name, e.g. "incident" | |
| fields | No | Fields to return (recommended) | |
| offset | No | ||
| displayValue | No |