fetch_sn_records
Query ServiceNow tables with encoded queries and field selection. Ideal for checking staging results, verifying migrations, or retrieving incidents.
Instructions
Query any ServiceNow table — useful for checking staging table results, verifying migrations, or fetching incidents.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"table": "<table>"
},
"name": "fetch_sn_records"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | Yes | ServiceNow table name | |
| query | No | sysparm_query encoded string (e.g. priority=1^active=true) | |
| fields | No | Comma-separated field names to return | |
| limit | No | ||
| display_value | No |