Batch request
servicenow_batch_requestBatch multiple ServiceNow REST API requests into a single call to reduce round trips and return combined responses.
Instructions
Sends multiple REST API requests in a single call.
:param batch_request_id: ID that identifies the batch of requests. :type batch_request_id: str :param rest_requests: List of request objects to include in the batch request. :type rest_requests: list
:return: Response containing the batch results. :rtype: Response
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": {
"rest_requests": "<rest_requests>"
},
"name": "servicenow_batch_request"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rest_requests | Yes | ||
| batch_request_id | No |