query_records
Query ServiceNow records with filtering, field selection, pagination, and sorting. Retrieve data from any table using encoded queries.
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 |