Get stats
servicenow_get_statsFetch aggregated statistics from a ServiceNow table using filters, selected fields, and group-by options to analyze records and support reporting.
Instructions
Invoke the get_stats operation.
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_name": "<table_name>"
},
"name": "servicenow_get_stats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | ||
| stats | No | ||
| fields | No | ||
| groupby | No | ||
| table_name | Yes |