query_records
Fetch ServiceNow records from any table using filters, field selection, pagination, and sorting. Retrieve only 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 |