query_records
Retrieve ServiceNow records by querying tables with filters, field selection, pagination, and sorting to obtain targeted data.
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 |