query_records
Retrieve ServiceNow records from any table with filtering, field selection, sorting, and pagination. Define query parameters to get exactly the data you need.
Instructions
Query ServiceNow records with filtering, field selection, pagination, and sorting
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max records (default: 10, max: 1000) | |
| query | No | Encoded query string (e.g., "active=true^priority=1") | |
| table | Yes | Table name (e.g., "incident", "change_request") | |
| fields | No | Comma-separated fields to return | |
| orderBy | No | Field to sort by. Prefix with "-" for descending |