Run Newman collection
run_newman_collectionRuns local or remote Postman/Newman collections with configurable variables, timeouts, SSL settings, iterations, and state exports, enabling automated API tests and result capture.
Instructions
Runs a local or remote collection with full control over variables, timeouts, SSL, iterations, and state export.
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": {
"collectionSource": "<collectionSource>"
},
"name": "run_newman_collection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| folder | No | Folder(s) to run (--folder) | |
| envVars | No | Inline environment variables (--env-var) | |
| exports | No | Export files | |
| globalVars | No | Inline global variables (--global-var) | |
| sslOptions | No | SSL options | |
| globalsPath | No | Globals path (-g) | |
| iterationCount | No | Number of iterations (-n) | |
| environmentPath | No | Environment path (-e) | |
| collectionSource | Yes | Collection (path, https URL, or Postman UID) | |
| executionControl | No | Execution controls | |
| iterationDataPath | No | Iteration data path (-d) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| stats | Yes | ||
| aborted | Yes | ||
| success | Yes | ||
| timings | Yes | ||
| failures | Yes | ||
| truncated | Yes | ||
| consoleLogs | Yes | ||
| exportedFiles | Yes |