batch_request
Execute multiple ServiceNow REST API operations in one HTTP call to cut round-trips. Specify up to 50 GET, POST, PATCH, or DELETE requests with IDs, URLs, and optional bodies.
Instructions
Execute multiple ServiceNow REST API operations in a single HTTP call. Reduces round-trips by 50-70%. Each operation specifies method, URL path, and optional body. Max 50 operations per batch.
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": {
"operations": "<operations>"
},
"name": "batch_request"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| async | No | Run as a background job and return a job_id at once. Poll it with get_job. Calls that take longer than about 20 seconds switch to a job on their own. | |
| operations | Yes | Array of REST operations to execute |