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